Skip to content

Commit

Permalink
feat: add eslint-plugin-eslint-comments plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
G-Rath committed Jan 5, 2020
1 parent ffd93eb commit 3799de4
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 5 deletions.
10 changes: 5 additions & 5 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
module.exports = {
env: { es2017: true },
plugins: [
'prettier'
//
'prettier', //
'eslint-comments'
],
extends: [
'eslint:recommended',
'plugin:prettier/recommended'
//
'plugin:prettier/recommended',
'plugin:eslint-comments/recommended'
],
rules: {
//
'eslint-comments/no-unused-disable': 'error'
}
};
18 changes: 18 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"@semantic-release/changelog": "^3.0.6",
"@semantic-release/git": "^7.0.18",
"eslint": "^6.8.0",
"eslint-plugin-eslint-comments": "^3.1.2",
"eslint-plugin-prettier": "^3.1.2",
"husky": "^3.1.0",
"lint-staged": "^9.5.0",
Expand All @@ -38,6 +39,7 @@
},
"peerDependencies": {
"eslint": ">= 6",
"eslint-plugin-eslint-comments": ">= 3",
"eslint-plugin-prettier": ">= 3.1",
"prettier": ">= 1.19"
},
Expand Down

0 comments on commit 3799de4

Please sign in to comment.