Sha256: e1fdf1cec78b9855284cff1eb61547f19572c572e4005de57c33955c9d82d00c

Contents?: true

Size: 1023 Bytes

Versions: 1

Compression:

Stored size: 1023 Bytes

Contents

---

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

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

AllCops:
  Exclude:
    - 'bin/**'
    - 'Rakefile'
    - 'tiny_hooks.gemspec'
  NewCops: enable
  EnabledByDefault: true
  TargetRubyVersion: 2.7

# 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/MethodLength:
  Max: 15

Style/ConstantVisibility:
  Exclude:
    - 'lib/tiny_hooks/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

# There are so many cases we just want `if` expression!
Style/MissingElse:
  EnforcedStyle: case

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tiny_hooks-0.1.0 .rubocop.yml