We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
ESLintUtils.RuleCreator
new-cap
1 parent c50cdff commit 5356bf9Copy full SHA for 5356bf9
1 file changed
index.js
@@ -54,7 +54,7 @@ const config = {
54
],
55
'max-classes-per-file': ['error', 1],
56
'max-statements-per-line': ['error', { max: 1 }],
57
- 'new-cap': 'error',
+ 'new-cap': ['error', { capIsNewExceptions: ['ESLintUtils.RuleCreator'] }],
58
'no-alert': 'warn',
59
'no-array-constructor': 'error',
60
'no-await-in-loop': 'error',
0 commit comments