Skip to content

Commit

Permalink
Use simple-git-hooks instead of husky
Browse files Browse the repository at this point in the history
  • Loading branch information
polemius committed Mar 12, 2021
1 parent 36200fe commit 59875ee
Show file tree
Hide file tree
Showing 3 changed files with 1,004 additions and 2,439 deletions.
4 changes: 0 additions & 4 deletions .husky/pre-commit

This file was deleted.

12 changes: 4 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@
"spell": "yarn docs && yaspeller *.md",
"docs": "documentation build *.js -f md -o api.md",
"test": "jest --coverage && yarn lint && size-limit",
"start": "parcel serve --cache-dir test/demo/.cache -d test/demo/dist test/demo/index.html --open",
"postinstall": "husky install",
"prepare": "husky install"
"start": "parcel serve --cache-dir test/demo/.cache -d test/demo/dist test/demo/index.html --open"
},
"devDependencies": {
"@logux/eslint-config": "^45.2.0",
Expand All @@ -34,12 +32,12 @@
"eslint-plugin-security": "^1.4.0",
"eslint-plugin-standard": "^4.1.0",
"eslint-plugin-unicorn": "^28.0.2",
"husky": "5",
"jest": "^26.6.3",
"lint-staged": "^10.5.4",
"parcel-bundler": "^1.12.4",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"simple-git-hooks": "^2.0.2",
"size-limit": "^4.10.1",
"storeon": "^3.1.4",
"yaspeller": "^7.0.0"
Expand Down Expand Up @@ -69,10 +67,8 @@
"*.js": "yarn test",
"*.md": "yaspeller"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
"simple-git-hooks": {
"pre-commit": "npx lint-staged"
},
"yaspeller": {
"lang": "en",
Expand Down
Loading

0 comments on commit 59875ee

Please sign in to comment.