Skip to content

Commit

Permalink
chore: config simple-git-hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
nemo-shen committed Jan 4, 2024
1 parent 0194449 commit 3764ced
Show file tree
Hide file tree
Showing 2 changed files with 2,025 additions and 594 deletions.
15 changes: 14 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,17 @@
"lint": "eslint .",
"lint:fix": "eslint . --fix"
},
"simple-git-hooks": {
"pre-commit": "pnpm exec lint-staged"
},
"lint-staged": {
"*.{js,ts,tsx,vue,md}": [
"eslint --cache --fix"
],
"*": [
"prettier --write --cache --ignore-unknown"
]
},
"dependencies": {
"@noi/core": "workspace:*",
"vue": "^3.3.11"
Expand All @@ -27,8 +38,10 @@
"eslint-config-airbnb-typescript": "^17.1.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-vue": "^9.19.2",
"lint-staged": "^15.2.0",
"prettier": "3.1.1",
"simple-git-hooks": "^2.9.0",
"vite": "^5.0.8",
"vitest": "^1.1.1"
}
}
}
Loading

0 comments on commit 3764ced

Please sign in to comment.