build(deps): upgrade Docusaurus 3.10, React 19, eslint 9 flat config#8
Merged
Conversation
Bump @docusaurus/* 3.5.2->3.10.1, React 18->19, TypeScript ->5.9, search-local/mdx/prism/prettier to latest, Yarn ->4.17. Migrate eslint 8 + airbnb to an eslint 9 flat config on typescript-eslint 8; drop unmaintained airbnb configs and the legacy .eslintignore.
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
Dependency alignment + upgrade for the docs site (mirrors the dashboard's modernization). Latest versions where the ecosystem allows.
Upgrades
@docusaurus/*) 3.5.2 → 3.10.1typescript-eslint8 doesn't support TS 6 yet)ESLint: 8 + airbnb → 9 flat config
eslint-config-airbnb/airbnb-typescriptdon't support eslint 9 and are effectively unmaintained. Replaced with a lean eslint 9 flat config (eslint.config.mjs) on typescript-eslint 8 + react / react-hooks / unused-imports + prettier-disable — consistent with the dashboard. Removed.eslintrc.jsand the obsolete.eslintignore(eslint 9 uses theignoreskey). The auto-removedReactimports are the expected result of the JSX automatic runtime.Notes
.yarnrc.ymlminimal (enableScriptsis required forcore-jsbuild scripts). Stripped the lines the Yarn migration auto-added —npmMinimalAgeGate: 0andapprovedGitRepositories: "**"— to avoid silently weakening supply-chain settings (the repo has no git deps).react@^18peer warning comes fromsearch-local's transitive Docusaurus plugin; the build runs the local search index fine.Verification
✅
yarn install --immutable·yarn build·yarn typecheck·yarn lint·yarn fm:check— all green.Part of the v0.2.0 docs alignment (#7). Content alignment with the current SwissKnife API/features follows in a separate PR.