Skip to content

string_boundary_linter #1310

Closed
Closed
@MichaelChirico

Description

@MichaelChirico

This is a linter that looks for usages that should be startsWith() or endsWith() that use e.g. grepl("^fixed_string", x), substring(x, 1, 4) == "abcd", etc.

Pushing to add it to the 3.0.0 release so that our internal package doesn't need to keep maintaining the C code associated with fixed_regex_linter now that it's R-based in lintr.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions