ESLint: Added `regexp/prefer-d` rule (#3153)
This commit is contained in:
parent
a6a4ce7e2e
commit
ccc02a55fd
|
@ -78,6 +78,7 @@ module.exports = {
|
|||
'regexp/no-useless-flag': 'warn',
|
||||
'regexp/no-useless-lazy': 'warn',
|
||||
'regexp/no-useless-range': 'warn',
|
||||
'regexp/prefer-d': ['warn', { insideCharacterClass: 'ignore' }],
|
||||
'regexp/prefer-plus-quantifier': 'warn',
|
||||
'regexp/prefer-question-quantifier': 'warn',
|
||||
'regexp/prefer-star-quantifier': 'warn',
|
||||
|
|
Loading…
Reference in New Issue