Skip to content

Commit

Permalink
chore: add simple-git-hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
zengxiaoluan committed Jul 29, 2024
1 parent abf0f58 commit 4d745e5
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 7 deletions.
27 changes: 22 additions & 5 deletions package-lock.json

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

10 changes: 8 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,25 @@
"requireindex": "^1.2.0"
},
"devDependencies": {
"eslint": "^9.0.0",
"@eslint/js": "^9.0.0",
"eslint": "^9.0.0",
"eslint-doc-generator": "^1.0.0",
"eslint-plugin-eslint-plugin": "^6.0.0",
"eslint-plugin-n": "^17.0.0",
"mocha": "^10.0.0",
"npm-run-all2": "^6.1.2"
"npm-run-all2": "^6.1.2",
"simple-git-hooks": "^2.11.1"
},
"engines": {
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
},
"peerDependencies": {
"eslint": ">=8.57.0"
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged",
"pre-push": "npm run format",
"preserveUnused": true
},
"license": "MIT"
}

0 comments on commit 4d745e5

Please sign in to comment.