Commit 71b7d46cd69bd74f5412843024f71516a68a004f

Michael Schmidt 2021-10-14T13:59:51

ESLint: Added `regexp/prefer-{plus,question,star}-quantifier` rules (#3152)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/.eslintrc.js b/.eslintrc.js
index 1737156..bd8946a 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -76,6 +76,9 @@ module.exports = {
 		'regexp/no-trivially-nested-quantifier': 'warn',
 		'regexp/no-useless-character-class': 'warn',
 		'regexp/no-useless-lazy': 'warn',
+		'regexp/prefer-plus-quantifier': 'warn',
+		'regexp/prefer-question-quantifier': 'warn',
+		'regexp/prefer-star-quantifier': 'warn',
 		'regexp/prefer-w': 'warn',
 		'regexp/sort-alternatives': 'warn',
 		'regexp/sort-flags': 'warn',