diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/javascript.ts | 4 | ||||
-rw-r--r-- | src/rules/eslint-comments.json | 1 |
2 files changed, 5 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, diff --git a/src/rules/eslint-comments.json b/src/rules/eslint-comments.json new file mode 100644 index 0000000..0967ef4 --- /dev/null +++ b/src/rules/eslint-comments.json @@ -0,0 +1 @@ +{} |