feat(comments): Initial ESLint Comments plugin
Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
@ -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,
|
||||
|
1
src/rules/eslint-comments.json
Normal file
1
src/rules/eslint-comments.json
Normal file
@ -0,0 +1 @@
|
||||
{}
|
Reference in New Issue
Block a user