Skip to content

Idea: Provide a set of custom linters for Rubocop #239

@paulrobertlloyd

Description

@paulrobertlloyd

On Apply, we’re looking to implement a number of custom linters for Rubocop to check for standard Rails helpers being used instead of GOV.UK specific ones, i.e. here’s one to check that we’re using f.govuk_submit instead of f.submit: DFE-Digital/apply-for-teacher-training@a21ba48

Given this project supersedes a number of rails form helpers, was wondering whether it might be a good idea for it to supply a set of similar cops to lint against forms that don’t use the correct form helpers?

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