diff options
Diffstat (limited to 'src/javascript.ts')
-rw-r--r-- | src/javascript.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/javascript.ts b/src/javascript.ts index 9026379..85499be 100644 --- a/src/javascript.ts +++ b/src/javascript.ts @@ -1,6 +1,7 @@ import rDefault from "./rules/default.json"; import rImport from "./rules/import.json"; import rSecurity from "./rules/security.json"; +import rSonarJS from "./rules/sonarjs.json"; module.exports = { "extends": [ @@ -9,14 +10,17 @@ module.exports = { "plugin:import/recommended", "plugin:import/warnings", "plugin:security/recommended", + "plugin:sonarjs/recommended", ], "plugins": [ "import", "security", + "sonarjs", ], "rules": { ...rDefault, ...rImport, ...rSecurity, + ...rSonarJS, }, }; |