Commit 42fabfeab2794b46baba6dabe59f0cf0b1d2916f

Michael Schmidt 2021-06-17T22:29:51

ESLint: Enabled `no-dupe-disjunctions` rule (#2951)

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/.eslintrc.js b/.eslintrc.js
index fe17c46..7aa1d05 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -57,7 +57,7 @@ module.exports = {
 
 		// regexp
 		'regexp/no-assertion-capturing-group': 'error',
-		// 'regexp/no-dupe-disjunctions': 'error',
+		'regexp/no-dupe-disjunctions': 'error',
 		'regexp/no-empty-alternative': 'error',
 		'regexp/no-empty-lookarounds-assertion': 'error',
 		'regexp/no-lazy-ends': 'error',