Skip to content

Commit

Permalink
Remove tsdx & add prettier hook
Browse files Browse the repository at this point in the history
* No more linting from tsdx. Should be okay to use prettier
* Lot less dependencies
* Prettify files
  • Loading branch information
timolins committed Jul 8, 2022
1 parent 4f43ea3 commit 28d83a9
Show file tree
Hide file tree
Showing 9 changed files with 646 additions and 9,074 deletions.
9 changes: 4 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
"scripts": {
"start": "tsup --watch",
"build": "tsup",
"lint": "tsdx lint",
"test": "echo \"No test specified\"",
"setup": "pnpm i && cd site && pnpm i && cd .. && pnpm run link",
"link": "pnpm link ./site/node_modules/react && pnpm link ./site/node_modules/react-dom",
Expand All @@ -48,7 +47,7 @@
},
"husky": {
"hooks": {
"pre-commit": "tsdx lint"
"pre-commit": "prettier src --ignore-unknown --write"
}
},
"prettier": {
Expand Down Expand Up @@ -77,12 +76,12 @@
}
],
"devDependencies": {
"@size-limit/preset-small-lib": "^4.9.1",
"@size-limit/preset-small-lib": "^7.0.8",
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",
"csstype": "^3.0.7",
"size-limit": "^4.9.1",
"tsdx": "^0.14.1",
"prettier": "^2.7.1",
"size-limit": "^7.0.8",
"tsup": "^6.1.3",
"typescript": "^4.7.4"
},
Expand Down
Loading

0 comments on commit 28d83a9

Please sign in to comment.