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

feat: add no-import-prefix rule #1361

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

marvinhagemeister
Copy link
Contributor

Went a bit back and forth on the name, but I feel like no-import-prefix might be clearer than non-bare-import. Don't have strong feelings about that though.

Fixes #1238

Comment on lines +18 to +20
fn tags(&self) -> &'static [&'static str] {
&[]
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm worrying that ppl will not use this rule because it's not enabled by default. Let's think about a way we could conditionally enable it in deno if we discover deno.json or package.json - in such cases you're not writing a one-off script but have a project and you should centralize dependencies.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Lint rule for non-bare specifier
2 participants