supabase/deno-lint
Runs deno lint over every edge function with its own deno.json.
Part of the supabase configuration, at the recommended level. It runs at the commit stage, once per scope. It runs deno.
Edge functions run under Deno, and its linter covers runtime APIs that the Node rules miss.
What to do
Section titled “What to do”Change the code the way the rule says; deno lint --rules explains each one.
Example
Section titled “Example”An Edge Function declaring var greeting = "hello"; reports no-var. Use const greeting = "hello"; instead.
Turn it off
Section titled “Turn it off”Turn it off for some files, with a reason:
gspot ignore supabase/deno-lint --paths "<glob>" --reason "<why>"