Skip to content

Commit 631cf72

Browse files
authored
docs: note --ignore-path not supported with flat config (#16434)
fix #16433
1 parent 1692840 commit 631cf72

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

docs/src/user-guide/command-line-interface.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,8 @@ This option is helpful if you are using another program to format your code but
298298

299299
#### `--ignore-path`
300300

301+
**Note:** `--ignore-path` is not supported when using flat config (`eslint.config.js`).
302+
301303
This option allows you to specify the file to use as your `.eslintignore`. By default, ESLint looks in the current working directory for `.eslintignore`. You can override this behavior by providing a path to a different file.
302304

303305
Example:

0 commit comments

Comments
 (0)