Skip to content

Add wildcard support to new-cap: capIsNewExceptions #5187

@SimonSchick

Description

@SimonSchick

In some cases it would be nice to be able to specify to ignore a whole library for instance.

I ran into this problem when using sequelize types.

eg.

        type: {
            type: Sequelize.ENUM('something'), // <- error here
            allowNull: false,
        },

Metadata

Metadata

Assignees

No one assigned

    Labels

    acceptedThere is consensus among the team that this change meets the criteria for inclusionarchived due to ageThis issue has been archived; please open a new issue for any further discussionenhancementThis change enhances an existing feature of ESLintgood first issueGood for people who haven't worked on ESLint beforehelp wantedThe team would welcome a contribution from the community for this issueruleRelates to ESLint's core rules

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions