Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump husky from 4.3.8 to 5.1.3 #316

Merged
merged 2 commits into from Mar 17, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions .husky/.gitignore
@@ -0,0 +1 @@
_
4 changes: 4 additions & 0 deletions .husky/pre-commit
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx lint-staged
184 changes: 4 additions & 180 deletions package-lock.json

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

21 changes: 8 additions & 13 deletions package.json
Expand Up @@ -21,36 +21,31 @@
"format": "prettier --write \"lib/**/*.js\"",
"check-format": "prettier \"lib/**/*.js\"",
"lint": "eslint \"lib/**/*.js\"",
"precommit": "lint-staged"
"prepare": "husky install"
},
"lint-staged": {
"*.{js,jsx}": [
"prettier --parser flow --write",
"eslint",
"git add"
"prettier --write",
"eslint"
],
"*.json": [
"prettier --parser json --write",
"git add"
"prettier --write"
],
"*.{graphql,gql}": [
"prettier --parser graphql --write",
"git add"
"prettier --write"
],
"*.{md,markdown}": [
"prettier --parser markdown --write",
"git add"
"prettier --write"
],
"*.{css,scss}": [
"prettier --parser css --write",
"git add"
"prettier --write"
]
},
"devDependencies": {
"eslint": "^7.11.0",
"express": "^4.17.1",
"fastify": "^3.0.0",
"husky": "^4.3.6",
"husky": "^5.1.3",
"jest": "^26.6.0",
"jest-in-case": "^1.0.2",
"lint-staged": "^10.5.3",
Expand Down