-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.rubocop.yml
53 lines (53 loc) · 1.08 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
Rails:
Enabled: true
AllCops:
Exclude:
- 'Rakefile'
- 'config/environments/*'
- 'config/application.rb'
- 'spec/spec_helper.rb'
- 'spec/rails_helper.rb'
- 'test/test_helper.rb'
- 'config/puma.rb'
- 'config/spring.rb'
- 'config/initializers/*'
- 'app/helpers/application_helper.rb'
- 'db/**/*'
- 'bin/*'
TargetRubyVersion: 2.3
Style/Documentation:
Description: 'Document classes and non-namespace modules.'
Enabled: false
Metrics/AbcSize:
Max: 20
Metrics/MethodLength:
CountComments: false
Max: 20
Metrics/ModuleLength:
Exclude:
- "**/*_spec.rb"
- "app/helpers/users_helper.rb"
Metrics/AbcSize:
Enabled: false
Metrics/BlockLength:
Enabled: false
Style/SymbolArray:
Enabled: false
Style/ClassAndModuleChildren:
Enabled: false
Date:
Enabled: false
ParenthesesAsGroupedExpression:
Enabled: false
Metrics/ClassLength:
Enabled: false
Lint/HandleExceptions:
Enabled: false
Rails/FindEach:
Enabled: false
Style/FrozenStringLiteralComment:
Enabled: false
Documentation:
Enabled: false
CyclomaticComplexity:
Enabled: false