Skip to content

Commit

Permalink
fix: fixed lint-staged
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelbrusegard committed Jan 20, 2024
1 parent 03fb337 commit 8b59e28
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Binary file modified bun.lockb
Binary file not shown.
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@
"build": "next build",
"dev": "next dev",
"lint": "next lint",
"format": "prettier --write .",
"format": "prettier --check '**/*.{js,cjs,ts,tsx}'",
"type": "tsc --noEmit",
"start": "next start"
},
"husky": {
"hooks": {
"pre-commit": "fix-staged"
"pre-commit": "lint-staged"
}
},
"fix-staged": {
"lint-staged": {
"*.{js,cjs,ts,tsx}": [
"next lint --fix",
"prettier --write"
Expand Down Expand Up @@ -56,6 +56,7 @@
"eslint": "^8.54.0",
"eslint-config-next": "^14.0.4",
"husky": "^8.0.3",
"lint-staged": "^15.2.0",
"postcss": "^8.4.31",
"prettier": "^3.1.0",
"prettier-plugin-tailwindcss": "^0.5.7",
Expand Down

0 comments on commit 8b59e28

Please sign in to comment.