mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Add lint rule for array callback returns
This commit is contained in:
parent
ebb4b05081
commit
14dc03ab7d
1 changed files with 1 additions and 0 deletions
|
@ -29,6 +29,7 @@ module.exports = {
|
||||||
'plugin:compat/recommended'
|
'plugin:compat/recommended'
|
||||||
],
|
],
|
||||||
rules: {
|
rules: {
|
||||||
|
'array-callback-return': ['error'],
|
||||||
'block-spacing': ['error'],
|
'block-spacing': ['error'],
|
||||||
'brace-style': ['error', '1tbs', { 'allowSingleLine': true }],
|
'brace-style': ['error', '1tbs', { 'allowSingleLine': true }],
|
||||||
'comma-dangle': ['error', 'never'],
|
'comma-dangle': ['error', 'never'],
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue