For AI agents: the complete documentation index is available at https://mfdoctor.kevinbeier.com/1.0.0/de/llms.txt, the full documentation bundle is available at https://mfdoctor.kevinbeier.com/1.0.0/de/llms-full.txt, and this page is available as Markdown at https://mfdoctor.kevinbeier.com/1.0.0/de/rules/config/expose-key-invalid.md.

Dies ist die deutsche MFDoctor-Dokumentation. Technische Bezeichner, CLI-Flags, Regel-IDs und Codebeispiele bleiben unverändert, damit die Inhalte zwischen den Sprachen vollständig kompatibel bleiben. Verwenden Sie den Sprachumschalter für die kanonische englische Fassung.

config/expose-key-invalid

  • Kategorie: correctness
  • Standardschweregrad: error

Problem

Consumers cannot address an expose whose public key does not follow the ./Name form.

So beheben Sie das Problem

Rename the key to start with ./ and update consumer imports.

Suppress or retarget with rules["config/expose-key-invalid"] set to "off" or a severity — see Suppressions and allowlists.

Quellen