From b885cfdc8300366ff5fc772741b7d926463d7563 Mon Sep 17 00:00:00 2001 From: Bill Thornton Date: Thu, 27 Mar 2025 11:11:58 -0400 Subject: [PATCH] Replace sonarjs deprecated rule with typescript version --- eslint.config.mjs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/eslint.config.mjs b/eslint.config.mjs index 5ddd5a00c5..489c98c211 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -98,7 +98,7 @@ export default tseslint.config( 'sonarjs/fixme-tag': 'warn', 'sonarjs/todo-tag': 'off', - 'sonarjs/deprecation': 'warn', + 'sonarjs/deprecation': 'off', 'sonarjs/no-alphabetical-sort': 'warn', 'sonarjs/no-inverted-boolean-check': 'error', 'sonarjs/no-selector-parameter': 'off', @@ -329,6 +329,7 @@ export default tseslint.config( } } ], + '@typescript-eslint/no-deprecated': 'warn', '@typescript-eslint/no-floating-promises': 'error', '@typescript-eslint/prefer-string-starts-ends-with': 'error' }