readability_linters: Readability linters

readability_lintersR Documentation

Readability linters

Description

Linters highlighting readability issues, such as missing whitespace.

Linters

The following linters are tagged with 'readability':

  • boolean_arithmetic_linter

  • brace_linter

  • commas_linter

  • commented_code_linter

  • comparison_negation_linter

  • conjunct_test_linter

  • consecutive_assertion_linter

  • consecutive_mutate_linter

  • cyclocomp_linter

  • empty_assignment_linter

  • expect_length_linter

  • expect_named_linter

  • expect_not_linter

  • expect_true_false_linter

  • fixed_regex_linter

  • for_loop_index_linter

  • function_left_parentheses_linter

  • function_return_linter

  • if_not_else_linter

  • if_switch_linter

  • implicit_assignment_linter

  • indentation_linter

  • infix_spaces_linter

  • inner_combine_linter

  • is_numeric_linter

  • keyword_quote_linter

  • length_levels_linter

  • lengths_linter

  • library_call_linter

  • line_length_linter

  • matrix_apply_linter

  • nested_ifelse_linter

  • nested_pipe_linter

  • numeric_leading_zero_linter

  • object_length_linter

  • object_overwrite_linter

  • object_usage_linter

  • one_call_pipe_linter

  • outer_negation_linter

  • paren_body_linter

  • pipe_call_linter

  • pipe_consistency_linter

  • pipe_continuation_linter

  • quotes_linter

  • redundant_equals_linter

  • rep_len_linter

  • repeat_linter

  • sample_int_linter

  • scalar_in_linter

  • semicolon_linter

  • sort_linter

  • spaces_inside_linter

  • spaces_left_parentheses_linter

  • stopifnot_all_linter

  • string_boundary_linter

  • system_file_linter

  • T_and_F_symbol_linter

  • unnecessary_concatenation_linter

  • unnecessary_lambda_linter

  • unnecessary_nesting_linter

  • unnecessary_placeholder_linter

  • unreachable_code_linter

  • which_grepl_linter

  • yoda_test_linter

See Also

linters for a complete list of linters available in lintr.


r-lib/lintr documentation built on Dec. 20, 2024, 7:24 p.m.