Skip to content

Commit

Permalink
ESLint: Added regexp/prefer-d rule (#3153)
Browse files Browse the repository at this point in the history
  • Loading branch information
RunDevelopment committed Oct 19, 2021
1 parent a6a4ce7 commit ccc02a5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .eslintrc.js
Expand Up @@ -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',
Expand Down

0 comments on commit ccc02a5

Please sign in to comment.