.rubocop.yml in foyer-0.2.2 vs .rubocop.yml in foyer-0.3.1

- old
+ new

@@ -1,7 +1,6 @@ AllCops: - RunRailsCops: true Exclude: # Rubocop's default - 'vendor/**/*' # To ensure smooth `rake rails:update`, we exclude some of the Rails' generated files # please add new Rails' generated files to this list after running `rake rails:update` (if any) @@ -27,23 +26,32 @@ - 'config/unicorn.rb' - 'config/initializers/devise.rb' # Add your exclude files specific to this project here - 'spec/dummy/config/initializers/secret_token.rb' +Rails: + Enabled: true + Style/AlignParameters: Enabled: true EnforcedStyle: with_fixed_indentation Style/Documentation: Enabled: false +Style/FrozenStringLiteralComment: + Enabled: false + # If the project still supporting ruby 1.8, uncomment the following lines to force Rubocop # to use old hash_rockets syntax, if left commented, Rubocop will force the newer ruby19 syntax # Style/HashSyntax: # EnforcedStyle: hash_rockets -Style/SingleSpaceBeforeFirstArg: +Style/SpaceBeforeFirstArg: Enabled: false + +Style/SignalException: + EnforcedStyle: semantic ##################### Metrics ################################## Metrics/LineLength: Max: 120