Sha256: 9bca2a6e37931a955e5b30755b7ba1accdbf5e2d917c817c31f2a96114b1a3a1

Contents?: true

Size: 1.16 KB

Versions: 2

Compression:

Stored size: 1.16 KB

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.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

# I couldn't come up with code clean enough
# For now I gave up following Metrics cops
Metrics:
  Enabled: false

Security/Eval:
  Exclude:
    - 'test/**/*.rb'

Style/ClassVars:
  Enabled: false

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

2 entries across 2 versions & 1 rubygems

Version Path
tiny_hooks-2.0.0 .rubocop.yml
tiny_hooks-1.0.0 .rubocop.yml