mirror of
https://github.com/kognise/water.css.git
synced 2025-12-06 06:44:58 +01:00
Update precommit hook to not fix changes and error
This commit is contained in:
parent
69ba583ccd
commit
b49b852722
2 changed files with 5 additions and 4 deletions
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"hooks": {
|
||||
"pre-commit": "yarn lint"
|
||||
"pre-commit": "yarn lint:nofix"
|
||||
}
|
||||
}
|
||||
|
|
@ -6,9 +6,10 @@
|
|||
"scripts": {
|
||||
"build": "gulp build",
|
||||
"dev": "gulp watch",
|
||||
"lint:js": "eslint **/*.js **/*.html gulpfile.js --fix",
|
||||
"lint:css": "stylelint src/**/*.css docs/style.css --fix",
|
||||
"lint": "yarn lint:js && yarn lint:css"
|
||||
"lint:js": "eslint **/*.js **/*.html gulpfile.js",
|
||||
"lint:css": "stylelint src/**/*.css docs/style.css",
|
||||
"lint": "yarn lint:js --fix && yarn lint:css --fix",
|
||||
"lint:nofix": "yarn lint:js && yarn lint:css"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue