Skip to content

Metric: Robustness lints #38

@dgkf

Description

@dgkf

Today we discussed adding lintr's robustness lints, which are lints for relatively unopinionated good programming practices that are potentially error-prone.

As far as implementation goes, we considered two approaches:

  1. Either calculate all lints internally, then surface robustness lints as a metric. This allows extension packages to re-use this data for the purpose of surfacing more opinionated lints.
  2. Calculate only robustness lints, which should be significantly faster, but would require that for more opinionated use cases, all lints would have to be re-executed.

We decided to go with (2) because running all lints can be quite costly for large code bases and we wouldn't be able to handle the case where organizations might even have custom lints that they wish to add, so (1) might require re-execution anyways.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    In Progress

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions