Skip to content

Commit 4c79ab7

Browse files
AdrianAndersenmathiazom
authored andcommitted
chore: bump most deps, update eslint config
1 parent cbcf334 commit 4c79ab7

File tree

5 files changed

+1487
-839
lines changed

5 files changed

+1487
-839
lines changed

eslint.config.mjs

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
import eslint from "@eslint/js";
33
import nextPlugin from "@next/eslint-plugin-next";
44
import eslintConfigPrettier from "eslint-config-prettier";
5-
import importPlugin from "eslint-plugin-import";
5+
import { createTypeScriptImportResolver } from "eslint-import-resolver-typescript";
6+
import { importX } from "eslint-plugin-import-x";
67
import jsxA11y from "eslint-plugin-jsx-a11y";
78
import noRelativeImportPathsPlugin from "eslint-plugin-no-relative-import-paths";
89
import reactPlugin from "eslint-plugin-react";
@@ -17,20 +18,25 @@ export default tseslint.config(
1718
reactPlugin.configs.flat.recommended,
1819
reactPlugin.configs.flat["jsx-runtime"],
1920
jsxA11y.flatConfigs.recommended,
20-
importPlugin.flatConfigs.typescript,
21+
importX.flatConfigs.recommended,
22+
importX.flatConfigs.typescript,
2123
{
2224
files: ["**/*.{js,jsx,mjs,cjs,ts,tsx}"],
2325
plugins: {
2426
"@next/next": nextPlugin,
2527
"react-hooks": hooksPlugin,
2628
"no-relative-import-paths": noRelativeImportPathsPlugin,
27-
import: importPlugin,
2829
"react-compiler": reactCompiler,
2930
},
3031
settings: {
3132
react: {
3233
version: "detect",
3334
},
35+
"import-x/resolver-next": [
36+
createTypeScriptImportResolver({
37+
project: "tsconfig.json",
38+
}),
39+
],
3440
},
3541
rules: {
3642
...nextPlugin.configs.recommended.rules,
@@ -39,7 +45,7 @@ export default tseslint.config(
3945
"no-relative-import-paths/no-relative-import-paths": "error",
4046
"react-compiler/react-compiler": "error",
4147
/** @see https://medium.com/weekly-webtips/how-to-sort-imports-like-a-pro-in-typescript-4ee8afd7258a */
42-
"import/order": [
48+
"import-x/order": [
4349
"error",
4450
{
4551
groups: [

package.json

Lines changed: 25 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -20,50 +20,52 @@
2020
"dependencies": {
2121
"@emotion/cache": "^11.14.0",
2222
"@emotion/react": "^11.14.0",
23-
"@emotion/styled": "^11.14.0",
24-
"@khmyznikov/pwa-install": "^0.5.4",
23+
"@emotion/styled": "^11.14.1",
24+
"@khmyznikov/pwa-install": "^0.5.7",
2525
"@mui/icons-material": "^6.4.2",
2626
"@mui/material": "^6.4.2",
2727
"@mui/material-nextjs": "^6.4.2",
2828
"@mui/x-date-pickers": "^7.28.3",
29-
"@serwist/next": "^9.0.13",
29+
"@serwist/next": "^9.1.1",
3030
"js-cookie": "^3.0.5",
3131
"jwt-decode": "^4.0.0",
32-
"luxon": "^3.6.1",
32+
"luxon": "^3.7.1",
3333
"next": "15.3.0",
34-
"react": "^19.1.0",
34+
"react": "^19.1.1",
3535
"react-device-detect": "^2.2.3",
36-
"react-dom": "^19.1.0",
36+
"react-dom": "^19.1.1",
3737
"react-dropzone": "^14.3.8",
38-
"react-oauth2-code-pkce": "^1.23.0",
39-
"react-snowfall": "^2.2.0",
38+
"react-oauth2-code-pkce": "^1.23.1",
39+
"react-snowfall": "^2.3.0",
4040
"react-swipeable-views": "^0.14.0",
41-
"sharp": "^0.34.1",
42-
"swr": "^2.3.3",
43-
"zustand": "^5.0.3"
41+
"sharp": "^0.34.3",
42+
"swr": "^2.3.6",
43+
"zustand": "^5.0.8"
4444
},
4545
"devDependencies": {
46-
"@eslint/js": "^9.24.0",
46+
"@eslint/js": "^9.33.0",
4747
"@next/eslint-plugin-next": "^15.3.0",
4848
"@tsconfig/next": "^2.0.3",
4949
"@tsconfig/strictest": "^2.0.5",
5050
"@types/js-cookie": "^3.0.6",
51-
"@types/luxon": "^3.6.2",
52-
"@types/node": "^22.14.1",
53-
"@types/react": "^19.1.2",
54-
"@types/react-dom": "^19.1.2",
51+
"@types/luxon": "^3.7.1",
52+
"@types/node": "^24.3.0",
53+
"@types/react": "^19.1.10",
54+
"@types/react-dom": "^19.1.7",
5555
"@types/react-swipeable-views": "^0.13.6",
56-
"eslint-config-prettier": "^10.1.2",
57-
"eslint-plugin-import": "^2.31.0",
56+
"eslint": "^9.33.0",
57+
"eslint-config-prettier": "^10.1.8",
58+
"eslint-import-resolver-typescript": "^4.4.4",
59+
"eslint-plugin-import-x": "^4.16.1",
5860
"eslint-plugin-jsx-a11y": "^6.10.2",
5961
"eslint-plugin-no-relative-import-paths": "^1.6.1",
6062
"eslint-plugin-react": "^7.37.5",
61-
"eslint-plugin-react-compiler": "19.0.0-beta-ebf51a3-20250411",
63+
"eslint-plugin-react-compiler": "19.1.0-rc.2",
6264
"eslint-plugin-react-hooks": "^5.2.0",
6365
"npm-run-all": "^4.1.5",
64-
"prettier": "^3.5.3",
65-
"serwist": "^9.0.13",
66-
"typescript": "^5.8.3",
67-
"typescript-eslint": "^8.30.1"
66+
"prettier": "^3.6.2",
67+
"serwist": "^9.1.1",
68+
"typescript": "^5.9.2",
69+
"typescript-eslint": "^8.40.0"
6870
}
6971
}

0 commit comments

Comments
 (0)