From d7fbade96c19c663c4440805665d1aba26c1ccfd Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Fri, 14 Feb 2020 12:39:05 +0400 Subject: feat(comments): Initial ESLint Comments 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 403ebdb..294380e 100644 --- a/src/javascript.ts +++ b/src/javascript.ts @@ -1,3 +1,4 @@ +import rComments from "./rules/eslint-comments.json"; import rDefault from "./rules/default.json"; import rImport from "./rules/import.json"; import rSecurity from "./rules/security.json"; @@ -7,6 +8,7 @@ import rUnicorn from "./rules/unicorn.json"; module.exports = { "extends": [ "eslint:recommended", + "plugin:eslint-comments/recommended", "plugin:import/errors", "plugin:import/recommended", "plugin:import/warnings", @@ -15,12 +17,14 @@ module.exports = { "plugin:unicorn/recommended", ], "plugins": [ + "eslint-comments", "import", "security", "sonarjs", "unicorn", ], "rules": { + ...rComments, ...rDefault, ...rImport, ...rSecurity, -- cgit v1.2.3