LOTP

eslint

cli config-file eval-js

References

Eslint’s uses a JavaScript configuration file.

In recent Eslint versions, it will load any of the following configuration files in the following order depending on the package.json module type:

In Eslint <9.0.0, it will load the first found configuration file in the following order:

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