Sha256: 383144a877edd443033a3fd903d66f8f68df09341e0cfa96eeb1fceee41a95c6

Contents?: true

Size: 1.1 KB

Versions: 1

Compression:

Stored size: 1.1 KB

Contents

---

inherit_gem:
  rubocop-sensible: 'config/rubocop.yml'

require:
  - rubocop-minitest
  - rubocop-performance
  - rubocop-rake

AllCops:
  Exclude:
    - 'Rakefile'
    - 'alba.gemspec'
    - 'benchmark/**/*.rb'
  NewCops: enable
  EnabledByDefault: true
  TargetRubyVersion: 2.5

# Oneline comment is not valid so until it gets valid, we disable it
Bundler/GemComment:
  Enabled: false

Layout/SpaceInsideHashLiteralBraces:
  EnforcedStyle: no_space

Layout/MultilineAssignmentLayout:
  EnforcedStyle: same_line

Lint/ConstantResolution:
  Enabled: false

Metrics/ClassLength:
  Exclude:
    - 'test/alba_test.rb'

Metrics/MethodLength:
  Max: 15

# Resource class includes DSLs, which tend to accept long list of parameters
Metrics/ParameterLists:
  Exclude:
    - 'lib/alba/resource.rb'

Style/ConstantVisibility:
  Exclude:
    - 'lib/alba/version.rb'

Style/Copyright:
  Enabled: false

# I know what I do :)
Style/DisableCopsWithinSourceCodeDirective:
  Enabled: false

Style/FrozenStringLiteralComment:
  Enabled: false

Style/InlineComment:
  Enabled: false

Style/MethodCallWithArgsParentheses:
  Enabled: false

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
alba-1.0.0 .rubocop.yml