chore: update dependencies and adopt React/Vue eslint presets#17
Merged
Conversation
Bumps all kits to the latest @adonisjs/core, @adonisjs/eslint-config (3.1),
eslint (10.4), typescript (6.0.3) and related deps. Vite stays on 7 because
@adonisjs/vite hasn't shipped a stable release for vite 8 yet, and
@inertiajs/{react,vue3} stay on the 2.3 line.
Wires the new @adonisjs/eslint-config/react and /vue presets in the inertia
kits and pulls in their required eslint plugins. Inertia-vue turns off
vue/component-api-style for inertia/**/*.ts (it false-positives on the
render function inside createApp()). Inertia-react adds npm + pnpm overrides
to relax eslint-plugin-react's outdated eslint peer range.
Also drops the deprecated baseUrl from inertia/tsconfig.json in both kits
and applies the lint --fix cleanups (type-only imports, rel=noreferrer,
v-slot longhand, attribute ordering) that the new presets surfaced.
filipebraida
added a commit
to filipebraida/alumni-v2
that referenced
this pull request
May 30, 2026
…slint Bump das libs sobrepostas ao kit inertia-react do PR adonisjs/starter-kits#17 (mantém @inertiajs/react em 2.3.24, sem major): @adonisjs/core 7.3.3, @vinejs/vine 4.4, better-sqlite3 12.10, typescript 6.0.3, vite 7.3.3, react/react-dom 19.2.6, entre outras. Adota o preset React do @adonisjs/eslint-config (configApp(...react)) com eslint-plugin-react + eslint-plugin-react-hooks e adiciona o `overrides` npm pra relaxar o peer de eslint-plugin-react com eslint 10. O `pnpm.overrides` do kit foi descartado: pnpm v11 ignora e só avisa. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
@adonisjs/core7.3.3,@adonisjs/eslint-config3.1,eslint10.4,typescript6.0.3,@vinejs/vine4.4,better-sqlite312.10,prettier3.8.3,@types/node25.9, plus framework-specific ones (@inertiajs/{react,vue3}2.3.24,@vitejs/plugin-vue6.0.7,vue3.5.35,vue-tsc3.3.2,react/react-dom19.2.6,alpinejs3.15.12,edge.js6.5.1,turbo2.9.16).vitestays on 7 (@adonisjs/vite@5.1.1doesn't accept vite 8 yet — only a6.0.0-next.1exists),@vitejs/plugin-reactstays on 5 (v6 needs vite 8),@inertiajs/{react,vue3}stay on 2.3 (per maintainer preference).configApp(...react)/configApp(...vue)and adds the required eslint plugins (eslint-plugin-react,eslint-plugin-react-hooks,eslint-plugin-vue).inertia-vueturns offvue/component-api-styleforinertia/**/*.tsonly — the rule false-positives on therender:key insidecreateApp({ render: () => h(...) })ininertia/app.ts. SFCs still get it enforced.inertia-reactadds npmoverrides+pnpm.overridesto relaxeslint-plugin-react@7.37.5's eslint peer range (still pinned to ≤9, blocksERESOLVEon install with eslint 10). Can be removed once the plugin ships an eslint-10-compatible release.baseUrl: "."frominertia/tsconfig.jsonin both inertia kits (TS6 deprecation).eslint --fixcleanups surfaced by the new presets: type-only imports,rel="noreferrer"on target=_blank links,v-slotlonghand, attribute ordering, and a couple of small refactors (shadowedpagerename inssr.tsx, hoistingusePage().urlout of auseEffectdeps array).Test plan
npm installclean in all five kits (api, api-monorepo, hypermedia, inertia-react, inertia-vue)npm run lintpassesnpm run typecheckpassesnpm run buildproduces a buildnode bin/server.jsfrom each kit's build directory returns HTTP 200 on/turbo lint,turbo typecheck,turbo buildall green