Skip to content

Commit

Permalink
test: add test for comments plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
crisfcodes committed Jun 4, 2021
1 parent 91fcea6 commit 295c736
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions other/test/comments/.eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"extends": "./index.js"}
3 changes: 3 additions & 0 deletions other/test/comments/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
extends: ['../../../index.js', '../../../comments.js'],
}
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"find-new-rules:main": "eslint-find-rules --unused ./index.js",
"find-new-rules:react": "eslint-find-rules --unused ./other/test/react/index.js",
"find-new-rules:react-native": "eslint-find-rules --unused ./other/test/react-native/index.js",
"find-new-rules:comments": "eslint-find-rules --unused ./other/test/comments/index.js",
"lint": "eslint --config index.js .",
"test": "npm-run-all --parallel lint find-new-rules",
"validate": "npm-run-all --parallel lint test",
Expand Down

0 comments on commit 295c736

Please sign in to comment.