Skip to content

Commit 7162d34

Browse files
nzakasmdjermanovicamareshsm
authoredApr 7, 2023
docs: Mention new config system is complete (#17068)
* docs: Mention new config system is complete * Fix typo Co-authored-by: Amaresh S M <amareshsm13@gmail.com> --------- Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com> Co-authored-by: Amaresh S M <amareshsm13@gmail.com>
1 parent a1d561d commit 7162d34

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed
 

‎docs/src/use/configure/configuration-files-new.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ eleventyNavigation:
99
---
1010

1111
::: warning
12-
This is an experimental feature. To opt-in, place an `eslint.config.js` file in the root of your project or set the `ESLINT_USE_FLAT_CONFIG` environment variable to `true`. To opt-out, even in the presence of an `eslint.config.js` file, set the environment variable to `false`. If you are using the API, you can use the configuration system described on this page by using the `FlatESLint` class, the `FlatRuleTester` class, or by setting `configType: "flat"` in the `Linter` class.
12+
This config system is feature complete but not enabled by default. To opt-in, place an `eslint.config.js` file in the root of your project or set the `ESLINT_USE_FLAT_CONFIG` environment variable to `true`. To opt-out, even in the presence of an `eslint.config.js` file, set the environment variable to `false`. If you are using the API, you can use the configuration system described on this page by using the `FlatESLint` class, the `FlatRuleTester` class, or by setting `configType: "flat"` in the `Linter` class.
1313
:::
1414

1515
You can put your ESLint project configuration in a configuration file. You can include built-in rules, how you want them enforced, plugins with custom rules, shareable configurations, which files you want rules to apply to, and more.

‎docs/src/use/configure/configuration-files.md

+4
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ eleventyNavigation:
88

99
---
1010

11+
::: warning
12+
We are transitioning to a new config system in ESLint v9.0.0. The config system shared on this page is currently the default but will be deprecated in v9.0.0. You can opt-in to the new config system by following the instructions in the [documentation](configuration-files-new).
13+
:::
14+
1115
You can put your ESLint project configuration in a configuration file. You can include built-in rules, how you want them enforced, plugins with custom rules, shareable configurations, which files you want rules to apply to, and more.
1216

1317
## Configuration File Formats

0 commit comments

Comments
 (0)
Please sign in to comment.