ESLint with YAML

YAML parameters for ESlint

NameTypeDescription
action
Required
StringThe name of the action.
type
Required
StringThe type of the action. Should be set to ESLINT.
version
Required
StringThe version of the NodeJS.
style
Required
StringThe name of the code style. Can be one of airbnb, canonical, canonical/ava, canonical/flowtype, canonical/jest, canonical/lodash, canonical/mocha, canonical/react, eslint, es/2015/server, es/2015/client, facebook, google, standard, xo, xo/esnext, xo/browser or custom.
config_pathStringRequired if style is set to custom. Path to the style config file.
fixBooleanDefines whether to automatically fix code issues or just perform the code analyse.
quietBooleanWhen set to true, reports only errors, without warnings.

YAML example for ESlint

actions:
- action: "ESLint analyse"
  type: "ESLINT"
  version: "9.4.0"
  style: "airbnb"
  fix: true
  quiet: true

Last modified on April 26, 2022

Questions?

Not sure how to configure a pipeline for your process? Reach out on the live-chat or contact support

Get Started

Sign up for free and deploy your project in less than 10 minutes.