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/config/get-public-path-invalid.md.

config/get-public-path-invalid

  • Category: correctness
  • Default severity: error

Issue

The runtime cannot evaluate an invalid stringified public-path function.

How to fix it

Use a stringified function, arrow function, or return statement.

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

Sources