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