diff options
author | Valentin Popov <info@valentineus.link> | 2020-02-14 11:39:05 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2020-02-14 11:39:05 +0300 |
commit | d7fbade96c19c663c4440805665d1aba26c1ccfd (patch) | |
tree | 0fef375ac90402ac8daacc0ea4a9d061b0c6d61b /src/javascript.ts | |
parent | 92d87f46c8c7b6519aff38912b9c4cb13d113236 (diff) | |
download | eslint-config-d7fbade96c19c663c4440805665d1aba26c1ccfd.tar.xz eslint-config-d7fbade96c19c663c4440805665d1aba26c1ccfd.zip |
feat(comments): Initial ESLint Comments plugin
Signed-off-by: Valentin Popov <info@valentineus.link>
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 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, |