Sha256: ee196c2b85f08f59e8cb644dfdaba71ae737f00888eb0e9c7735a177358691e1

Contents?: true

Size: 1.16 KB

Versions: 14

Compression:

Stored size: 1.16 KB

Contents

AllCops:
  Excludes:
    - db/seeds.rb
    - db/schema.rb
    - spec/fixtures/**
    - vendor/*
    - work/*
  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

14 entries across 14 versions & 1 rubygems

Version Path
smalruby-editor-0.3.5-x86-mingw32 .rubocop.yml
smalruby-editor-0.3.5 .rubocop.yml
smalruby-editor-0.3.4-x86-mingw32 .rubocop.yml
smalruby-editor-0.3.4 .rubocop.yml
smalruby-editor-0.3.3-x86-mingw32 .rubocop.yml
smalruby-editor-0.3.3 .rubocop.yml
smalruby-editor-0.3.2-x86-mingw32 .rubocop.yml
smalruby-editor-0.3.2 .rubocop.yml
smalruby-editor-0.3.1-x86-mingw32 .rubocop.yml
smalruby-editor-0.3.1 .rubocop.yml
smalruby-editor-0.3.0-x86-mingw32 .rubocop.yml
smalruby-editor-0.3.0 .rubocop.yml
smalruby-editor-0.2.7-x86-mingw32 .rubocop.yml
smalruby-editor-0.2.7 .rubocop.yml