fix: group &&
, ||
and ?:
(#152)
This commit is contained in:
parent
1b0dc92b90
commit
44bcb19269
@ -126,7 +126,7 @@ module.exports = {
|
|||||||
'no-mixed-operators': ['error', {
|
'no-mixed-operators': ['error', {
|
||||||
groups: [
|
groups: [
|
||||||
['==', '!=', '===', '!==', '>', '>=', '<', '<='],
|
['==', '!=', '===', '!==', '>', '>=', '<', '<='],
|
||||||
['&&', '||'],
|
['&&', '||', '?:'],
|
||||||
['in', 'instanceof'],
|
['in', 'instanceof'],
|
||||||
],
|
],
|
||||||
allowSamePrecedence: true,
|
allowSamePrecedence: true,
|
||||||
|
Loading…
Reference in New Issue
Block a user