We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Just discovered this hard-to-debug issue:
# pre-3.0.0 usage my_linters <- with_defaults(default = list(), no_tab_linter()) writeLines(names(my_linters)) # no_tab_linter
OK, we get a warning:
Warning message: Function with_defaults was deprecated in lintr version 2.0.9001. Use linters_with_defaults instead.
So we switch:
my_linters <- linters_with_defaults(default = list(), no_tab_linter()) writeLines(names(my_linters)) # assignment_linter # ... # default # ... # vector_logic_linter
i.e., default= is taken as part of the ... arguments, and we don't start from a blank (list()) override.
default=
...
list()
Probably we should allow default= to work in linters_with_defaults(), with warning.
linters_with_defaults()
(Or perhaps this pluralization was an oversight?)
The text was updated successfully, but these errors were encountered:
The renaming was deliberate, but "default" is unlikely to be a name for a linter so we can add a safety net.
"default"
Sorry, something went wrong.
MichaelChirico
Successfully merging a pull request may close this issue.
Just discovered this hard-to-debug issue:
OK, we get a warning:
So we switch:
i.e.,
default=
is taken as part of the...
arguments, and we don't start from a blank (list()
) override.Probably we should allow
default=
to work inlinters_with_defaults()
, with warning.(Or perhaps this pluralization was an oversight?)
The text was updated successfully, but these errors were encountered: