AllCops: # Exclude auto-generated files by Rails Exclude: - 'vendor/bundle/**/*' # Items in Gemfile are dev dependencies and we don't have to specify versions. Bundler/GemVersion: Enabled: false # ABC size 20 is pretty well-done actually. Metrics/AbcSize: Max: 20 # We usually have LICENSE file that describes copyright information. Style/Copyright: Enabled: false # Double negation is a famous Ruby idiom, # why not using it with confidence? Style/DoubleNegation: Enabled: false # It's absolutely fine to use inline comments Style/InlineComment: Enabled: false # Changing require order affects code execution # This should not be a style cop Style/RequireOrder: Enabled: false # No particular reason to prefer array style, # two different styles suit in different situations. Style/SymbolArray: Enabled: false Style/WordArray: Enabled: false