create eslint.md

initial
This commit is contained in:
Michal 2020-04-15 18:07:54 +02:00 committed by Starbeamrainbowlabs
parent 4818ca04be
commit b0f7b04e8b

20
pages.pl/common/eslint.md Normal file
View File

@ -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}}`