Add Hound rules for Rails and ERB template linting

Description

Update Rubocop preferences so Hound can complain about:

  • Rails best practices and coding conventions (see Rubocop extension and the style guide it enforces).

  • Linting rules on ERB or HTML files (erb-lint), which covers Ruby/Rails code in the templates. erb-lint can also nag about CSS classes we no longer want to keep using.

rubocop-rails and erb-lint need to be added at the same time for compatibility reasons: https://github.com/Shopify/erb-lint/issues/130.

How to test: none, it's just Hound.

DeployedToBeta

Assignee

redsummernight

Reporter

redsummernight

Roadmap

None

Priority

Medium

Affects versions

Fix versions

Components

AutomatedTests

Difficulty

Easy

Milestone

Internal 0.9
Configure