mirror of
https://github.com/nodejs/node.git
synced 2026-10-14 10:26:26 -04:00
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>
This commit is contained in:
1 parent
e4c4745a20
commit
801c490033
1 file changed
+1
@@ -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 }],
|
||||
|
||||
Reference in new issue
Block a user