-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.rubocop.yml
48 lines (41 loc) · 1000 Bytes
/
.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
require: rubocop-rails
AllCops:
NewCops: enable
SuggestExtensions: false
Exclude:
- "bin/**/*"
- "db/**/*"
- "tmp/**/*"
- "vendor/**/*"
- "config/environments/*"
Bundler/OrderedGems:
Enabled: false
Layout/DotPosition:
EnforcedStyle: trailing
Layout/MultilineMethodCallIndentation:
EnforcedStyle: indented
Layout/SpaceInLambdaLiteral:
EnforcedStyle: require_space
Metrics/AbcSize:
CountRepeatedAttributes: false
Metrics/BlockLength:
IgnoredMethods: ['describe', 'context']
CountAsOne: ['array', 'hash', 'heredoc']
Metrics/ClassLength:
CountAsOne: ['array', 'hash', 'heredoc']
Metrics/MethodLength:
CountAsOne: ['array', 'hash', 'heredoc']
Metrics/ModuleLength:
CountAsOne: ['array', 'hash', 'heredoc']
Rails/BulkChangeTable:
Enabled: false
Style/Documentation:
Enabled: false
Style/EmptyMethod:
EnforcedStyle: expanded
Style/StringLiterals:
EnforcedStyle: double_quotes
Style/SymbolArray:
Enabled: false
Rails/SquishedSQLHeredocs:
Enabled: false