Sha256: 0c127366d3be6831e197c685ce8487bfa0576f711cb096f520fa82624cf62e6a

Contents?: true

Size: 1.16 KB

Versions: 5

Compression:

Stored size: 1.16 KB

Contents

---
AllCops:
  Exclude:
    - '*.gemspec'
    - 'spec/**/*'

Style/TrailingCommaInArguments:
  EnforcedStyleForMultiline: no_comma
  Enabled: true

StringLiterals:
  EnforcedStyle: single_quotes
  Enabled: true

LineLength:
  Max: 120
  Exclude:
    - 'spec/**/*'

MethodLength:
  Max: 12

DotPosition:
  Description: 'Checks the position of the dot in multi-line method calls.'
  EnforcedStyle: leading
  Enabled: true

ClassAndModuleChildren:
  Description: 'Checks style of children classes and modules.'
  EnforcedStyle: nested
  Enabled: true

Documentation:
  Description: 'Document classes and non-namespace modules.'
  Enabled: false

FileName:
  Description: 'Use snake_case for source file names.'
  Enabled: true

Style/SymbolArray:
  Description: 'Use %i or %I for arrays of symbols.'
  StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#percent-i'
  Enabled: false # Only available in Ruby 2.0+

Style/ExtraSpacing:
  Description: 'Do not use unnecessary spacing.'
  Enabled: true

Lint/LiteralInInterpolation:
  Description: 'Avoid interpolating literals in strings'
  AutoCorrect: true

Metrics/ClassLength:
  CountComments: false  # count full line comments?
  Max: 200

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
url_canonicalize-0.1.12 .rubocop.yml
url_canonicalize-0.1.11 .rubocop.yml
url_canonicalize-0.1.10 .rubocop.yml
url_canonicalize-0.1.9 .rubocop.yml
url_canonicalize-0.1.5 .rubocop.yml