Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unexpected argument --allow-import found with deno lint #27318

Closed
securesvet opened this issue Dec 10, 2024 · 0 comments · Fixed by #27321
Closed

unexpected argument --allow-import found with deno lint #27318

securesvet opened this issue Dec 10, 2024 · 0 comments · Fixed by #27321
Assignees
Labels
bug Something isn't working correctly lint Issues related to deno lint

Comments

@securesvet
Copy link

securesvet commented Dec 10, 2024

Version: Deno 2.1.3

When trying to use deno -I lint in project of mine deno cli outputs the following:

 error: unexpected argument '--allow-import' found

  tip: 'lint --allow-import' exists

Usage: deno lint [OPTIONS] [files]...

But! When I try to use deno lint --allow-import this problem pops out:

error: unexpected argument '--allow-import' found

 tip: to pass '--allow-import' as a value, use '-- --allow-import'

Usage: deno lint [OPTIONS] [files]...

Needless to say, that passing flag as an argument doesn't fix the issue

This bug occurs on CI using ubuntu runner and on my local Ubuntu machine.
Couldn't find --allow-import mentioned as an available parameter on docs, so I'm confused

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working correctly lint Issues related to deno lint
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants