Sha256: c718ca7243ffb173e1b20137927454db73d3141e53b628faa0edda04cb4f1d3c

Contents?: true

Size: 1.21 KB

Versions: 1

Compression:

Stored size: 1.21 KB

Contents

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

# 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

# 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

# No particular reason to prefer array style,
# two different styles suit in different situations.
Style/SymbolArray:
  Enabled: false

Style/WordArray:
  Enabled: false

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rubocop-gem_dev-0.5.0 config/rubocop.yml