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]: Not linting on non-existing package #107

Open
radbasa opened this issue Jun 7, 2024 · 0 comments
Open

[LINT_BUG]: Not linting on non-existing package #107

radbasa opened this issue Jun 7, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@radbasa
Copy link
Collaborator

radbasa commented Jun 7, 2024

box.linters version

0.9.1

Sample source code to lint

box::use(sttttr, )

Lint command used

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

Lint result

<text>:1:10: warning: [box_unused_att_pkg_linter] Attached package unused.
box::use(stttr, )
         ^~~~~

Expected result

Should lint on non-existing package

@radbasa radbasa added the bug Something isn't working label Jul 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant