Sha256: 180d66509aab4d642bf4e4a5daab3eaaa906bed56297ecd27fb47e1d0bd295d3

Contents?: true

Size: 1.18 KB

Versions: 6

Compression:

Stored size: 1.18 KB

Contents

AllCops:
  Excludes:
    - db/seeds.rb
    - db/schema.rb
    - spec/fixtures/**
    - vendor/*
    - work/*
    - bin/spring
  RunRailsCops: true

# 日本語でのコメントを許可する
AsciiComments:
  Enabled: false

# メソッドの戻り値としてブロックの値を使う場合にもエラーになるため無効
# にしている
Blocks:
  Enabled: false

Documentation:
  Enabled: false

# WindowsだとEndOfLine copが動作しないため無効にしている
EndOfLine:
  Enabled: false

# diffが少なくなるためハッシュや配列の最後のカンマは許可する
#TrailingComma:
#  Enabled: false

# デフォルトの10は短すぎる。80x25を基準として1画面に収まる長さとした。
MethodLength:
  Max: 25

# デフォルトの100は短すぎる。なんとなく250行とした。
ClassLength:
  Max: 250

# LoadErrorなど、rescueブロックを空にすることはよくあるため。
HandleExceptions:
  Enabled: false

# when use if/unless modifier, can't check coverage
IfUnlessModifier:
  Enabled: false

# this is not important for me.
StringLiterals:
  Enabled: false

# I think 'unless' is too bad.
FavorUnlessOverNegatedIf:
  Enabled: false

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
smalruby-editor-0.4.1-x86-mingw32 .rubocop.yml
smalruby-editor-0.4.2-x86-mingw32 .rubocop.yml
smalruby-editor-0.4.2 .rubocop.yml
smalruby-editor-0.4.1 .rubocop.yml
smalruby-editor-0.4.0-x86-mingw32 .rubocop.yml
smalruby-editor-0.4.0 .rubocop.yml