Created
April 20, 2018 08:43
-
-
Save quanon/15a1ae6ea0716526499ffebbff530b02 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
inherit_from: .rubocop_todo.yml | |
AllCops: | |
Exclude: | |
- 'vendor/**/*' | |
- 'node_modules/**/*' | |
- 'bin/**/*' | |
- 'config/**/*' | |
- 'db/**/*' | |
- 'frontend/node_modules/**/*' | |
TargetRubyVersion: 2.5 | |
# (参考) .rubocop.yml設定例 | |
# http://qiita.com/hi-nakamura/items/fb841be12566e7f579f0 | |
# 日本語のコメントを許可する。 | |
Style/AsciiComments: | |
Enabled: false | |
# スラッシュの数に関わらず %r 記法を利用することを許可する。 | |
Style/RegexpLiteral: | |
Enabled: false | |
# メソッドチェインの途中で改行するときのドットの位置は前方にする。 | |
Layout/DotPosition: | |
EnforcedStyle: leading | |
# インスタンス変数名とアクセサのメソッド名が統一されている場合のみ | |
# アクセサと判断してチェックする。 | |
Style/TrivialAccessors: | |
ExactNameMatch: true | |
# class にコメントを残さなくてもよい。 | |
Documentation: | |
Enabled: false | |
Metrics/BlockLength: | |
Exclude: | |
- 'spec/**/*' | |
Layout/MultilineOperationIndentation: | |
Enabled: false | |
Layout/MultilineMethodCallIndentation: | |
EnforcedStyle: indented | |
Style/FrozenStringLiteralComment: | |
Enabled: false | |
# Gemfile での gem の並び順を限定しない。 | |
Bundler/OrderedGems: | |
Enabled: false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment