Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ updates:
patterns: ["oxlint*", "oxfmt", "eslint-plugin-playwright"]
types:
patterns: ["@types/*"]
vitest:
patterns: ["vitest", "@vitest/*"]
# Groups match in order, so this only catches dev deps not grouped above.
dev-minor-patch:
dependency-type: "development"
update-types: ["minor", "patch"]
ignore:
- dependency-name: "nitro" # intentionally tracks the v3 beta "latest"
# @typescript/native-preview (tsgo) ships daily dev builds; bump it by
Expand Down
48 changes: 24 additions & 24 deletions oxlint.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,37 +84,37 @@ export default defineConfig({
"jsdoc/empty-tags": "error",
"jsdoc/implements-on-classes": "error",

// Native oxlint implementation: the JS-plugin variant (react-hooks-js/hooks)
// does not catch conditional/looped hook calls, so use the native rule.
"react-hooks/rules-of-hooks": "error",

"react-hooks-js/hooks": "error",
"react-hooks-js/capitalized-calls": "error",
"react-hooks-js/component-hook-factories": "error",
"react-hooks-js/no-deriving-state-in-effects": "error",
"react-hooks-js/memo-dependencies": "error",
// React Compiler rules: native oxlint ports, with the JS plugin only for rules not yet ported.
// Overlap on most violations, but only rules-of-hooks flags non-component callers and
// only hooks flags first-class hook usage.
"react/rules-of-hooks": "error",
"react/hooks": "error",
"react/capitalized-calls": "error",
"react/no-deriving-state-in-effects": "error",
"react/memo-dependencies": "error",
// Newer/noisier effect-dependency rules: start as warnings.
"react/exhaustive-effect-dependencies": "warn",
"react-hooks-js/memoized-effect-dependencies": "warn",
"react-hooks-js/exhaustive-effect-dependencies": "warn",

"react-hooks-js/static-components": "error",
"react-hooks-js/use-memo": "error",
"react-hooks-js/void-use-memo": "error",
"react-hooks-js/preserve-manual-memoization": "error",
"react-hooks-js/incompatible-library": "warn",
"react-hooks-js/immutability": "error",
"react-hooks-js/globals": "error",
"react-hooks-js/refs": "error",
"react-hooks-js/set-state-in-effect": "error",
"react-hooks-js/error-boundaries": "error",
"react-hooks-js/purity": "error",
"react-hooks-js/set-state-in-render": "error",
"react-hooks-js/unsupported-syntax": "warn",
"react/static-components": "error",
"react/use-memo": "error",
"react/void-use-memo": "error",
"react/preserve-manual-memoization": "error",
"react/incompatible-library": "warn",
"react/immutability": "error",
"react/globals": "error",
"react/refs": "error",
"react/set-state-in-effect": "error",
"react/error-boundaries": "error",
"react/purity": "error",
"react/set-state-in-render": "error",
"react/unsupported-syntax": "warn",
"react-hooks-js/component-hook-factories": "error",
"react-hooks-js/config": "error",
"react-hooks-js/gating": "error",

// "You Might Not Need an Effect" rules (heuristic; start as warnings).
// no-derived-state is omitted: it overlaps react-hooks-js/no-deriving-state-in-effects.
// no-derived-state is omitted: it overlaps react/no-deriving-state-in-effects.
"no-effect/no-chain-state-updates": "warn",
"no-effect/no-event-handler": "warn",
"no-effect/no-adjust-state-on-prop-change": "warn",
Expand Down
34 changes: 17 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,21 +23,21 @@
"postinstall": "lefthook install"
},
"dependencies": {
"@tanstack/react-devtools": "^0.10.5",
"@tanstack/react-router": "^1.170.15",
"@tanstack/react-router-devtools": "^1.167.0",
"@tanstack/react-start": "^1.168.25",
"@tanstack/router-plugin": "^1.168.18",
"@tanstack/react-devtools": "^0.10.12",
"@tanstack/react-router": "^1.170.38",
"@tanstack/react-router-devtools": "^1.167.2",
"@tanstack/react-start": "^1.168.56",
"@tanstack/router-plugin": "^1.168.40",
"react": "^19.2.7",
"react-dom": "^19.2.7",
"tailwindcss": "^4.3.1"
},
"devDependencies": {
"@babel/core": "^7.29.7",
"@playwright/test": "^1.60.0",
"@playwright/test": "^1.63.0",
"@rolldown/plugin-babel": "^0.2.3",
"@tailwindcss/vite": "^4.3.1",
"@tanstack/devtools-vite": "^0.7.0",
"@tanstack/devtools-vite": "^0.8.5",
"@tanstack/eslint-plugin-router": "^1.162.0",
"@testing-library/dom": "^10.4.1",
"@testing-library/jest-dom": "^6.9.1",
Expand All @@ -48,27 +48,27 @@
"@types/react": "^19.2.17",
"@types/react-dom": "^19.2.3",
"@typescript/native-preview": "7.0.0-dev.20260527.2",
"@vitejs/plugin-react": "^6.0.2",
"@vitest/coverage-v8": "^4.1.8",
"@vitejs/plugin-react": "^6.1.1",
"@vitest/coverage-v8": "^4.1.11",
"babel-plugin-react-compiler": "^1.0.0",
"eslint-plugin-check-file": "^3.3.1",
"eslint-plugin-playwright": "^2.10.4",
"eslint-plugin-playwright": "^2.12.0",
"eslint-plugin-react-hooks": "^7.1.1",
"eslint-plugin-react-you-might-not-need-an-effect": "^1.0.0",
"eslint-plugin-react-you-might-not-need-an-effect": "^1.0.2",
"eslint-plugin-testing-library": "^7.16.2",
"fallow": "^2.89.0",
"fallow": "^2.104.0",
"jsdom": "^29.1.1",
"lefthook": "^2.1.9",
"nitro": "latest",
"oxfmt": "^0.54.0",
"oxlint": "^1.69.0",
"oxlint-tsgolint": "^0.23.0",
"oxfmt": "^0.58.0",
"oxlint": "^1.83.0",
"oxlint-tsgolint": "^7.0.2002",
"rollup-plugin-visualizer": "^7.0.1",
"stylelint": "^17.13.0",
"stylelint": "^17.15.0",
"stylelint-config-standard": "^40.0.0",
"typescript": "^6.0.3",
"vite": "^8.0.16",
"vitest": "^4.1.8",
"vitest": "^4.1.11",
"vitest-axe": "^0.1.0"
},
"packageManager": "[email protected]"
Expand Down
Loading
Loading