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:
- .eslintrc.js
- .eslintrc.cjs
- .eslintrc.yaml
- .eslintrc.yml
- .eslintrc.json
- 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.