Skip to content
This repository has been archived by the owner on Sep 21, 2021. It is now read-only.

Commit

Permalink
fix(test): lint package as test
Browse files Browse the repository at this point in the history
  • Loading branch information
saiichihashimoto committed Feb 2, 2019
1 parent b106b40 commit e22905a
Show file tree
Hide file tree
Showing 2 changed files with 96 additions and 1 deletion.
89 changes: 89 additions & 0 deletions package-lock.json

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

8 changes: 7 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@
"url": "git+https://github.com/saiichihashimoto/eslint-config-saiichihashimoto.git"
},
"main": ".eslintrc.js",
"scripts": {
"test": "run-s test:*",
"test:lint": "run-s test:lint:*",
"test:lint:js": "eslint --report-unused-disable-directives --ignore-path .gitignore --ignore-pattern '!.*.js' .",
"test:lint:package": "pkg-ok"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
Expand All @@ -21,7 +27,6 @@
"git add"
],
"package.json": [
"pkg-ok",
"sort-package-json",
"git add"
]
Expand All @@ -47,6 +52,7 @@
"eslint": "5.13.0",
"husky": "1.3.1",
"lint-staged": "8.1.3",
"npm-run-all": "^4.1.5",
"pkg-ok": "2.3.1",
"sort-package-json": "1.18.0"
},
Expand Down

0 comments on commit e22905a

Please sign in to comment.