Skip to content

Commit 5219174

Browse files
committed
Sweeping package upgrade
Signed-off-by: Yi Nuo <218099172+yi-nuo426@users.noreply.github.com>
1 parent 45c2497 commit 5219174

2 files changed

Lines changed: 2 additions & 8 deletions

File tree

eslint.config.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ const tsParser = require("@typescript-eslint/parser");
33
const react = require("eslint-plugin-react");
44
const reactHooks = require("eslint-plugin-react-hooks");
55
const typescript = require("@typescript-eslint/eslint-plugin");
6-
const importPlugin = require("eslint-plugin-import");
76
const globals = require("globals");
87

98
module.exports = [
@@ -57,14 +56,12 @@ module.exports = [
5756
react,
5857
"react-hooks": reactHooks,
5958
"@typescript-eslint": typescript,
60-
"import": importPlugin,
6159
},
6260

6361
rules: {
6462
...js.configs.recommended.rules,
6563
...typescript.configs.recommended.rules,
6664
...reactHooks.configs.recommended.rules,
67-
"import/first": "error",
6865
},
6966

7067
settings: {
@@ -106,14 +103,12 @@ module.exports = [
106103
react,
107104
"react-hooks": reactHooks,
108105
"@typescript-eslint": typescript,
109-
"import": importPlugin,
110106
},
111107

112108
rules: {
113109
...js.configs.recommended.rules,
114110
...typescript.configs.recommended.rules,
115111
...reactHooks.configs.recommended.rules,
116-
"import/first": "error",
117112
},
118113

119114
settings: {

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,15 +56,12 @@
5656
"@types/lodash": "^4.17.24",
5757
"@types/react": "^19.2.14",
5858
"@types/react-dom": "^19.2.3",
59-
"react": "^19.2.4",
60-
"react-dom": "^19.2.4",
6159
"@types/react-redux": "^7.1.34",
6260
"@typescript-eslint/eslint-plugin": "^8.57.2",
6361
"@typescript-eslint/parser": "^8.57.2",
6462
"commitizen": "^4.3.1",
6563
"cz-conventional-changelog": "^3.3.0",
6664
"eslint": "^10.1.0",
67-
"eslint-plugin-import": "^2.32.0",
6865
"eslint-plugin-react": "^7.37.5",
6966
"eslint-plugin-react-hooks": "^7.0.1",
7067
"eslint-plugin-react-refresh": "^0.5.2",
@@ -76,6 +73,8 @@
7673
"notistack": "^3.0.2",
7774
"prettier": "^3.8.1",
7875
"prettier-plugin-organize-imports": "^4.3.0",
76+
"react": "^19.2.4",
77+
"react-dom": "^19.2.4",
7978
"react-error-boundary": "^6.1.1",
8079
"react-markdown": "^10.1.0",
8180
"react-redux": "^9.2.0",

0 commit comments

Comments
 (0)