1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 15:22:08 +02:00
tldr/pages/common/eslint.md
Vitor Henrique af35564618
pages*: do not use config abbreviation (#12118)
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2024-01-25 10:59:16 +05:30

20 lines
402 B
Markdown

# eslint
> A pluggable linting utility for JavaScript and JSX.
> More information: <https://eslint.org>.
- 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 {{path/to/config_file}} {{path/to/file1.js path/to/file2.js}}`