1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-30 10:55:30 +02:00
tldr/pages/common/eslint.md
K.B.Dharun Krishna d9c66f9c66
eslint: update path placeholder (#10228)
* eslint: update path placeholder

---------

Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
Co-authored-by: Marco Bonelli <marco@mebeim.net>
2023-05-19 09:29:50 +05:30

20 lines
346 B
Markdown

# eslint
> A pluggable linting utility for JavaScript and JSX.
> More information: <https://eslint.org>.
- Create ESLint config:
`eslint --init`
- Lint on a given set of files:
`eslint {{path/to/file1.js path/to/file2.js ...}}`
- Fix lint issues:
`eslint --fix`
- Lint with config:
`eslint -c {{path/to/config_file}} {{path/to/source}}`