Sha256: 7583ad8b6b91adf17664c9d3a17ca1040d5b1f22a5e4dee65ed5bece0c614426

Contents?: true

Size: 1.02 KB

Versions: 3

Compression:

Stored size: 1.02 KB

Contents

---
require: rubocop-rspec
inherit_from: .rubocop_todo.yml

AllCops:
  TargetRubyVersion: 2.2
  DisplayCopNames: true
  Exclude:
    - 'tmp/**/*'

Style/MixinGrouping:
  Exclude:
    - 'spec/**/*.rb'

Metrics/BlockLength:
  CountComments: false  # count full line comments?
  Exclude:
    - '**/*_spec.rb'

StringLiterals:
  EnforcedStyle: single_quotes
  Enabled: true

DotPosition:
  EnforcedStyle: leading
  Enabled: true

ClassAndModuleChildren:
  EnforcedStyle: nested
  Enabled: true

Documentation:
  Enabled: false

FileName:
  Enabled: true

LineLength:
  Max: 120
  Enabled: true

Style/ExtraSpacing:
  Enabled: true

Lint/LiteralInInterpolation:
  AutoCorrect: true

Style/ModuleFunction:
  EnforcedStyle: extend_self # Allows us to have private methods too

Style/PercentLiteralDelimiters:
  # Hound and CodeClimate are currently using an old version of Rubocop with
  # different defaults, so we set them explicitly here.
  PreferredDelimiters:
    default: ()
    '%i': '[]'
    '%I': '[]'
    '%r': '{}'
    '%w': '[]'
    '%W': '[]'

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
machinist_redux-3.0.3 .rubocop.yml
machinist_redux-3.0.2 .rubocop.yml
machinist_redux-3.0.0 .rubocop.yml