diff --git a/.huskyrc.json b/.huskyrc.json index 545efe5..42414c7 100644 --- a/.huskyrc.json +++ b/.huskyrc.json @@ -1,5 +1,5 @@ { "hooks": { - "pre-commit": "yarn lint" + "pre-commit": "yarn lint:nofix" } } \ No newline at end of file diff --git a/package.json b/package.json index c3761db..a5a5997 100644 --- a/package.json +++ b/package.json @@ -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",