Skip to content

Commit 80dd044

Browse files
vsemozhetbytrvagg
authored andcommitted
tools: add no-misleading-character-class ESLint rule
Refs: https://eslint.org/docs/rules/no-misleading-character-class PR-URL: #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>
1 parent d0b0ea9 commit 80dd044

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.eslintrc.js

+1
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ module.exports = {
110110
'no-invalid-regexp': 'error',
111111
'no-irregular-whitespace': 'error',
112112
'no-lonely-if': 'error',
113+
'no-misleading-character-class': 'error',
113114
'no-mixed-requires': 'error',
114115
'no-mixed-spaces-and-tabs': 'error',
115116
'no-multi-spaces': ['error', { ignoreEOLComments: true }],

0 commit comments

Comments
 (0)