From 92d87f46c8c7b6519aff38912b9c4cb13d113236 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Fri, 14 Feb 2020 12:31:12 +0400 Subject: feat(unicorn): Initial Unicorn plugin Signed-off-by: Valentin Popov --- src/javascript.ts | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/javascript.ts') diff --git a/src/javascript.ts b/src/javascript.ts index 85499be..403ebdb 100644 --- a/src/javascript.ts +++ b/src/javascript.ts @@ -2,6 +2,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"; +import rUnicorn from "./rules/unicorn.json"; module.exports = { "extends": [ @@ -11,16 +12,19 @@ module.exports = { "plugin:import/warnings", "plugin:security/recommended", "plugin:sonarjs/recommended", + "plugin:unicorn/recommended", ], "plugins": [ "import", "security", "sonarjs", + "unicorn", ], "rules": { ...rDefault, ...rImport, ...rSecurity, ...rSonarJS, + ...rUnicorn, }, }; -- cgit v1.2.3