Make cognitive complexity an error for ts files
This commit is contained in:
+1
-1
@@ -257,7 +257,7 @@ module.exports = {
|
||||
'plugin:jsx-a11y/recommended'
|
||||
],
|
||||
rules: {
|
||||
'sonarjs/cognitive-complexity': ['warn']
|
||||
'sonarjs/cognitive-complexity': ['error']
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user