Skip to content

Commit ebadb4f

Browse files
committed
chore: update typescript and linters
1 parent c40e08e commit ebadb4f

File tree

3 files changed

+1991
-1622
lines changed

3 files changed

+1991
-1622
lines changed

.prettierrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"tabWidth": 2,
55
"semi": false,
66
"arrowParens": "always",
7+
"plugins": ["@trivago/prettier-plugin-sort-imports"],
78
"importOrder": [
89
"^@.*/(.*)$",
910
"<THIRD_PARTY_MODULES>",
@@ -19,4 +20,4 @@
1920
],
2021
"importOrderSeparation": true,
2122
"importOrderSortSpecifiers": true
22-
}
23+
}

package.json

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,15 @@
3030
"@iconify/react": "^3.2.2",
3131
"@sentry/react": "^7.27.0",
3232
"@sentry/tracing": "^7.27.0",
33-
"@typescript-eslint/eslint-plugin": "^5.33.1",
33+
"@typescript-eslint/eslint-plugin": "^7.0.1",
3434
"ajv": "^8.11.0",
3535
"ajv-i18n": "^4.2.0",
3636
"camelcase-keys": "^8.0.1",
3737
"clsx": "^1.2.0",
3838
"dayjs": "^1.11.3",
39-
"eslint": "^8.22.0",
40-
"eslint-plugin-react": "^7.30.1",
39+
"eslint": "^8.56.0",
40+
"eslint-plugin-react": "^7.33.2",
41+
"eslint-plugin-react-hooks": "^4.6.0",
4142
"fuse.js": "^6.6.2",
4243
"jotai": "^1.7.3",
4344
"linkify-react": "^3.0.4",
@@ -58,34 +59,34 @@
5859
"remark-gfm": "^3.0.1",
5960
"snakecase-keys": "^5.4.4",
6061
"swr": "^2.0.0-rc.3",
61-
"type-fest": "^2.16.0",
62+
"type-fest": "^4.10.2",
6263
"unfetch": "^4.2.0",
6364
"vite-tsconfig-paths": "^3.5.0"
6465
},
6566
"devDependencies": {
6667
"@hookform/devtools": "^4.1.1",
67-
"@trivago/prettier-plugin-sort-imports": "^3.3.0",
68+
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
6869
"@types/lodash-es": "^4.17.6",
6970
"@types/node": "^18.0.0",
7071
"@types/pinyin": "^2.10.0",
7172
"@types/react": "^18.0.0",
7273
"@types/react-dom": "^18.0.0",
73-
"@typescript-eslint/parser": "^5.33.1",
74+
"@typescript-eslint/parser": "^7.0.1",
7475
"@vitejs/plugin-react": "^1.3.0",
7576
"autoprefixer": "^10.4.7",
76-
"eslint-config-prettier": "^8.5.0",
77-
"eslint-import-resolver-typescript": "^3.4.1",
78-
"eslint-plugin-import": "^2.26.0",
79-
"eslint-plugin-jsx-a11y": "^6.6.1",
80-
"eslint-plugin-prettier": "^4.2.1",
77+
"eslint-config-prettier": "^9.1.0",
78+
"eslint-import-resolver-typescript": "^3.6.1",
79+
"eslint-plugin-import": "^2.29.1",
80+
"eslint-plugin-jsx-a11y": "^6.8.0",
81+
"eslint-plugin-prettier": "^5.1.3",
8182
"esno": "^4.0.0",
8283
"less": "^4.1.2",
8384
"node-fetch": "^3.2.6",
8485
"npm-run-all2": "^6.0.2",
8586
"pinyin": "^3.0.0-alpha.5",
8687
"simplebig": "^0.0.3",
8788
"tailwindcss": "^3.1.4",
88-
"typescript": "^4.6.3",
89+
"typescript": "^5.3.3",
8990
"vite": "^4.2.1"
9091
},
9192
"resolutions": {

0 commit comments

Comments
 (0)