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
- Update: Wildcard support for the new-cap rule (fixes #5187) — committed to diki/eslint by diki 8 years ago
- Update: Wildcard support for the new-cap rule (fixes #5187) — committed to diki/eslint by diki 8 years ago
- Update: Wildcard support for the new-cap rule (fixes #5187) — committed to diki/eslint by diki 8 years ago
- Update: Add regex support for exceptions (fixes #5187) — committed to annie/eslint by annie 8 years ago
- Update: Add regex support for exceptions (fixes #5187) — committed to annie/eslint by annie 8 years ago
- Update: Add regex support for exceptions (fixes #5187) — committed to annie/eslint by annie 8 years ago
i can continue work on this since that PR was never merged!