-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.rubocop.yml
66 lines (50 loc) · 1.15 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
57
58
59
60
61
62
63
64
65
66
AllCops:
Exclude:
- tmp/**/*
- bin/**/*
- db/schema.rb
- agile-direction-ui/**/*
- spec/**/*.rb
- vendor/bundle/**/*
Metrics/LineLength:
Max: 150
Style/StringLiterals:
EnforcedStyle: double_quotes
Style/WordArray:
MinSize: 10
Style/CommentAnnotation:
Enabled: false
Style/BracesAroundHashParameters:
EnforcedStyle: braces
Style/Documentation:
Description: 'Document classes and non-namespace modules.'
Enabled: false
Style/Encoding:
Description: 'Use UTF-8 as the source file encoding.'
Enabled: false
Style/AccessorMethodName:
Description: 'Checks for the naming of a method with get_ or set_'
Enabled: false
Metrics/MethodLength:
CountComments: false # count full line comments
Max: 25
Style/SignalException:
Enabled: false
Style/IndentHash:
EnforcedStyle: consistent
Style/ParenthesesAroundCondition:
Enabled: false
Style/BracesAroundHashParameters:
Enabled: false
Metrics/AbcSize:
Max: 20
# VeryLongClassNameThingThatImQuerying
# .wants
# .query
# .readable
# .onTheLet
Style/MultilineOperationIndentation:
Enabled: false
# Rails controllers are long
Metrics/ClassLength:
Enabled: false