diff --git a/eslint.config.js b/eslint.config.js index 1b51495358..e94437ee9d 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -95,6 +95,7 @@ export default defineConfig([ 'no-sparse-arrays': 1, 'no-template-curly-in-string': 1, 'no-this-before-super': 0, + 'no-unassigned-vars': 1, 'no-undef': 0, 'no-unexpected-multiline': 0, 'no-unmodified-loop-condition': 1, @@ -105,7 +106,7 @@ export default defineConfig([ 'no-unsafe-optional-chaining': [1, { disallowArithmeticOperators: true }], 'no-unused-private-class-members': 0, 'no-unused-vars': 0, // replaced by @typescript-eslint/no-unused-vars - 'no-use-before-define': 0, // replaced by @typescript-eslint/no-use-before-define + 'no-use-before-define': 0, 'no-useless-backreference': 1, 'require-atomic-updates': 1, 'use-isnan': [1, { enforceForIndexOf: true }], @@ -178,7 +179,7 @@ export default defineConfig([ 'no-lone-blocks': 1, 'no-lonely-if': 1, 'no-loop-func': 0, - 'no-magic-numbers': 0, // replaced by @typescript-eslint/no-magic-numbers + 'no-magic-numbers': 0, 'no-multi-assign': 0, 'no-multi-str': 1, 'no-negated-condition': 0, @@ -210,7 +211,7 @@ export default defineConfig([ 'no-return-await': 0, // replaced by @typescript-eslint/return-await 'no-script-url': 1, 'no-sequences': [1, { allowInParentheses: false }], - 'no-shadow': 0, // replaced by @typescript-eslint/no-shadow + 'no-shadow': 0, 'no-shadow-restricted-names': 1, 'no-ternary': 0, 'no-throw-literal': 0, // replaced by @typescript-eslint/only-throw-error diff --git a/package.json b/package.json index b32c1477ce..10c1dbe59c 100644 --- a/package.json +++ b/package.json @@ -63,23 +63,23 @@ "@types/node": "^22.15.16", "@types/react": "^19.1.3", "@types/react-dom": "^19.1.3", - "@typescript-eslint/eslint-plugin": "^8.32.0", - "@typescript-eslint/parser": "^8.32.0", - "@vitejs/plugin-react": "^4.4.1", - "@vitest/browser": "^3.1.3", - "@vitest/coverage-v8": "^3.1.3", - "@vitest/eslint-plugin": "^1.1.44", + "@typescript-eslint/eslint-plugin": "^8.33.1", + "@typescript-eslint/parser": "^8.33.1", + "@vitejs/plugin-react": "^4.5.1", + "@vitest/browser": "^3.2.3", + "@vitest/coverage-v8": "^3.2.3", + "@vitest/eslint-plugin": "^1.2.1", "@wyw-in-js/rollup": "^0.6.0", "@wyw-in-js/vite": "^0.6.0", "browserslist": "^4.24.5", - "eslint": "^9.26.0", + "eslint": "^9.28.0", "eslint-plugin-jest-dom": "^5.5.0", "eslint-plugin-react": "^7.37.4", - "eslint-plugin-react-compiler": "^19.1.0-rc.1", + "eslint-plugin-react-compiler": "^19.1.0-rc.2", "eslint-plugin-react-hooks": "^5.2.0", - "eslint-plugin-react-hooks-extra": "^1.49.0", + "eslint-plugin-react-hooks-extra": "^1.51.3", "eslint-plugin-sonarjs": "^3.0.2", - "eslint-plugin-testing-library": "^7.1.1", + "eslint-plugin-testing-library": "^7.5.0", "jspdf": "^3.0.1", "jspdf-autotable": "^5.0.2", "playwright": "^1.52.0", @@ -93,7 +93,7 @@ "rolldown-plugin-dts": "^0.13.3", "typescript": "~5.8.2", "vite": "^6.3.5", - "vitest": "^3.1.3", + "vitest": "^3.2.3", "vitest-browser-react": "^0.2.0" }, "peerDependencies": { diff --git a/vite.config.ts b/vite.config.ts index 32fd853f0d..bdc807deb2 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -89,7 +89,7 @@ export default defineConfig(({ command }) => ({ sequence: { shuffle: true }, - workspace: [ + projects: [ { extends: true, test: {