mirror of
https://github.com/CorentinTh/it-tools.git
synced 2025-05-07 06:47:13 -04:00
chore(git): added husky's pre-commit hook
This commit is contained in:
parent
ef9703fc14
commit
88bf0091f5
4 changed files with 14 additions and 1 deletions
|
@ -31,7 +31,8 @@
|
|||
"lint:commit": "commitlint --from $(git rev-list --max-parents=0 HEAD)",
|
||||
"lint:js": "eslint --ext .js,.vue --ignore-path=.gitignore --max-warnings=0 .",
|
||||
"lint": "npm run lint:js && npm run lint:commit",
|
||||
"test": "jest"
|
||||
"test": "jest",
|
||||
"prepare": "husky install"
|
||||
},
|
||||
"dependencies": {
|
||||
"@nuxtjs/axios": "^5.13.6",
|
||||
|
@ -77,6 +78,7 @@
|
|||
"eslint-plugin-nuxt": "^2.0.0",
|
||||
"eslint-plugin-prettier": "^3.4.0",
|
||||
"eslint-plugin-promise": "^5.1.0",
|
||||
"husky": "^6.0.0",
|
||||
"jest": "^26.5.0",
|
||||
"less": "^4.0.0",
|
||||
"less-loader": "^7.1.0",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue