Skip to content

Commit

Permalink
Fixes #1885: JSON schema for useFlatConfig can be more specific (#1890)
Browse files Browse the repository at this point in the history
  • Loading branch information
dbaeumer authored Jun 24, 2024
1 parent e39707f commit 5314666
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@
},
"eslint.useFlatConfig": {
"scope": "resource",
"type": "boolean",
"type": [ "boolean", "null"],
"default": null,
"markdownDescription": "Controls whether flat config should be used or not. This setting requires ESLint version 8.57 or later and is interpreted according to the [ESLint Flat Config rollout plan](https://eslint.org/blog/2023/10/flat-config-rollout-plans/). This means:\n\n - *8.57.0 <= ESLint version < 9.x*: setting is honored and defaults to false\n- *9.0.0 <= ESLint version < 10.x*: settings is honored and defaults to true\n- *10.0.0 <= ESLint version*: setting is ignored. Flat configs are the default and can't be turned off."
},
Expand Down

0 comments on commit 5314666

Please sign in to comment.