mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-10-26 12:46:05 +03:00
eslint: update page (#10254)
This commit is contained in:
parent
8ef06c89d2
commit
7e68788818
@ -17,4 +17,4 @@
|
||||
|
||||
- Linte mit einer Konfigurationsdatei:
|
||||
|
||||
`eslint -c {{pfad/zu/konfigurationsdatei}} {{pfad/zu/quellordner}`
|
||||
`eslint -c {{pfad/zu/konfigurationsdatei}} {{pfad/zu/datei1.js pfad/zu/datei2.js ...}`
|
||||
|
@ -17,4 +17,4 @@
|
||||
|
||||
- Esegui il linting utilizzando un determinato file di configurazione:
|
||||
|
||||
`eslint -c {{percorso/del/file_config}} {{percorso/del/sorgente}}`
|
||||
`eslint -c {{percorso/del/file_config}} {{percorso/del/file1.js percorso/del/file2.js ...}}`
|
||||
|
@ -1,20 +1,20 @@
|
||||
# eslint
|
||||
|
||||
> Podłączane narzędzie lintowania dla JavaScript i JSX.
|
||||
> Rozszerzalne narzędzie lintowania dla JavaScript i JSX.
|
||||
> Więcej informacji: <https://eslint.org>.
|
||||
|
||||
- Stwórz eslint config:
|
||||
- Stwórz plik konfiguracyjny ESlint:
|
||||
|
||||
`eslint --init`
|
||||
|
||||
- Lint na danym zestawie plików:
|
||||
- Lintuj jeden lub więcej plików:
|
||||
|
||||
`eslint {{ścieżka/do/pliku1.js ścieżka/do/pliku2.js ...}}`
|
||||
|
||||
- Napraw lint issues:
|
||||
- Napraw wykryte problemy:
|
||||
|
||||
`eslint --fix`
|
||||
|
||||
- Lint z config:
|
||||
- Lintuj używając podanego pliku konfiguracyjnego:
|
||||
|
||||
`eslint -c {{ścieżka/do/pliku_konfiguracyjnego}} {{ścieżka/do/źródła}}`
|
||||
`eslint -c {{ścieżka/do/pliku_konfiguracyjnego}} {{ścieżka/do/pliku1.js ścieżka/do/pliku2.js}}`
|
||||
|
@ -3,11 +3,11 @@
|
||||
> A pluggable linting utility for JavaScript and JSX.
|
||||
> More information: <https://eslint.org>.
|
||||
|
||||
- Create ESLint config:
|
||||
- Create the ESLint config file:
|
||||
|
||||
`eslint --init`
|
||||
|
||||
- Lint on a given set of files:
|
||||
- Lint one or more files:
|
||||
|
||||
`eslint {{path/to/file1.js path/to/file2.js ...}}`
|
||||
|
||||
@ -15,6 +15,6 @@
|
||||
|
||||
`eslint --fix`
|
||||
|
||||
- Lint with config:
|
||||
- Lint using the specified config:
|
||||
|
||||
`eslint -c {{path/to/config_file}} {{path/to/source}}`
|
||||
`eslint -c {{path/to/config_file}} {{path/to/file1.js path/to/file2.js}}`
|
||||
|
Loading…
Reference in New Issue
Block a user