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
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -121,7 +121,7 @@ Miscellaneous:
121
121
122
122
#### `--no-eslintrc`
123
123
124
-
Disables use of configuration from `.eslintrc.*` and `package.json` files.
124
+
**eslintrc Mode Only.**Disables use of configuration from `.eslintrc.*` and `package.json` files. For flat config mode, use `--no-config-lookup` instead.
125
125
126
126
***Argument Type**: No argument.
127
127
@@ -150,7 +150,7 @@ If `.eslintrc.*` and/or `package.json` files are also used for configuration (i.
150
150
151
151
#### `--env`
152
152
153
-
This option enables specific environments.
153
+
**eslintrc Mode Only.**This option enables specific environments.
154
154
155
155
***Argument Type**: String. One of the available environments.
This option allows you to specify which file extensions ESLint uses when searching for target files in the directories you specify.
169
+
**eslintrc Mode Only.**This option allows you to specify which file extensions ESLint uses when searching for target files in the directories you specify.
errorMessage+="\nYou're using eslint.config.js, some command line flags are no longer available. Please see https://eslint.org/docs/latest/use/command-line-interface for details.";
0 commit comments