ESLint with YAML

YAML parameters for ESlint

NameTypeDescription
action RequiredStringThe name of the action.
type RequiredStringThe type of the action. Should be set to ESLINT.
version RequiredStringThe version of the NodeJS.
style RequiredStringThe 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

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

Last modified on Sep 24, 2024