eslint: Add wildcard support to new-cap: capIsNewExceptions

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,
        },

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 27 (21 by maintainers)

Commits related to this issue

Most upvoted comments

i can continue work on this since that PR was never merged!