Skip to content

Rule suggestion: no-meta-schema-default #498

Closed
@FloEdelmann

Description

@FloEdelmann

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions