Skip to content

Commit 8918744

Browse files
Trottitaloacasas
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. PR-URL: #10561 Reviewed-By: Teddy Katz <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Sam Roberts <[email protected]>
1 parent 1634a70 commit 8918744

File tree

2 files changed

+0
-191
lines changed

2 files changed

+0
-191
lines changed

.eslintrc

-1
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,6 @@ rules:
124124
assert-fail-single-argument: 2
125125
assert-throws-arguments: [2, { requireTwo: false }]
126126
new-with-error: [2, Error, RangeError, TypeError, SyntaxError, ReferenceError]
127-
no-useless-regex-char-class-escape: [2, { override: ['[', ']'] }]
128127

129128
# Global scoped method and vars
130129
globals:

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

-190
This file was deleted.

0 commit comments

Comments
 (0)