remove husky
This commit is contained in:
parent
8caa1f09de
commit
f323cd2d26
1
.husky/.gitignore
vendored
1
.husky/.gitignore
vendored
|
@ -1 +0,0 @@
|
||||||
_
|
|
|
@ -1,4 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
. "$(dirname "$0")/_/husky.sh"
|
|
||||||
|
|
||||||
yarn lint-staged
|
|
12
package.json
12
package.json
|
@ -8,9 +8,7 @@
|
||||||
"build": "next build",
|
"build": "next build",
|
||||||
"build-analyze": "ANALYZE=true next build",
|
"build-analyze": "ANALYZE=true next build",
|
||||||
"postbuild": "next export",
|
"postbuild": "next export",
|
||||||
"start": "next start",
|
"start": "next start"
|
||||||
"lint-staged": "lint-staged",
|
|
||||||
"postinstall": "husky install"
|
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@ente-io/next-with-workbox": "^1.0.3",
|
"@ente-io/next-with-workbox": "^1.0.3",
|
||||||
|
@ -81,13 +79,5 @@
|
||||||
},
|
},
|
||||||
"standard": {
|
"standard": {
|
||||||
"parser": "babel-eslint"
|
"parser": "babel-eslint"
|
||||||
},
|
|
||||||
"lint-staged": {
|
|
||||||
"src/**/*.{js,jsx,ts,tsx}": "eslint"
|
|
||||||
},
|
|
||||||
"husky": {
|
|
||||||
"hooks": {
|
|
||||||
"pre-commit": "yarn run lint-staged"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue