Skip to content

Commit 8df4dee

Browse files
BridgeARtargos
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 0b4056c commit 8df4dee

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
@@ -370,16 +370,6 @@ export default [
370370
},
371371
],
372372

373-
// Stylistic rules.
374-
'@stylistic/js/no-mixed-operators': [
375-
'error',
376-
{
377-
groups: [
378-
['&&', '||'],
379-
],
380-
},
381-
],
382-
383373
// Custom rules in tools/eslint-rules.
384374
'node-core/alphabetize-errors': 'error',
385375
'node-core/alphabetize-primordials': 'error',

0 commit comments

Comments
 (0)