Skip to content

Commit

Permalink
ci: added automatic code formating and linting
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelbrusegard committed Jan 20, 2024
1 parent bcb35eb commit 03fb337
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
Binary file modified bun.lockb
Binary file not shown.
14 changes: 14 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,21 @@
"build": "next build",
"dev": "next dev",
"lint": "next lint",
"format": "prettier --write .",
"type": "tsc --noEmit",
"start": "next start"
},
"husky": {
"hooks": {
"pre-commit": "fix-staged"
}
},
"fix-staged": {
"*.{js,cjs,ts,tsx}": [
"next lint --fix",
"prettier --write"
]
},
"dependencies": {
"@radix-ui/react-dialog": "^1.0.5",
"@radix-ui/react-dropdown-menu": "^2.0.6",
Expand Down Expand Up @@ -42,6 +55,7 @@
"@typescript-eslint/parser": "^6.11.0",
"eslint": "^8.54.0",
"eslint-config-next": "^14.0.4",
"husky": "^8.0.3",
"postcss": "^8.4.31",
"prettier": "^3.1.0",
"prettier-plugin-tailwindcss": "^0.5.7",
Expand Down

0 comments on commit 03fb337

Please sign in to comment.