Skip to content

Commit 5505777

Browse files
TrottMylesBorins
authored andcommitted
tools: remove no-useless-regex-char-class-escape
The `no-useless-regex-char-class-escape` custom lint rule was introduced as a less aggressive alternative to some enhancements that were introduced into ESLint. Those enhancements were blocking us from updating ESLint. However, they have since been relaxed and the custom rule is no longer needed. Remove it. Backport-PR-URL: #14360 PR-URL: #10561 Reviewed-By: Teddy Katz <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Sam Roberts <[email protected]>
1 parent e5ca046 commit 5505777

File tree

2 files changed

+0
-191
lines changed

2 files changed

+0
-191
lines changed

.eslintrc.yaml

-1
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,6 @@ rules:
165165
# Custom rules in tools/eslint-rules
166166
align-multiline-assignment: 2
167167
assert-throws-arguments: [2, { requireTwo: true }]
168-
no-useless-regex-char-class-escape: [2, { override: ['[', ']'] }]
169168

170169
# Global scoped method and vars
171170
globals:

tools/eslint-rules/no-useless-regex-char-class-escape.js

-190
This file was deleted.

0 commit comments

Comments
 (0)