Skip to main content

ESLint - Run

The run action runs the ESLint linter against the javascript source code.

ESLint Configuration

The run action follows the standard ESLint configuration naming conventions.

Configuration file priority order is as follows:

  1. .eslintrc.js
  2. .eslintrc.cjs
  3. .eslintrc.yaml
  4. .eslintrc.yml
  5. .eslintrc.json
  6. package.json

See Configuration File Formats for more details.

Nested configuration

If you have nested sources with individual ESLint configurations use the root: true option in your top-level ESLint configuration file to disable nested configs.

See Cascading and Hierarchy for more details.

tip

Ignore nested source files that require alternative ESLint configurations to avoid unnecessary failures.