mirror of https://github.com/CrimsonTome/tldr.git
parent
4818ca04be
commit
b0f7b04e8b
|
@ -0,0 +1,20 @@
|
|||
# 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 {{filename}}.js {{filename1}}.js`
|
||||
|
||||
- Fix lint issues:
|
||||
|
||||
`eslint --fix`
|
||||
|
||||
- Lint with config:
|
||||
|
||||
`eslint -c {{path/to/config_file}} {{app/src}}`
|
Loading…
Reference in New Issue