mirror of
https://github.com/nodejs/node.git
synced 2026-11-26 21:58:26 -05:00
lib: remove no-mixed-operators eslint rule
The rule often makes code less readable by requiring the additional brackets. PR-URL: https://github.com/nodejs/node/pull/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>
This commit is contained in:
1 parent
0b4056c573
commit
8df4dee38c
1 file changed
-10
@@ -370,16 +370,6 @@ export default [
|
||||
},
|
||||
],
|
||||
|
||||
// Stylistic rules.
|
||||
'@stylistic/js/no-mixed-operators': [
|
||||
'error',
|
||||
{
|
||||
groups: [
|
||||
['&&', '||'],
|
||||
],
|
||||
},
|
||||
],
|
||||
|
||||
// Custom rules in tools/eslint-rules.
|
||||
'node-core/alphabetize-errors': 'error',
|
||||
'node-core/alphabetize-primordials': 'error',
|
||||
|
||||
Reference in new issue
Block a user