Skip to content

Commit 801c490

Browse files
committed
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 e4c4745 commit 801c490

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.eslintrc.js

Lines changed: 1 addition & 0 deletions
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)