Skip to content
This repository has been archived by the owner on Jan 6, 2020. It is now read-only.

Commit

Permalink
Merge pull request #119 from alphagov/depend-on-rubocop-rails
Browse files Browse the repository at this point in the history
Add dependency on new rubocop-rails gem
  • Loading branch information
benthorner authored Jun 26, 2019
2 parents 380b0d0 + 6590f2b commit c8558e1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion configs/rubocop/all.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
AllCops:
DisplayCopNames:
DisplayCopNames:
Description: 'Display cop names in offense messages'
Enabled: true

Expand All @@ -11,6 +11,8 @@ AllCops:
Description: 'Display style guide URLs in offense messages.'
Enabled: true

require: rubocop-rails

inherit_from:
- gds-ruby-styleguide.yml
- other-lint.yml
Expand Down
1 change: 1 addition & 0 deletions govuk-lint.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ Gem::Specification.new do |spec|
spec.add_development_dependency "rake"
spec.add_development_dependency "rspec", "~> 3.3"

spec.add_dependency "rubocop-rails", "~> 2"
spec.add_dependency "rubocop", "~> 0.64"
spec.add_dependency "rubocop-rspec", "~> 1.28"
spec.add_dependency "scss_lint"
Expand Down

0 comments on commit c8558e1

Please sign in to comment.