eslint: update page (#10254)
This commit is contained in:
@@ -3,11 +3,11 @@
|
||||
> A pluggable linting utility for JavaScript and JSX.
|
||||
> More information: <https://eslint.org>.
|
||||
|
||||
- Create ESLint config:
|
||||
- Create the ESLint config file:
|
||||
|
||||
`eslint --init`
|
||||
|
||||
- Lint on a given set of files:
|
||||
- Lint one or more files:
|
||||
|
||||
`eslint {{path/to/file1.js path/to/file2.js ...}}`
|
||||
|
||||
@@ -15,6 +15,6 @@
|
||||
|
||||
`eslint --fix`
|
||||
|
||||
- Lint with config:
|
||||
- Lint using the specified config:
|
||||
|
||||
`eslint -c {{path/to/config_file}} {{path/to/source}}`
|
||||
`eslint -c {{path/to/config_file}} {{path/to/file1.js path/to/file2.js}}`
|
||||
|
Reference in New Issue
Block a user