config/rubocop.yml in rubocop-gem_dev-0.4.0 vs config/rubocop.yml in rubocop-gem_dev-0.5.0

- old
+ new

@@ -1,9 +1,13 @@ AllCops: # Exclude auto-generated files by Rails Exclude: - 'vendor/bundle/**/*' + # Enable all cops + # This setting allows us to use latest cops without explicit enabling + NewCops: enable + EnabledByDefault: true # Items in Gemfile are dev dependencies and we don't have to specify versions. Bundler/GemVersion: Enabled: false @@ -21,9 +25,13 @@ Enabled: false # It's absolutely fine to use inline comments Style/InlineComment: Enabled: false + +# These methods are often used without parentheses +Style/MethodCallWithArgsParentheses: + AllowedMethods: ['require', 'require_relative', 'include', 'extend', 'puts', 'p', 'warn', 'raise', 'send', 'public_send', 'alias_method'] # Changing require order affects code execution # This should not be a style cop Style/RequireOrder: Enabled: false