Knowledge

ESLint

Parameters

Name Description
name Required String The name of the action.
trigger_time Required String Specifies when the action should be executed. Can be one of ON_EVERY_EXECUTION, ON_FAILURE or ON_BACK_TO_SUCCESS.
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
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.

Example

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

Get started now

14 days of unlimited trial. No credit card required.