Sha256: bf648b770b79cb0cf44289f935cc3bb7da35b863c1b852807942dd82e73e90ce

Contents?: true

Size: 1.21 KB

Versions: 4

Compression:

Stored size: 1.21 KB

Contents

AllCops:
  Exclude:
    - tmp/**/*
    - vendor/**/*
  TargetRubyVersion: 2.5
  DisplayCopNames: true

# use japanese :)
Style/AsciiComments:
  Enabled: false

# use method chain ( avoid use `end.compact` )
#
#   hoge.map { |item|
#     item.piyo
#   }.compact
Style/BlockDelimiters:
  Enabled: false

# no document
Style/Documentation:
  Enabled: false

# use `!!hoge`
Style/DoubleNegation:
  Enabled: false

# empty case is useful
#
#  case
#  when user.admin?
#    ...
#  when user.active?
#    ...
#  else
#    ...
#  end
Style/EmptyCaseCondition:
  Enabled: false

# my preference :)
Style/EmptyMethod:
  EnforcedStyle: expanded

# use `-> {}` syntax
Style/Lambda:
  Enabled: false

# see Style/BlockDelimiters
Style/MultilineBlockChain:
  Enabled: false

# I feel `.zero?` difficult to understand...
Style/NumericPredicate:
  Enabled: false

# %w[a b c] or %i[a b c] ?
Style/SymbolArray:
  Enabled: false

# incompatible DSL
Layout/EmptyLinesAroundArguments:
  Enabled: false

# incompatible DSL
Metrics/BlockLength:
  Enabled: false

# incompatible DSL
Metrics/ClassLength:
  Enabled: false

# my preference :)
Metrics/LineLength:
  Max: 120

# my preference :(
Metrics/MethodLength:
  Max: 25

# :(
Metrics/AbcSize:
  Max: 30

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
senrigan-0.2.0 .rubocop.yml
senrigan-0.1.2 .rubocop.yml
senrigan-0.1.1 .rubocop.yml
senrigan-0.1.0 .rubocop.yml