D
Deno

help

Deno linting not working

Zzen8/3/2023
Hello everyone, I enabled deno for a subpath in my project (./supabase) but unfortunately I'm not getting any linting or autocomplete. If I type "console.log" for example, I get absolutely no linting, hovering over objects also shows nothing. This happens even if deno is enabled globally. Here is my config file:
{
"deno.enable": true,
"deno.enablePaths": ["./supabase/functions"]
}
{
"deno.enable": true,
"deno.enablePaths": ["./supabase/functions"]
}
Here is my package.json
{
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start"
},
"dependencies": {
"@emotion/react": "^11.11.1",
"@mantine/core": "^6.0.17",
"@mantine/form": "^6.0.17",
"@mantine/hooks": "^6.0.17",
"@mantine/modals": "^6.0.17",
"@mantine/notifications": "^6.0.17",
"@mantine/nprogress": "^6.0.17",
"@react-icons/all-files": "^4.1.0",
"@supabase/auth-helpers-nextjs": "latest",
"@supabase/supabase-js": "latest",
"autoprefixer": "10.4.14",
"next": "latest",
"postcss": "8.4.24",
"react": "18.2.0",
"react-dom": "18.2.0",
"tailwindcss": "3.3.2",
"typescript": "5.1.3"
},
"devDependencies": {
"@types/node": "20.3.1",
"@types/react": "18.2.12",
"@types/react-dom": "18.2.5",
"encoding": "^0.1.13",
"supabase": "^1.82.6"
}
}
{
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start"
},
"dependencies": {
"@emotion/react": "^11.11.1",
"@mantine/core": "^6.0.17",
"@mantine/form": "^6.0.17",
"@mantine/hooks": "^6.0.17",
"@mantine/modals": "^6.0.17",
"@mantine/notifications": "^6.0.17",
"@mantine/nprogress": "^6.0.17",
"@react-icons/all-files": "^4.1.0",
"@supabase/auth-helpers-nextjs": "latest",
"@supabase/supabase-js": "latest",
"autoprefixer": "10.4.14",
"next": "latest",
"postcss": "8.4.24",
"react": "18.2.0",
"react-dom": "18.2.0",
"tailwindcss": "3.3.2",
"typescript": "5.1.3"
},
"devDependencies": {
"@types/node": "20.3.1",
"@types/react": "18.2.12",
"@types/react-dom": "18.2.5",
"encoding": "^0.1.13",
"supabase": "^1.82.6"
}
}
Zzen8/3/2023
And here's what my .ts file under deno looks like, it's a supabase edge function Ok im retarded deno isn't installed its working now

Looking for more? Join the community!