Skip to content

Commit

Permalink
chore: lint staged
Browse files Browse the repository at this point in the history
  • Loading branch information
hywax committed Jan 29, 2024
1 parent e048c27 commit 409eae6
Show file tree
Hide file tree
Showing 3 changed files with 162 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx lint-staged
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,12 @@
"eslint": "npm:eslint-ts-patch@8.56.0-0",
"eslint-ts-patch": "8.56.0-0",
"husky": "^9.0.6",
"lint-staged": "^15.2.0",
"nuxt": "^3.9.3",
"vue": "^3.4.14",
"vue-router": "^4.2.5"
},
"lint-staged": {
"*.ts": "pnpm run lint:fix"
}
}
154 changes: 154 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 409eae6

Please sign in to comment.