mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Make cognitive complexity an error for ts files
This commit is contained in:
parent
d7d0d7305c
commit
2584de5efa
1 changed files with 1 additions and 1 deletions
|
@ -257,7 +257,7 @@ module.exports = {
|
||||||
'plugin:jsx-a11y/recommended'
|
'plugin:jsx-a11y/recommended'
|
||||||
],
|
],
|
||||||
rules: {
|
rules: {
|
||||||
'sonarjs/cognitive-complexity': ['warn']
|
'sonarjs/cognitive-complexity': ['error']
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue