ESLint with YAML
Tip
Learn more about:
YAML parameters for ESlint
Name | Type | Description |
---|---|---|
action Required | String | The name of the action. |
type Required | String | The type of the action. Should be set to ESLINT . |
version Required | String | The version of the NodeJS. |
style Required | String | The 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_path | String | Required if style is set to custom . Path to the style config file. |
fix | Boolean | Defines whether to automatically fix code issues or just perform the code analyse. |
quiet | Boolean | When set to true , reports only errors, without warnings. |
YAML example for ESlint
yamlactions: - action: "ESLint analyse" type: "ESLINT" version: "9.4.0" style: "airbnb" fix: true quiet: true
Last modified on Sep 24, 2024