1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Enable eslint array-callback-return foreach checking

This commit is contained in:
Bill Thornton 2022-10-11 01:37:33 -04:00
parent aabbc8920f
commit 858aea92f9
5 changed files with 18 additions and 7 deletions

View file

@ -34,7 +34,7 @@ module.exports = {
'plugin:sonarjs/recommended'
],
rules: {
'array-callback-return': ['error'],
'array-callback-return': ['error', { 'checkForEach': true }],
'block-spacing': ['error'],
'brace-style': ['error', '1tbs', { 'allowSingleLine': true }],
'comma-dangle': ['error', 'never'],