Skip to content

Add ability to disable auto-correct for a single linter #406

@gael-ian

Description

@gael-ian

Currently this gem does not allow to disable auto-correct for a single linter in its configuration. This could be useful to check offenses in code but let developpers fix them by hand. Recently added linter for strict locals is a good example: its auto-correct add <%# locals: () %>\n at the beginning of a view partial but doing so break it as no locale variables will be allowed to be passed on a render call.

RuboCop allows to disable auto-correct per cops and it should be nice to be able to do the same thing in ERB lint.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions