Skip to content

Commit

Permalink
Merge pull request xxidbr9#43 from xxidbr9/fix/fixing-windows-issue
Browse files Browse the repository at this point in the history
fix(ci): change windows lint config
  • Loading branch information
xxidbr9 committed Jun 27, 2023
2 parents 36fe9fc + cfc6249 commit e269396
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npm run lint:commit
npx --no -- commitlint --edit "$1"
7 changes: 3 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,12 @@
"main": "index.js",
"scripts": {
"prepare": "husky install",
"lint": "npm run lint:commit && npm run lint:html && npm run lint:css",
"lint": "npm run lint:html && npm run lint:css",
"lint:staged": "lint-staged",
"lint:css": "stylelint **/*.css --fix",
"lint:html": "htmlhint **/*.html",
"lint:commit": "npx --no -- commitlint --edit \"$1\"",
"format:css": "prettier --write '**/*.css'",
"format:html": "prettier --write '**/*.html'"
"format:css": "prettier --write **/*.css",
"format:html": "prettier --write **/*.html"
},
"lint-staged": {
"*.css": [
Expand Down

0 comments on commit e269396

Please sign in to comment.