From 2584de5efae6e6db28182293ef02b91978d7efbe Mon Sep 17 00:00:00 2001 From: Bill Thornton Date: Thu, 4 May 2023 10:58:11 -0400 Subject: [PATCH] Make cognitive complexity an error for ts files --- .eslintrc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.eslintrc.js b/.eslintrc.js index 03e06eb49..6ccaca73f 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -257,7 +257,7 @@ module.exports = { 'plugin:jsx-a11y/recommended' ], rules: { - 'sonarjs/cognitive-complexity': ['warn'] + 'sonarjs/cognitive-complexity': ['error'] } } ]