Commit 3933502
committed
fix(functions): resolve deno lint errors in generated edge function template
the template generated by 'supabase functions new' produces deno lint errors
on line 6 due to inline jsr: import without version specifier:
import jsr:@supabase/functions-js/edge-runtime.d.ts
this triggers two default deno lint rules:
- no-import-prefix: inline jsr: dependency not allowed
- no-unversioned-import: missing version in specifier
fix moves the dependency declaration to deno.json with proper versioning
and updates index.ts to use bare specifier import as recommended by deno.
closes #44241 parent 03a9671 commit 3933502
2 files changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
3 | 5 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
0 commit comments