Skip to content

Commit

Permalink
Reorder classnames only on pre-commit (#8497)
Browse files Browse the repository at this point in the history
  • Loading branch information
shivankacker authored Sep 10, 2024
1 parent 8b6260b commit d3ca662
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions .prettierrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,5 @@
"arrowParens": "always",
"tailwindFunctions": [
"classNames"
],
"plugins": [
"prettier-plugin-tailwindcss"
]
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@
},
"lint-staged": {
"*.{ts,tsx,js,jsx}": [
"prettier --write --ignore-unknown",
"prettier --write --ignore-unknown --plugin prettier-plugin-tailwindcss",
"eslint --fix",
"git update-index --again"
]
Expand Down

0 comments on commit d3ca662

Please sign in to comment.