diff --git a/.eslintrc.js b/.eslintrc.js index 426001a33a..6d5edc392f 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -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',