diff options
author | Vse Mozhet Byt <vsemozhetbyt@gmail.com> | 2018-08-12 17:10:26 +0300 |
---|---|---|
committer | Vse Mozhet Byt <vsemozhetbyt@gmail.com> | 2018-08-12 19:45:52 +0300 |
commit | 801c490033d5a16c0995bb131398689407a74231 (patch) | |
tree | bc4ca2d62ddf742cb5e43eb21eb284e99f404076 /.eslintrc.js | |
parent | e4c4745a20db9e6315470683e526e1448d8db834 (diff) | |
download | android-node-v8-801c490033d5a16c0995bb131398689407a74231.tar.gz android-node-v8-801c490033d5a16c0995bb131398689407a74231.tar.bz2 android-node-v8-801c490033d5a16c0995bb131398689407a74231.zip |
tools: add no-misleading-character-class ESLint rule
Refs: https://eslint.org/docs/rules/no-misleading-character-class
PR-URL: https://github.com/nodejs/node/pull/22278
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to '.eslintrc.js')
-rw-r--r-- | .eslintrc.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.eslintrc.js b/.eslintrc.js index 98568dd9bc..c212513393 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -110,6 +110,7 @@ module.exports = { 'no-invalid-regexp': 'error', 'no-irregular-whitespace': 'error', 'no-lonely-if': 'error', + 'no-misleading-character-class': 'error', 'no-mixed-requires': 'error', 'no-mixed-spaces-and-tabs': 'error', 'no-multi-spaces': ['error', { ignoreEOLComments: true }], |