update eslint

updated
This commit is contained in:
Michal
2020-04-15 19:28:19 +02:00
committed by Starbeamrainbowlabs
parent dd3a7a90c9
commit 98c964e66f

View File

@@ -1,20 +1,20 @@
# eslint # eslint
> A pluggable linting utility for JavaScript and JSX. > Podłączane narzędzie lintowania dla JavaScript i JSX.
> More information: <https://eslint.org>. > Więcej informacji: <https://eslint.org>.
- Create eslint config: - Stwórz eslint config:
`eslint --init` `eslint --init`
- Lint on a given set of files: - Lint na danym zestawie plików:
`eslint {{filename}}.js {{filename1}}.js` `eslint {{filename}}.js {{filename1}}.js`
- Fix lint issues: - Napraw lint issues:
`eslint --fix` `eslint --fix`
- Lint with config: - Lint z config:
`eslint -c {{path/to/config_file}} {{app/src}}` `eslint -c {{path/to/config_file}} {{app/src}}`