mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-15 09:58:18 -07:00
Add lint rule for array callback returns
This commit is contained in:
parent
ebb4b05081
commit
14dc03ab7d
@ -29,6 +29,7 @@ module.exports = {
|
||||
'plugin:compat/recommended'
|
||||
],
|
||||
rules: {
|
||||
'array-callback-return': ['error'],
|
||||
'block-spacing': ['error'],
|
||||
'brace-style': ['error', '1tbs', { 'allowSingleLine': true }],
|
||||
'comma-dangle': ['error', 'never'],
|
||||
|
Loading…
Reference in New Issue
Block a user