Skip to content

Commit

Permalink
chore: add prettier git hook
Browse files Browse the repository at this point in the history
  • Loading branch information
jsun969 committed Jan 15, 2024
1 parent 05980e1 commit fcef617
Show file tree
Hide file tree
Showing 2 changed files with 1,190 additions and 2,709 deletions.
10 changes: 10 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,21 @@
"cross-env": "^7.0.3",
"eslint": "^8.56.0",
"eslint-config-next": "14.0.3",
"lint-staged": "^15.2.0",
"postcss": "^8.4.33",
"prettier-plugin-jsdoc": "^1.3.0",
"prettier-plugin-tailwindcss": "^0.5.11",
"simple-git-hooks": "^2.9.0",
"tailwindcss": "^3.4.1",
"tsec": "^0.2.8",
"typescript": "^5.3.3"
},
"lint-staged": {
"*.{js,jsx,ts,tsx,css,json,yaml,yml}": [
"prettier --write"
]
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged"
}
}
Loading

0 comments on commit fcef617

Please sign in to comment.