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.

PR-URL: nodejs#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 committed Jul 19, 2017
1 parent ddc8050 commit 13308b2
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 @@ -162,7 +162,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 13308b2

Please sign in to comment.