For AI agents: the complete documentation index is available at https://mfdoctor.kevinbeier.com/llms.txt, the full documentation bundle is available at https://mfdoctor.kevinbeier.com/llms-full.txt, and this page is available as Markdown at https://mfdoctor.kevinbeier.com/rules/shared/eager-without-singleton.md.

shared/eager-without-singleton

  • Category: performance
  • Default severity: warning

Issue

An eager non-singleton can add copies to initial chunks without guaranteeing reuse.

How to fix it

Make it singleton when safe, or remove eager loading.

Suppress or retarget with rules["shared/eager-without-singleton"] set to "off" or a severity — see Suppressions and allowlists.

Sources