diff --git a/index.js b/index.js index 708bf2c..2de2811 100644 --- a/index.js +++ b/index.js @@ -72,6 +72,14 @@ module.exports = { "simple-import-sort/imports": "error", "simple-import-sort/exports": "error", "sort-destructure-keys/sort-destructure-keys": "error", + "sonarjs/different-types-comparison": "warn", + "sonarjs/no-clear-text-protocols": "warn", + "sonarjs/no-ignored-exceptions": "off", + "sonarjs/no-misused-promises": "off", + "sonarjs/no-nested-functions": "off", + "sonarjs/sonar-no-unused-vars": "off", + "sonarjs/sonar-prefer-read-only-props": "off", + "sonarjs/todo-tag": "off", /** * {@link https://typescript-eslint.io/rules/consistent-type-imports | TypeScript ESLint: consistent-type-imports docs} */ diff --git a/legacy.js b/legacy.js index ee6ca0a..4cb8212 100644 --- a/legacy.js +++ b/legacy.js @@ -73,6 +73,14 @@ module.exports = { "simple-import-sort/imports": "error", "simple-import-sort/exports": "error", "sort-destructure-keys/sort-destructure-keys": "error", + "sonarjs/different-types-comparison": "warn", + "sonarjs/no-clear-text-protocols": "warn", + "sonarjs/no-ignored-exceptions": "off", + "sonarjs/no-misused-promises": "off", + "sonarjs/no-nested-functions": "off", + "sonarjs/sonar-no-unused-vars": "off", + "sonarjs/sonar-prefer-read-only-props": "off", + "sonarjs/todo-tag": "off", "@typescript-eslint/no-unused-vars": [ "error", {