mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Add eslint rule to prevent "lonely" if statements
This commit is contained in:
parent
c506d0b753
commit
aef99ce247
1 changed files with 1 additions and 0 deletions
|
@ -48,6 +48,7 @@ module.exports = {
|
|||
'no-empty-function': ['error'],
|
||||
'no-extend-native': ['error'],
|
||||
'no-floating-decimal': ['error'],
|
||||
'no-lonely-if': ['error'],
|
||||
'no-multi-spaces': ['error'],
|
||||
'no-multiple-empty-lines': ['error', { 'max': 1 }],
|
||||
'no-nested-ternary': ['error'],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue