-
Notifications
You must be signed in to change notification settings - Fork 61
/
Copy path.rubocop.yml
61 lines (57 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
Documentation:
Enabled: false
Layout/AlignHash:
Enabled: false
Metrics/BlockLength:
ExcludedMethods: ['describe', 'context']
Metrics/ModuleLength:
Exclude:
- "**/*_spec.rb"
- "spec/*.rb"
Metrics/BlockLength:
Exclude:
- "**/*_spec.rb"
- "spec/*.rb"
- "spec/**/*.rb"
Metrics/LineLength:
Enabled: false
Metrics/MethodLength:
Enabled: false
Naming/FileName:
Enabled: false
Metrics/ClassLength:
Enabled: false
Metrics/AbcSize:
Enabled: false
Metrics/PerceivedComplexity:
Enabled: false
Style/RegexpLiteral:
Enabled: false
Style/ClassAndModuleChildren:
Enabled: false
Style/GuardClause:
Enabled: false
Style/Lambda:
Enabled: false
Naming/UncommunicativeMethodParamName:
Enabled: false
Naming/VariableNumber:
Enabled: false
Lint/UselessAssignment:
Enabled: false
Lint/AssignmentInCondition:
Enabled: false
AllCops:
Include:
- '**/Rakefile'
- '**/config.ru'
Exclude:
- 'db/**/*'
- 'config/**/*'
- 'bin/**/*'
- 'lib/tasks/*'
- 'app/models/concerns/searchable.rb'
- 'test/test_helper.rb'
- 'app/services/tag_filter.rb'
- 'spec/spec_helper.rb'
- 'spec/support/utilities.rb'