You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The lint rule no-undefhttps://docs.deno.com/lint/rules/no-undef/ says that it disallows undeclared variables, but I wouldn't expect this to apply to globally available variables like document.
error[no-undef]: document is not defined
--> /Users/soul/Projects/lint/main.ts:1:13
|
1 | console.log(document);
| ^^^^^^^^
docs: https://lint.deno.land/rules/no-undef
Found 1 problem
Checked 1 file
The text was updated successfully, but these errors were encountered:
Version: Deno 2.1.4
The lint rule
no-undef
https://docs.deno.com/lint/rules/no-undef/ says that it disallows undeclared variables, but I wouldn't expect this to apply to globally available variables likedocument
.deno.json
main.ts
terminal
The text was updated successfully, but these errors were encountered: