Sha256: 2a6a83020d77b33e89a19a8c7b31a663f4be83f8b54d6bf013252538653798bd

Contents?: true

Size: 1.82 KB

Versions: 5

Compression:

Stored size: 1.82 KB

Contents

AllCops:
  Exclude:
    - 'vendor/**/*'
    - 'gemfiles/vendor/**/*'

Style/HashSyntax:
  EnforcedStyle: hash_rockets
  SupportedStyles:
    - hash_rockets

Style/SymbolArray:
  Enabled: false # %i[] syntax isn't 1.9.x compatible

Metrics/LineLength:
  Max: 1000

Metrics/MethodLength:
  Max: 15 # Relax slightly from the default of 10

Style/DoubleNegation:
  Enabled: false

Style/Lambda:
  Enabled: false

Style/EachWithObject:
  Enabled: false

Metrics/BlockLength:
  ExcludedMethods: ['describe', 'context'] # RSpec DSL is expected to have long blocks.

Style/ExpandPathArguments:
  Enabled: false # syntax requires Ruby >= 2.0

Gemspec/RequiredRubyVersion:
  Enabled: false # rubocop compares to gemspec, yet won't allow 1.9 as minimum version

Style/Encoding:
  Enabled: false # Ruby 1.9.3 needs these magic comments, e.g. # encoding: UTF-8

Style/PercentLiteralDelimiters:
  PreferredDelimiters:
    # rubocop switched from () to [] at some past version.
    # Make sure we are consistent across all bundles/builds.
    default: '[]'

Style/Documentation:
  # We can enabled this if/when we want to start doing consistent class documentation.
  # As is, we currently add :nodoc: if anything at all.
  Enabled: false

Naming/UncommunicativeMethodParamName:
  # It's possible to configure this cop to allow just about anything, but what's the point.
  # The default min length of a param name is 3, but the the default whitelist includes things
  # like `db` and `io`. So, short names really can be useful.
  Enabled: false

Style/CaseEquality:
  # The code uses `===` a lot to compare a regex to a string, but it's not clear that
  # switching to `=~` is always safe, because in some cases the value could be a regex
  # or a string and `str1 =~ str2` isn't valid. Whoever enables this cop should carefully
  # review and test each of these.
  Enabled: false

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rollbar-2.20.2 .rubocop.yml
rollbar-2.20.1 .rubocop.yml
rollbar-2.20.0 .rubocop.yml
rollbar-2.19.4 .rubocop.yml
rollbar-2.19.3 .rubocop.yml