From b2744acfd8ec1d1fb774aa3098298ab733eaf231 Mon Sep 17 00:00:00 2001 From: felipefialho Date: Thu, 2 Jan 2025 17:22:09 -0300 Subject: [PATCH] chore(sonar): add rule to turn sonarjs/unused-import 'off' --- .eslintrc.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.eslintrc.js b/.eslintrc.js index 501021beb..fda448a4e 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -16,6 +16,7 @@ module.exports = { files: ['**/*.spec.{js,ts,tsx}'], rules: { 'sonarjs/no-duplicate-string': 'off', + 'sonarjs/unused-import': 'off', }, }, { @@ -24,5 +25,11 @@ module.exports = { 'no-console': 'off', }, }, + { + files: ['**/*.tsx'], + rules: { + 'sonarjs/unused-import': 'off', + }, + }, ], }