mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Add eslint rule for consistent curly brackets
This commit is contained in:
parent
74920c9f96
commit
101abc762b
1 changed files with 1 additions and 0 deletions
|
@ -30,6 +30,7 @@ module.exports = {
|
|||
'brace-style': ['error', '1tbs', { 'allowSingleLine': true }],
|
||||
'comma-dangle': ['error', 'never'],
|
||||
'comma-spacing': ['error'],
|
||||
'curly': ['error', 'multi-line', 'consistent'],
|
||||
'default-case-last': ['error'],
|
||||
'eol-last': ['error'],
|
||||
'indent': ['error', 4, { 'SwitchCase': 1 }],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue