Skip to content

Equivalence with lintr #6

@etiennebacher

Description

@etiennebacher

https://lintr.r-lib.org/dev/reference/#individual-linters

  • absolute_path_linter - Hard, see Absolute paths detection is broken #42
  • any_duplicated_linter
  • any_is_na_linter
  • assignment_linter
  • backport_linter
  • boolean_arithmetic_linter
  • brace_linter
  • class_equals_linter
  • commas_linter
  • commented_code_linter - Not possible since this only appears as kind "comment" in tree-sitter. Potentially: Highlight ROxygen tags r-lib/tree-sitter-r#68
  • comparison_negation_linter
  • condition_call_linter
  • condition_message_linter
  • conjunct_test_linter
  • consecutive_assertion_linter
  • cyclocomp_linter
  • duplicate_argument_linter
  • empty_assignment_linter
  • equals_na_linter
  • expect_comparison_linter
  • expect_identical_linter
  • expect_length_linter
  • expect_named_linter
  • expect_not_linter
  • expect_null_linter
  • expect_s3_class_linter
  • expect_s4_class_linter
  • expect_true_false_linter
  • expect_type_linter
  • extraction_operator_linter - deprecated
  • fixed_regex_linter
  • for_loop_index_linter
  • function_argument_linter
  • function_left_parentheses_linter
  • function_return_linter
  • if_not_else_linter
  • if_switch_linter
  • ifelse_censor_linter Won't implement, I think it makes the code less readable
  • implicit_assignment_linter
  • implicit_integer_linter Won't implement, I think this is rarely useful and makes the code less readable
  • indentation_linter
  • infix_spaces_linter
  • inner_combine_linter
  • is_numeric_linter
  • keyword_quote_linter
  • length_levels_linter
  • length_test_linter
  • lengths_linter
  • library_call_linter
  • line_length_linter
  • list_comparison_linter
  • literal_coercion_linter
  • matrix_apply_linter
  • missing_argument_linter
  • missing_package_linter won't do: this requires semantic analysis, can't be done with ast-grep
  • namespace_linter won't do: this requires semantic analysis, can't be done with ast-grep
  • nested_ifelse_linter
  • nested_pipe_linter
  • nonportable_path_linter
  • nrow_subset_linter
  • numeric_leading_zero_linter
  • nzchar_linter
  • object_length_linter
  • object_name_linter
  • object_overwrite_linter
  • object_usage_linter won't do: this requires semantic analysis, can't be done with ast-grep
  • one_call_pipe_linter
  • outer_negation_linter
  • package_hooks_linter
  • paren_body_linter
  • paste_linter
  • pipe_call_linter
  • pipe_consistency_linter
  • pipe_continuation_linter
  • pipe_return_linter
  • print_linter
  • quotes_linter
  • redundant_equals_linter
  • redundant_ifelse_linter
  • regex_subset_linter
  • rep_len_linter
  • repeat_linter
  • routine_registration_linter
  • sample_int_linter
  • scalar_in_linter
  • semicolon_linter removed: this is related to formatting only and handled by air
  • seq_linter
  • sort_linter
  • spaces_inside_linter
  • spaces_left_parentheses_linter
  • sprintf_linter
  • stopifnot_all_linter
  • string_boundary_linter
  • strings_as_factors_linter
  • system_file_linter
  • T_and_F_symbol_linter
  • terminal_close_linter
  • todo_comment_linter
  • trailing_blank_lines_linter
  • trailing_whitespace_linter
  • undesirable_function_linter
  • undesirable_operator_linter
  • unnecessary_concatenation_linter
  • unnecessary_lambda_linter
  • unnecessary_nesting_linter
  • unnecessary_placeholder_linter
  • unreachable_code_linter
  • unused_import_linter won't do: this requires semantic analysis, can't be done with ast-grep
  • vector_logic_linter
  • which_grepl_linter
  • whitespace_linter
  • yoda_test_linter

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions