-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.rubocop.yml
56 lines (47 loc) · 1.2 KB
/
.rubocop.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
AllCops:
DisplayStyleGuide: true
StyleGuideBaseURL: https://github.com/fortissimo1997/ruby-style-guide/blob/japanese/README.ja.md
TargetRubyVersion: 2.4
Exclude:
- bin/*
- db/schema.rb
- db/migrate/*
- Guardfile
- Gemfile
- Procfile
- vendor/bundle/**/*
- spec/rails_helper.rb
- spec/spec_helper.rb
- tmp/**/*
Documentation:
Enabled: false
AsciiComments:
Enabled: false
MethodLength:
Max: 30
LineLength:
Max: 160
AbcSize:
Max: 40
ParameterLists:
Max: 8
CountKeywordArgs: true
Rails:
Enabled: true
# http://www.rubydoc.info/github/bbatsov/RuboCop/RuboCop/Cop/Style/NestedParenthesizedCalls
NestedParenthesizedCalls:
Enabled: false
# http://www.rubydoc.info/github/bbatsov/RuboCop/RuboCop/Cop/Style/UnneededInterpolation
UnneededInterpolation:
Enabled: false
# http://www.rubydoc.info/github/bbatsov/rubocop/Rubocop/Cop/Style/SignalException
SignalException:
Enabled: false
# http://www.rubydoc.info/gems/rubocop/RuboCop/Cop/Style/MutableConstant
MutableConstant:
Enabled: false
# http://www.rubydoc.info/gems/rubocop/RuboCop/Cop/Style/FrozenStringLiteralComment
FrozenStringLiteralComment:
Enabled: false
ClassAndModuleChildren:
Enabled: false