Skip to content

Commit

Permalink
issue #504: bump robocop to v0.91.0 and update cop names to match
Browse files Browse the repository at this point in the history
  • Loading branch information
ColinDKelley committed Nov 27, 2020
1 parent b64a1cc commit 108ed36
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ group :development do
gem 'netrc', require: false
gem 'octokit', require: false
gem 'pry-rescue'
gem 'rubocop', '~> 0.49.0' # TODO: should match Gemfile HoundCi
gem 'rubocop', '0.91.0'
gem 'yard', require: false
end
10 changes: 5 additions & 5 deletions vendor/hound/config/style_guides/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ Naming/PredicateName:
- is_
- has_
- have_
NamePrefixBlacklist:
ForbiddenPrefixes:
- is_
Exclude:
- spec/**/*
Expand Down Expand Up @@ -118,23 +118,23 @@ Style/TrailingCommaInArguments:
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-trailing-array-commas'
Enabled: false
EnforcedStyleForMultiline: no_comma
SupportedStyles:
SupportedStylesForMultiline:
- comma
- consistent_comma
- no_comma
Style/TrailingCommaInArrayLiteral:
Description: 'Checks for trailing comma in array literals.'
Enabled: false
EnforcedStyleForMultiline: no_comma
SupportedStyles:
SupportedStylesForMultiline:
- comma
- consistent_comma
- no_comma
Style/TrailingCommaInHashLiteral:
Description: 'Checks for trailing comma in hash literals.'
Enabled: false
EnforcedStyleForMultiline: no_comma
SupportedStyles:
SupportedStylesForMultiline:
- comma
- consistent_comma
- no_comma
Expand Down Expand Up @@ -237,7 +237,7 @@ Style/WhenThen:
Lint/EachWithObjectArgument:
Description: Check for immutable argument given to each_with_object.
Enabled: true
Lint/HandleExceptions:
Lint/SuppressedException:
Description: Don't suppress exception.
StyleGuide: https://github.com/bbatsov/ruby-style-guide#dont-hide-exceptions
Enabled: false
Expand Down

0 comments on commit 108ed36

Please sign in to comment.