Skip to content

Commit fcc52ab

Browse files
authored
vitest@3.2.3, eslint@9.28.0 (adazzle#3798)
* `vitest@3.2.3` * use `using` * Update eslint * Revert "use `using`" This reverts commit 99d875a.
1 parent 64605fa commit fcc52ab

File tree

3 files changed

+16
-15
lines changed

3 files changed

+16
-15
lines changed

eslint.config.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ export default defineConfig([
9595
'no-sparse-arrays': 1,
9696
'no-template-curly-in-string': 1,
9797
'no-this-before-super': 0,
98+
'no-unassigned-vars': 1,
9899
'no-undef': 0,
99100
'no-unexpected-multiline': 0,
100101
'no-unmodified-loop-condition': 1,
@@ -105,7 +106,7 @@ export default defineConfig([
105106
'no-unsafe-optional-chaining': [1, { disallowArithmeticOperators: true }],
106107
'no-unused-private-class-members': 0,
107108
'no-unused-vars': 0, // replaced by @typescript-eslint/no-unused-vars
108-
'no-use-before-define': 0, // replaced by @typescript-eslint/no-use-before-define
109+
'no-use-before-define': 0,
109110
'no-useless-backreference': 1,
110111
'require-atomic-updates': 1,
111112
'use-isnan': [1, { enforceForIndexOf: true }],
@@ -178,7 +179,7 @@ export default defineConfig([
178179
'no-lone-blocks': 1,
179180
'no-lonely-if': 1,
180181
'no-loop-func': 0,
181-
'no-magic-numbers': 0, // replaced by @typescript-eslint/no-magic-numbers
182+
'no-magic-numbers': 0,
182183
'no-multi-assign': 0,
183184
'no-multi-str': 1,
184185
'no-negated-condition': 0,
@@ -210,7 +211,7 @@ export default defineConfig([
210211
'no-return-await': 0, // replaced by @typescript-eslint/return-await
211212
'no-script-url': 1,
212213
'no-sequences': [1, { allowInParentheses: false }],
213-
'no-shadow': 0, // replaced by @typescript-eslint/no-shadow
214+
'no-shadow': 0,
214215
'no-shadow-restricted-names': 1,
215216
'no-ternary': 0,
216217
'no-throw-literal': 0, // replaced by @typescript-eslint/only-throw-error

package.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -63,23 +63,23 @@
6363
"@types/node": "^22.15.16",
6464
"@types/react": "^19.1.3",
6565
"@types/react-dom": "^19.1.3",
66-
"@typescript-eslint/eslint-plugin": "^8.32.0",
67-
"@typescript-eslint/parser": "^8.32.0",
68-
"@vitejs/plugin-react": "^4.4.1",
69-
"@vitest/browser": "^3.1.3",
70-
"@vitest/coverage-v8": "^3.1.3",
71-
"@vitest/eslint-plugin": "^1.1.44",
66+
"@typescript-eslint/eslint-plugin": "^8.33.1",
67+
"@typescript-eslint/parser": "^8.33.1",
68+
"@vitejs/plugin-react": "^4.5.1",
69+
"@vitest/browser": "^3.2.3",
70+
"@vitest/coverage-v8": "^3.2.3",
71+
"@vitest/eslint-plugin": "^1.2.1",
7272
"@wyw-in-js/rollup": "^0.6.0",
7373
"@wyw-in-js/vite": "^0.6.0",
7474
"browserslist": "^4.24.5",
75-
"eslint": "^9.26.0",
75+
"eslint": "^9.28.0",
7676
"eslint-plugin-jest-dom": "^5.5.0",
7777
"eslint-plugin-react": "^7.37.4",
78-
"eslint-plugin-react-compiler": "^19.1.0-rc.1",
78+
"eslint-plugin-react-compiler": "^19.1.0-rc.2",
7979
"eslint-plugin-react-hooks": "^5.2.0",
80-
"eslint-plugin-react-hooks-extra": "^1.49.0",
80+
"eslint-plugin-react-hooks-extra": "^1.51.3",
8181
"eslint-plugin-sonarjs": "^3.0.2",
82-
"eslint-plugin-testing-library": "^7.1.1",
82+
"eslint-plugin-testing-library": "^7.5.0",
8383
"jspdf": "^3.0.1",
8484
"jspdf-autotable": "^5.0.2",
8585
"playwright": "^1.52.0",
@@ -93,7 +93,7 @@
9393
"rolldown-plugin-dts": "^0.13.3",
9494
"typescript": "~5.8.2",
9595
"vite": "^6.3.5",
96-
"vitest": "^3.1.3",
96+
"vitest": "^3.2.3",
9797
"vitest-browser-react": "^0.2.0"
9898
},
9999
"peerDependencies": {

vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ export default defineConfig(({ command }) => ({
8989
sequence: {
9090
shuffle: true
9191
},
92-
workspace: [
92+
projects: [
9393
{
9494
extends: true,
9595
test: {

0 commit comments

Comments
 (0)