diff --git a/.rubocop.yml b/.rubocop.yml index f9d86d4..d7e7790 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,6 +1,32 @@ # Omakase Ruby styling for Rails inherit_gem: { rubocop-rails-omakase: rubocop.yml } +Style/TrailingCommaInArguments: + EnforcedStyleForMultiline: consistent_comma +Style/TrailingCommaInArrayLiteral: + EnforcedStyleForMultiline: consistent_comma +Style/TrailingCommaInHashLiteral: + EnforcedStyleForMultiline: consistent_comma +Style/StringLiterals: + Enabled: true + EnforcedStyle: double_quotes + Include: + - "app/**/*" + - "config/**/*" + - "lib/**/*" + - "spec/**/*" + - "Gemfile" +Style/StringLiteralsInInterpolation: + EnforcedStyle: double_quotes + Include: + - "app/**/*" + - "config/**/*" + - "lib/**/*" + - "spec/**/*" + - "Gemfile" +Bundler/OrderedGems: + Enabled: true + # Overwrite or add rules to create your own house style # # # Use `[a, [b, c]]` not `[ a, [ b, c ] ]`