Skip to content

Commit

Permalink
tools: remove no-useless-regex-char-class-escape
Browse files Browse the repository at this point in the history
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 <teddy.katz@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
  • Loading branch information
Trott authored and MylesBorins committed Jul 31, 2017
1 parent e5ca046 commit 5505777
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 191 deletions.
1 change: 0 additions & 1 deletion .eslintrc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,6 @@ rules:
# Custom rules in tools/eslint-rules
align-multiline-assignment: 2
assert-throws-arguments: [2, { requireTwo: true }]
no-useless-regex-char-class-escape: [2, { override: ['[', ']'] }]

# Global scoped method and vars
globals:
Expand Down
190 changes: 0 additions & 190 deletions tools/eslint-rules/no-useless-regex-char-class-escape.js

This file was deleted.

0 comments on commit 5505777

Please sign in to comment.