supabase/deno-check
Runs deno check on the entry file of every edge function.
Part of the supabase configuration, at the recommended level. It runs at the push stage, once per scope. It runs deno.
The project compiler cannot resolve the import map of a function, so only Deno can check its types.
What to do
Section titled “What to do”Fix the first error Deno prints; later ones often come from the same mistake.
Example
Section titled “Example”An edge function that assigns a string to a number variable reports a type error. Correct the value or the type.
Turn it off
Section titled “Turn it off”Turn it off for some files, with a reason:
gspot ignore supabase/deno-check --paths "<glob>" --reason "<why>"