consistency_linters: Consistency linters

consistency_lintersR Documentation

Consistency linters

Description

Linters checking enforcing a consistent alternative if there are multiple syntactically valid ways to write something.

Linters

The following linters are tagged with 'consistency':

  • assignment_linter

  • class_equals_linter

  • comparison_negation_linter

  • condition_message_linter

  • consecutive_assertion_linter

  • consecutive_mutate_linter

  • function_argument_linter

  • if_not_else_linter

  • if_switch_linter

  • implicit_integer_linter

  • inner_combine_linter

  • is_numeric_linter

  • keyword_quote_linter

  • length_levels_linter

  • literal_coercion_linter

  • nested_pipe_linter

  • nrow_subset_linter

  • numeric_leading_zero_linter

  • nzchar_linter

  • object_name_linter

  • paste_linter

  • print_linter

  • quotes_linter

  • redundant_ifelse_linter

  • rep_len_linter

  • scalar_in_linter

  • seq_linter

  • system_file_linter

  • T_and_F_symbol_linter

  • unnecessary_nesting_linter

  • which_grepl_linter

  • whitespace_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.