Skip to content

Deno lint rule no-undef and Temporal: Temporal is not defined #1336

@maximilian-hammerl

Description

@maximilian-hammerl

There seems to be no way to forward unstable flags to deno lint.
deno lint --unstable-temporal and deno lint --config deno.json with "unstable": ["temporal"], do not work.

Lint Name

no-undef

Code Snippet

Temporal.Now.instant()

Expected Result

deno lint understand, that Temporal is defined

Actual Result

error[no-undef]: Temporal is not defined

Version

deno 1.46.3 (stable, release, aarch64-apple-darwin)
v8 12.9.202.5-rusty
typescript 5.5.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions