#Disable single error message in astro toolbar audit

3 messages · Page 1 of 1 (latest)

stable siren
#

In the audit section inside the astro toolbar I get the error: "Use the image componet". I am already using the unpic/astro image component that seems superior because it genereates a srcset. How to disable this single error?

cyan copperBOT
#

Hi @stable siren. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:

#

I'm sorry, but the knowledge sources do not contain information about disabling a single specific error or audit message (such as "Use the image component") in the Astro dev toolbar's audit section. The documentation explains how to disable the entire dev toolbar per project or per user, but not how to suppress or customize individual audit checks or error messages within the toolbar itself Disabling the dev toolbar.

If you want to disable the dev toolbar entirely, you can do so in your astro.config.mjs or via the CLI, but fine-grained control over individual audit messages is not documented. You may want to follow Astro's GitHub or community channels for updates or feature requests regarding more granular audit controls.

Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: