Skip to content

Commit f0c71d7

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 <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
1 parent b7c872a commit f0c71d7

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)