Skip to content

Commit 222e7ee

Browse files
committed
Disallow useless backreferences in regular expressions (no-useless-backreference)
Fixes standard/standard#1554
1 parent f158b09 commit 222e7ee

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

eslintrc.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
"rules": {
2929
"no-loss-of-precision": "error",
3030
"default-case-last": "error",
31+
"no-useless-backreference": "error",
3132

3233
"accessor-pairs": "error",
3334
"array-bracket-spacing": ["error", "never"],

0 commit comments

Comments
 (0)