mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-30 07:15:29 +02:00

* eslint: update path placeholder --------- Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com> Co-authored-by: Marco Bonelli <marco@mebeim.net>
20 lines
346 B
Markdown
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}}`
|