-
- Downloads
feat(DX): only lint staged files in pre-commit hook
This diff is collapsed.
... | ... | @@ -11,6 +11,10 @@ |
"format": "npm run lint-prettier -- --write && npm run lint-eslint -- --fix", | ||
"prepare": "husky install" | ||
}, | ||
"lint-staged": { | ||
"*": "prettier --check --ignore-path .gitignore", | ||
"*.{js,ts,vue}": "eslint --color --ignore-path .gitignore --ignore-path .eslintignore" | ||
}, | ||
"dependencies": { | ||
"@fullcalendar/core": "^5.11.3", | ||
"@fullcalendar/interaction": "^5.11.3", | ||
... | ... | @@ -38,6 +42,7 @@ |
"eslint-config-prettier": "^8.5.0", | ||
"eslint-plugin-vue": "^9.7.0", | ||
"husky": "^8.0.2", | ||
"lint-staged": "^13.0.4", | ||
"postcss": "^8.4.12", | ||
"prettier": "^2.7.1", | ||
"rollup-plugin-visualizer": "^5.8.3", | ||
... | ... |
Please register or sign in to comment