1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-07 18:06:02 +02:00

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