Skip to content

Commit

Permalink
migrate husky config
Browse files Browse the repository at this point in the history
  • Loading branch information
ldrick committed Aug 9, 2024
1 parent 98fd8fe commit 0208d94
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 19 deletions.
1 change: 1 addition & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
npx lint-staged
15 changes: 0 additions & 15 deletions package-lock.json

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

5 changes: 1 addition & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,7 @@
"deps:update": "npx npm-check-updates@latest -u",
"format": "prettier --write .",
"lint": "eslint . && markdownlint \"**/*.md\" --ignore node_modules",
"postinstall": "husky install",
"postpublish": "pinst --enable",
"prepublishOnly": "pinst --disable",
"prepare": "husky",
"test": "vitest run --coverage"
},
"files": [
Expand Down Expand Up @@ -114,7 +112,6 @@
"husky": "^9.1.4",
"lint-staged": "^15.2.8",
"markdownlint-cli": "^0.41.0",
"pinst": "^3.0.0",
"prettier": "^3.3.3",
"rimraf": "^6.0.1",
"typescript": "^5.5.4",
Expand Down

0 comments on commit 0208d94

Please sign in to comment.