mirror of https://github.com/CrimsonTome/tldr.git
eslint: add page (#1617)
commit
af085efc39
|
@ -0,0 +1,19 @@
|
|||
# eslint
|
||||
|
||||
> A pluggable linting utility for JavaScript and JSX.
|
||||
|
||||
- Create eslint config:
|
||||
|
||||
`eslint --init`
|
||||
|
||||
- Lint on 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