You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/src/use/command-line-interface.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -171,7 +171,7 @@ This option allows you to specify which file extensions ESLint uses when searchi
171
171
***Multiple Arguments**: Yes
172
172
***Default Value**:`.js` and the files that match the`overrides` entries of your configuration.
173
173
174
-
`--ext` is only used when thethepatterns 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.
174
+
`--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.