Make cognitive complexity an error for ts files

This commit is contained in:
Bill Thornton 2023-05-04 10:58:11 -04:00
parent d7d0d7305c
commit 2584de5efa

View File

@ -257,7 +257,7 @@ module.exports = {
'plugin:jsx-a11y/recommended'
],
rules: {
'sonarjs/cognitive-complexity': ['warn']
'sonarjs/cognitive-complexity': ['error']
}
}
]