Skip to content

Commit

Permalink
Auto-correct RuboCop offenses for Style/StringLiterals
Browse files Browse the repository at this point in the history
  • Loading branch information
Dany Marcoux committed Jun 9, 2020
1 parent 9e3e760 commit 9d45974
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
8 changes: 0 additions & 8 deletions src/api/.rubocop_todo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -661,14 +661,6 @@ Style/RescueStandardError:
Style/SafeNavigation:
Enabled: false

# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
# SupportedStyles: single_quotes, double_quotes
Style/StringLiterals:
Exclude:
- 'config/initializers/inflector.rb'

# Offense count: 380
# Cop supports --auto-correct.
# Configuration parameters: MinSize.
Expand Down
4 changes: 2 additions & 2 deletions src/api/config/initializers/inflector.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ActiveSupport::Inflector.inflections do |inflect|
inflect.acronym("openSUSE")
inflect.acronym("OpenSUSE")
inflect.acronym('openSUSE')
inflect.acronym('OpenSUSE')
end

0 comments on commit 9d45974

Please sign in to comment.