Skip to content

Conversation

@tylerbutler
Copy link
Member

Summary

Migrates the server/routerlicious workspace from ESLint 8 (eslintrc format) to ESLint 9 (flat config format).

  • Add ESLint 9 and all required plugin dependencies to the workspace root
  • Create shared eslint.config.base.mts with routerlicious-specific rule overrides
  • Convert all 20 packages from .eslintrc.cjs to eslint.config.mts
  • Remove deprecated .eslintignore files (patterns now in flat config)
  • Use link: protocol to reference shared eslint-config-fluid from common/build
  • Add DEV.md documenting the transitive dependency workaround for the link: protocol

This mirrors the ESLint 9 migration done for the build-tools workspace in the bt-eslint9 branch.

Migrate the server/routerlicious workspace from ESLint 8 with eslintrc
to ESLint 9 with flat config (eslint.config.mts files).

Changes:
- Add ESLint 9 and all required plugin dependencies to workspace root
- Create shared eslint.config.base.mts with routerlicious-specific overrides
- Convert all 20 packages to flat config format
- Remove deprecated .eslintrc.cjs and .eslintignore files
- Use link: protocol to reference shared eslint-config-fluid from common/build
Document the transitive dependency workaround required when using the
link: protocol to reference eslint-config-fluid. Lists all duplicated
ESLint plugin dependencies and explains when the workaround can be
removed (when eslint-config-fluid is published to npm or workspaces
are consolidated).
Add common/build/eslint-config-fluid to the pipeline trigger paths since
server/routerlicious now depends on the shared ESLint config via link:
protocol. This ensures the pipeline runs when ESLint rules change.
tylerbutler and others added 9 commits January 12, 2026 17:11
…feed 404s

Pin package versions to avoid 404 errors when CI fetches packages from
the Azure DevOps package feed. The following newly released versions
were not yet available in the ADO publicPackages feed:

- @typescript-eslint/[email protected] -> 8.52.0
- @typescript-eslint/[email protected] -> 8.52.0
- @babel/* 7.28.x -> 7.27.x

These overrides can be removed once the packages are mirrored to ADO.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant