For AI agents: the complete documentation index is available at https://mfdoctor.kevinbeier.com/1.0.0/llms.txt, the full documentation bundle is available at https://mfdoctor.kevinbeier.com/1.0.0/llms-full.txt, and this page is available as Markdown at https://mfdoctor.kevinbeier.com/1.0.0/rules/bridge/router-implicit-enable.md.

bridge/router-implicit-enable

  • Category: tooling
  • Default severity: info

Issue

Rspack may auto-enable Bridge router when the Bridge package is present; leaving bridge.enableBridgeRouter implicit hides the routing contract from reviewers and CI.

How to fix it

Set bridge: { enableBridgeRouter: true } (or false) explicitly. Allow demos to stay implicit with allowImplicitBridgeRouter: true or set the rule to "off".

Suppress or retarget with rules["bridge/router-implicit-enable"] set to "off" or a severity — see Suppressions and allowlists.

Sources