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'
|
||||
],
|
||||
rules: {
|
||||
'sonarjs/cognitive-complexity': ['warn']
|
||||
'sonarjs/cognitive-complexity': ['error']
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue