ESLint with YAML

YAML parameters for ESlint

You can find the list with common parameters for all Buddy actions here.

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