Skip to content

Commit

Permalink
docs: fix typo in command-line-interface.md (#16871)
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinRouchut committed Feb 8, 2023
1 parent 337f7ed commit 67aa37b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/use/command-line-interface.md
Expand Up @@ -171,7 +171,7 @@ This option allows you to specify which file extensions ESLint uses when searchi
* **Multiple Arguments**: Yes
* **Default Value**: `.js` and the files that match the `overrides` entries of your configuration.

`--ext` is only used when the the patterns to lint are directories. If you use glob patterns or file names, then `--ext` is ignored. For example, `npx eslint "lib/*" --ext .js` matches all files within the `lib/` directory, regardless of extension.
`--ext` is only used when the patterns to lint are directories. If you use glob patterns or file names, then `--ext` is ignored. For example, `npx eslint "lib/*" --ext .js` matches all files within the `lib/` directory, regardless of extension.

##### `--ext` example

Expand Down

0 comments on commit 67aa37b

Please sign in to comment.