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

Use all_linters() instead of using tags #1207

Merged
merged 1 commit into from
May 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions .lintr
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
linters: linters_with_tags(
tags = NULL,
linters: all_linters(
commented_code_linter = NULL,
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Just a more intuitive API to access all offered linters.

cyclocomp_linter = cyclocomp_linter(40),
fixed_regex_linter = NULL,
function_argument_linter = NULL,
indentation_linter = NULL,
line_length_linter(120L),
namespace_linter = NULL,
nested_ifelse_linter = NULL,
nzchar_linter = NULL,
IndrajeetPatil marked this conversation as resolved.
Show resolved Hide resolved
object_name_linter = NULL,
object_length_linter(70L),
Expand Down
Loading