Skip to content

Commit 342b5a0

Browse files
BridgeARaduh95
authored andcommitted
lib: remove no-mixed-operators eslint rule
The rule often makes code less readable by requiring the additional brackets. PR-URL: #58375 Refs: https://eslint.org/docs/latest/rules/no-mixed-operators Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
1 parent cff8006 commit 342b5a0

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

lib/eslint.config_partial.mjs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -366,16 +366,6 @@ export default [
366366
},
367367
],
368368

369-
// Stylistic rules.
370-
'@stylistic/js/no-mixed-operators': [
371-
'error',
372-
{
373-
groups: [
374-
['&&', '||'],
375-
],
376-
},
377-
],
378-
379369
// Custom rules in tools/eslint-rules.
380370
'node-core/alphabetize-errors': 'error',
381371
'node-core/alphabetize-primordials': 'error',

0 commit comments

Comments
 (0)