Commit 5cf0157b authored by Prince J Wesley's avatar Prince J Wesley Committed by Rich Trott
Browse files

tools: Add no useless regex char class rule

Eslint Rule:
Disallow useless escape in regex character class
with optional override characters option and auto
fixable with eslint --fix option.

Usage:
no-useless-regex-char-class-escape: [2, { override: ['[', ']'] }]

PR-URL: https://github.com/nodejs/node/pull/9591


Reviewed-By: default avatarTeddy Katz <teddy.katz@gmail.com>
parent 0f4c7b8c
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment