From 631cf72e82f316a2cc08770e5c81b858637ab04a Mon Sep 17 00:00:00 2001 From: Andy Edwards Date: Mon, 17 Oct 2022 15:33:50 -0500 Subject: [PATCH] docs: note --ignore-path not supported with flat config (#16434) fix #16433 --- docs/src/user-guide/command-line-interface.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/src/user-guide/command-line-interface.md b/docs/src/user-guide/command-line-interface.md index c8ddefe0f21..0b48a0d64af 100644 --- a/docs/src/user-guide/command-line-interface.md +++ b/docs/src/user-guide/command-line-interface.md @@ -298,6 +298,8 @@ This option is helpful if you are using another program to format your code but #### `--ignore-path` +**Note:** `--ignore-path` is not supported when using flat config (`eslint.config.js`). + 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. Example: