tym
tym5d ago

Accessing the `Deno.lint` namespace for Intellisense

Hello, I have been trying to author a Deno.lint plugin following the guide. However, I can't get VSCode to recognize the namespace to get Intellisense to work. I just get the error: Namespace 'Deno' has no exported member 'lint'.deno-ts(2694) I know that the API is labeled unstable , I have enabled deno.lint and tried deno.unstable = true in .vscode/settings.json but to no avail. Does anyone know how to do this?
1 Reply
marvinh.
marvinh.4d ago
This sounds like you're on an old Deno version. This should work out of the box in recent Deno versions without any settings needed. Can you check which Deno version you're on and if updating to the latest Deno version resolves it?

Did you find this page helpful?