Sha256: dbff36d1c25cc228a64a2f9875a172ac5579c5d40f82d986878ee9bfafc06a81

Contents?: true

Size: 1.58 KB

Versions: 10

Compression:

Stored size: 1.58 KB

Contents

require:
  - rubocop-minitest
  - rubocop-performance

AllCops:
  DisplayCopNames: true
  DisplayStyleGuide: true
  TargetRubyVersion: 2.6
  Exclude:
    - "tmp/**/*"
    - "vendor/**/*"

Layout/LineLength:
  Exclude:
    - "*.gemspec"
    - "test/**/*"

Metrics/AbcSize:
  Max: 20
  Exclude:
    - "test/**/*"

Metrics/BlockLength:
  Exclude:
    - "*.gemspec"
    - "Rakefile"
    - "bin/lazylead"
    - "test/**/*"

Metrics/ClassLength:
  Exclude:
    - "test/**/*"

Metrics/MethodLength:
  Max: 15
  Exclude:
    - "test/**/*"

Metrics/ParameterLists:
  Max: 3

Layout/HashAlignment:
  EnforcedColonStyle:
    - table
    - key
  EnforcedHashRocketStyle:
    - table
    - key

Layout/EmptyLineAfterGuardClause:
  Enabled: false

Layout/EndOfLine:
  EnforcedStyle: lf

Layout/SpaceAroundMethodCallOperator:
  Enabled: true

Style/HashSyntax:
  EnforcedStyle: ruby19

Style/StringLiterals:
  EnforcedStyle: double_quotes

Style/TrivialAccessors:
  AllowPredicates: true

Style/ExponentialNotation:
  Enabled: true

Style/HashEachMethods:
  Enabled: true

Style/HashTransformKeys:
  Enabled: true

Style/HashTransformValues:
  Enabled: true

# @todo #/DEV accuracy.rb is using % symbol in text message and rubocop
#  complains about it. It's false-positive violation, thus, for now ignored for this file
Style/FormatStringToken:
  Exclude:
    - "lib/lazylead/task/accuracy/accuracy.rb"

Lint/RaiseException:
  Enabled: true

Lint/StructNewOverride:
  Enabled: true

# @todo #/DEV Add violation regarding methods without documentation using RDoc
#  https://stackoverflow.com/questions/1681467/how-to-document-ruby-code

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
lazylead-0.6.2 .rubocop.yml
lazylead-0.6.1 .rubocop.yml
lazylead-0.6.0 .rubocop.yml
lazylead-0.5.2 .rubocop.yml
lazylead-0.5.1 .rubocop.yml
lazylead-0.5.0 .rubocop.yml
lazylead-0.4.3 .rubocop.yml
lazylead-0.4.2 .rubocop.yml
lazylead-0.4.1 .rubocop.yml
lazylead-0.4.0 .rubocop.yml