mirror of
https://github.com/kognise/water.css.git
synced 2025-08-15 01:24:46 +02:00
Update precommit hook to not fix changes and error
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"hooks": {
|
"hooks": {
|
||||||
"pre-commit": "yarn lint"
|
"pre-commit": "yarn lint:nofix"
|
||||||
}
|
}
|
||||||
}
|
}
|
@@ -6,9 +6,10 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "gulp build",
|
"build": "gulp build",
|
||||||
"dev": "gulp watch",
|
"dev": "gulp watch",
|
||||||
"lint:js": "eslint **/*.js **/*.html gulpfile.js --fix",
|
"lint:js": "eslint **/*.js **/*.html gulpfile.js",
|
||||||
"lint:css": "stylelint src/**/*.css docs/style.css --fix",
|
"lint:css": "stylelint src/**/*.css docs/style.css",
|
||||||
"lint": "yarn lint:js && yarn lint:css"
|
"lint": "yarn lint:js --fix && yarn lint:css --fix",
|
||||||
|
"lint:nofix": "yarn lint:js && yarn lint:css"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
Reference in New Issue
Block a user