diff --git a/eslint.config.js b/eslint.config.js index 89b56ca..8749e4d 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -67,7 +67,7 @@ export const config = tseslint.config(eslint.configs.recommended, ...tseslint.co '@typescript-eslint/space-before-function-paren': 'off', '@typescript-eslint/strict-boolean-expressions': 'warn', complexity: [ - 'error', + 'warn', { max: 20 } diff --git a/eslint.config.ts b/eslint.config.ts index 2e75563..36d58c2 100644 --- a/eslint.config.ts +++ b/eslint.config.ts @@ -92,7 +92,7 @@ export const config = tseslint.config( '@typescript-eslint/strict-boolean-expressions': 'warn', complexity: [ - 'error', + 'warn', { max: 20 }