Skip to content

Commit

Permalink
Inherit rubocop config from govuk-lint
Browse files Browse the repository at this point in the history
By inheriting rubocop configuration from the govuk-lint gem we can stay
in sync with upstream changes by updating the gem.

We extend the base config to enable the Rails and Rspec cops then rein
in the Rspec cops a bit as they are a bit too agressive by default.

The large-block cop is excluded from the rails config dir since it is
expected to always have large blocks.
  • Loading branch information
chrisfarms committed Dec 14, 2017
1 parent 247d5d5 commit 0fa2101
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 853 deletions.
Loading

0 comments on commit 0fa2101

Please sign in to comment.