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 Jan 6, 2017
1 parent 33cd0aa commit 38b18e3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 191 deletions.
1 change: 0 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@ rules:
assert-fail-single-argument: 2
assert-throws-arguments: [2, { requireTwo: false }]
new-with-error: [2, Error, RangeError, TypeError, SyntaxError, ReferenceError]
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 38b18e3

Please sign in to comment.