Sha256: 2b568fa87b7adcfb3adb83e022d6b515f375b25c09105c9779850c639ad87085

Contents?: true

Size: 1.35 KB

Versions: 15

Compression:

Stored size: 1.35 KB

Contents

require: rubocop-rspec

AllCops:
  TargetRubyVersion: 2.4.0
  Exclude:
    - 'vendor/**/*'
    - 'tmp/**/*'
    - 'spec/spec_helper.rb'

# The defaults for these seem to be based on a rails env, this is not rails.
Metrics/ModuleLength:
  CountComments: false
  Max: 250

Metrics/ClassLength:
  Max: 250

Metrics/MethodLength:
  Max: 20

Metrics/AbcSize:
  Max: 25

Metrics/CyclomaticComplexity:
  Max: 8

Metrics/PerceivedComplexity:
  Max: 10

# it's 2016, people have wide monitors.
Metrics/LineLength:
  Enabled: false

Metrics/BlockLength:
  Exclude:
    - 'Guardfile'
    - '*.gemspec'
    - 'spec/**/*'

# we exclude these two files since they are generated, the rest of our projects
# should use // style regexps.
Style/RegexpLiteral:
  EnforcedStyle: slashes
  AllowInnerSlashes: true
  Exclude:
    - 'Guardfile'
    - '*.gemspec'

# Prefer single-quoted strings when you don't need string interpolation or special symbols
Style/StringLiterals:
  Enabled: false

Style/WordArray:
  EnforcedStyle: brackets

Style/FrozenStringLiteralComment:
  Enabled: false

Style/MixinUsage:
  Exclude:
  - 'bin/*'

# Specs don't need inline documentation.
Style/Documentation:
  Enabled: true
  Exclude:
    - 'spec/**/*'

RSpec/NamedSubject:
  Enabled: false

Lint/Debugger:
  Enabled: false

# Purty hashes.
Layout/AlignHash:
  EnforcedHashRocketStyle: table
  EnforcedColonStyle: table

Version data entries

15 entries across 15 versions & 3 rubygems

Version Path
hilight-0.4.0 .rubocop.yml
hilight-0.3.0 .rubocop.yml
hilight-0.2.0 .rubocop.yml
hilight-0.1.1 .rubocop.yml
hilight-0.1.0 .rubocop.yml
creatable-2.3.1 .rubocop.yml
creatable-2.3.0 .rubocop.yml
creatable-2.2.1 .rubocop.yml
creatable-2.2.0 .rubocop.yml
creatable-2.1.1 .rubocop.yml
creatable-2.1.0 .rubocop.yml
pushover-2.0.0 .rubocop.yml
creatable-2.0.1 .rubocop.yml
creatable-2.0.0 .rubocop.yml
creatable-1.0.1 .rubocop.yml