Skip to content

no-deprecated-api: Configure which APIs to prevent #58

@feross

Description

@feross

I'd like to add this plugin to standard so we can use the no-deprecated-api rule. But I don't want to prevent people from using APIs that were deprecated in v7, for example, because that's an unstable version, and things may be un-deprecated.

Could we add a way to configure the rule to select which APIs to prevent? Manually specifying the individual rules is fine, or we could base it on the version that the feature was deprecated in. So I could say something like "no-deprecated-api": ["error", 4] or "no-deprecated-api": ["error", 6].

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions