-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.rubocop.yml
54 lines (42 loc) · 831 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
49
50
51
52
53
inherit_from: .rubocop_todo.yml
require:
- rubocop-rails
- rubocop-rspec
- rubocop-performance
AllCops:
Exclude:
- db/schema.rb
- vendor/**/*
- node_modules/**/*
# Ruby
Metrics/MethodLength:
Exclude:
- bin/bundle
- db/migrate/*
Metrics/BlockLength:
Exclude:
- config/environments/*.rb
- spec/**/*.rb
Style/BlockComments:
Exclude:
- spec/spec_helper.rb
Style/Documentation:
Exclude:
- config/application.rb
- spec/**/*
- app/models/**/*.rb
- app/controllers/**/*.rb
- app/mailers/**/*.rb
- app/helpers/**/*.rb
- db/migrate/**/*.rb
Style/ClassAndModuleChildren:
Enabled: false
Style/RegexpLiteral:
AllowInnerSlashes: true
Style/SymbolArray:
EnforcedStyle: percent
# Rspec
RSpec/ExampleLength:
Enabled: false
RSpec/NestedGroups:
Max: 4