diff --git a/biome.json b/biome.json index 4011dcfe47..a5a129ee34 100644 --- a/biome.json +++ b/biome.json @@ -91,6 +91,7 @@ "noUselessConstructor": "warn", "noUselessContinue": "warn", "noUselessEmptyExport": "warn", + "noUselessEscapeInRegex": "warn", "noUselessFragments": "warn", "noUselessLabel": "warn", "noUselessLoneBlockStatements": "warn", @@ -149,11 +150,21 @@ "noUnreachableSuper": "warn", "noUnsafeFinally": "warn", "noUnsafeOptionalChaining": "warn", - "noUnusedFunctionParameters": "off", + "noUnusedFunctionParameters": { + "level": "warn", + "options": { + "ignoreRestSiblings": true + } + }, "noUnusedImports": "warn", "noUnusedLabels": "warn", "noUnusedPrivateClassMembers": "warn", - "noUnusedVariables": "warn", + "noUnusedVariables": { + "level": "warn", + "options": { + "ignoreRestSiblings": true + } + }, "noVoidElementsWithChildren": "warn", "noVoidTypeReturn": "warn", "useExhaustiveDependencies": "off", @@ -189,6 +200,21 @@ "noNonNullAssertion": "off", "noParameterAssign": "off", "noParameterProperties": "warn", + "noRestrictedImports": { + "level": "warn", + "options": { + "paths": { + "react": { + "importNames": ["default"], + "message": "Use named imports instead." + }, + "react-dom": { + "importNames": ["default"], + "message": "Use named imports instead." + } + } + } + }, "noRestrictedGlobals": "warn", "noShoutyConstants": "warn", "noUnusedTemplateLiteral": "warn", @@ -270,6 +296,7 @@ "noMisleadingInstantiator": "warn", "noMisplacedAssertion": "off", "noMisrefactoredShorthandAssign": "warn", + "noOctalEscape": "warn", "noPrototypeBuiltins": "warn", "noReactSpecificProps": "off", "noRedeclare": "warn", diff --git a/package.json b/package.json index a19ce1a36e..1a8c3e09a0 100644 --- a/package.json +++ b/package.json @@ -53,41 +53,41 @@ }, "devDependencies": { "@babel/preset-typescript": "^7.27.1", - "@biomejs/biome": "2.0.6", - "@eslint/markdown": "^6.6.0", + "@biomejs/biome": "2.1.2", + "@eslint/markdown": "^7.0.0", "@faker-js/faker": "^9.9.0", - "@ianvs/prettier-plugin-sort-imports": "^4.4.2", + "@ianvs/prettier-plugin-sort-imports": "^4.5.1", "@linaria/core": "^6.3.0", - "@tanstack/react-router": "^1.121.21", - "@tanstack/router-plugin": "^1.124.0", - "@types/node": "^24.0.10", + "@tanstack/react-router": "^1.128.0", + "@tanstack/router-plugin": "^1.128.0", + "@types/node": "^24.0.14", "@types/react": "^19.1.3", "@types/react-dom": "^19.1.3", - "@typescript-eslint/eslint-plugin": "^8.35.1", - "@typescript-eslint/parser": "^8.35.1", + "@typescript-eslint/eslint-plugin": "^8.37.0", + "@typescript-eslint/parser": "^8.37.0", "@vitejs/plugin-react-oxc": "^0.2.3", "@vitest/browser": "^3.2.4", "@vitest/coverage-v8": "^3.2.4", "@vitest/eslint-plugin": "^1.3.4", "@wyw-in-js/rollup": "^0.7.0", "@wyw-in-js/vite": "^0.7.0", - "eslint": "^9.30.1", + "eslint": "^9.31.0", "eslint-plugin-jest-dom": "^5.5.0", "eslint-plugin-react": "^7.37.4", "eslint-plugin-react-compiler": "^19.1.0-rc.2", "eslint-plugin-react-hooks": "^5.2.0", - "eslint-plugin-react-hooks-extra": "^1.51.3", + "eslint-plugin-react-hooks-extra": "^1.52.3", "eslint-plugin-sonarjs": "^3.0.4", - "eslint-plugin-testing-library": "^7.5.0", + "eslint-plugin-testing-library": "^7.6.0", "jspdf": "^3.0.1", "jspdf-autotable": "^5.0.2", - "playwright": "^1.53.2", + "playwright": "^1.54.1", "postcss": "^8.5.2", "prettier": "3.6.2", "react": "^19.1.0", "react-dom": "^19.1.0", - "rolldown": "^1.0.0-beta.9", - "rolldown-plugin-dts": "^0.13.13", + "rolldown": "^1.0.0-beta.28", + "rolldown-plugin-dts": "^0.13.14", "typescript": "~5.8.2", "vite": "npm:rolldown-vite@^7.0.1", "vitest": "^3.2.4",