Files
tldr/pages/common/eslint.md
T
4760bf1262 *: improve more info links and add option placeholders part 5 (#19564)
* batch

* Update pages/common/audacious.md

Co-authored-by: Ivan Baluta <50071699+ivanbaluta@users.noreply.github.com>

---------

Co-authored-by: Ivan Baluta <50071699+ivanbaluta@users.noreply.github.com>
Co-authored-by: Sahil Afrid Farookhi <msafarookhi@gmail.com>
2025-11-24 16:29:54 -06:00

460 B

eslint

A pluggable linting utility for JavaScript and JSX. More information: https://eslint.org/docs/latest/use/command-line-interface.

  • Create the ESLint configuration file:

eslint --init

  • Lint one or more files:

eslint {{path/to/file1.js path/to/file2.js ...}}

  • Fix lint issues:

eslint --fix

  • Lint using the specified configuration file:

eslint {{[-c|--config]}} {{path/to/config_file}} {{path/to/file1.js path/to/file2.js ...}}