Closed
Description
eslint/eslint#17656 added support for meta.defaultOptions
in rules and mentions in the docs that Ajv's useDefaults
option might be disabled in the future. See also https://github.com/eslint/rfcs/blob/main/designs/2023-rule-options-defaults/README.md:
This RFC proposes removing the
useDefaults: true
setting in a future major version of ESLint.
To prepare for that, a new ESLint rule could warn against using default
in meta.schema
already.
Metadata
Metadata
Assignees
Labels
No labels