-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy path.rubocop.yml
More file actions
46 lines (38 loc) · 816 Bytes
/
.rubocop.yml
File metadata and controls
46 lines (38 loc) · 816 Bytes
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
require:
- rubocop-rails
# Enable all new cops by default
AllCops:
NewCops: enable
Exclude:
- bin/*
- spec/dummy/bin/*
- spec/dummy/db/schema.rb
# Disable not wanted cops
Metrics/AbcSize:
Enabled: false
Metrics/MethodLength:
Enabled: false
Metrics/ClassLength:
Enabled: false
Style/Documentation:
Enabled: false
Metrics/BlockLength:
Enabled: false
Metrics/CyclomaticComplexity:
Enabled: false
Metrics/PerceivedComplexity:
Enabled: false
Rails/ContentTag:
Enabled: false
Style/HashAsLastArrayItem:
Enabled: false
Naming/VariableNumber:
Enabled: false
Gemspec/DevelopmentDependencies:
Enabled: false
# Prefer to use brackets on symbol arrays
Style/SymbolArray:
EnforcedStyle: brackets
# Prefer to use always lambda literals (->)
Style/Lambda:
EnforcedStyle: literal