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

[LINT_BUG]: duplicate package imports aren't linted #149

Open
TymekDev opened this issue Oct 18, 2024 · 0 comments
Open

[LINT_BUG]: duplicate package imports aren't linted #149

TymekDev opened this issue Oct 18, 2024 · 0 comments

Comments

@TymekDev
Copy link

TymekDev commented Oct 18, 2024

box.linters version

v0.10.5

Sample source code to lint

box::use(
  shiny,
  shiny,
)

shiny$shinyApp()

Lint command used

code <- "box::use(
  shiny,
  shiny,
)

shiny$shinyApp()"

lintr::lint(
  code,
  linters = lintr::linters_with_defaults(defaults = box.linters::rhino_default_linters)
)

Lint result

None, linter passes.

Expected result

I expected to receive a lint telling me about a doubled import.

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

No branches or pull requests

1 participant