mirror of
https://github.com/garraflavatra/yeslint.git
synced 2025-01-18 11:27:59 +00:00
Added no-lonely-if
rule to generic config
This commit is contained in:
parent
251589f71d
commit
e17e0a76e4
@ -196,6 +196,7 @@ const generic = {
|
|||||||
'never',
|
'never',
|
||||||
],
|
],
|
||||||
'no-nested-ternary': 'error',
|
'no-nested-ternary': 'error',
|
||||||
|
'no-lonely-if': 'error',
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user