forked from idvogados/idvogados-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.rubocop.yml
85 lines (68 loc) · 1.4 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
AllCops:
NewCops: enable
Exclude:
- 'vendor/**/*'
- 'spec/fixtures/**/*'
- 'tmp/**/*'
- 'node_modules/**/*'
- 'db/**/*.rb'
- 'bin/*'
TargetRubyVersion: 3.0.0
Metrics/ParameterLists:
Exclude:
- 'app/workers/*'
Layout/LineLength:
Max: 100
Exclude:
- 'config/routes.rb'
- '**/bin/rails'
Metrics/MethodLength:
Exclude:
- 'spec/**/*.rb'
- 'db/migrate/*.rb'
Metrics/AbcSize:
Exclude:
- 'spec/**/*.rb'
Metrics/BlockLength:
Max: 30
Exclude:
- 'spec/**/*.rb'
- 'db/migrate/*.rb'
- 'lib/tasks/**/*.rake'
- 'config/initializers/*.rb'
Metrics/ModuleLength:
Exclude:
- 'spec/**/*.rb'
Style/Documentation:
Exclude:
- 'app/controllers/**/*.rb'
- 'app/helpers/**/*.rb'
- 'spec/**/*.rb'
- 'db/migrate/*.rb'
Style/BlockDelimiters:
Exclude:
- 'spec/**/*_spec.rb'
Style/RedundantPercentQ:
Exclude:
- 'spec/features/**/*_spec.rb'
Style/RedundantFetchBlock:
Exclude:
- 'config/initializers/*.rb'
Style/ClassAndModuleChildren:
Enabled: false
Style/SafeNavigation:
Enabled: false
Style/EmptyMethod:
Enabled: false
Bundler/OrderedGems:
Enabled: false
Style/PercentLiteralDelimiters:
Description: "Use `%`-literal delimiters consistently"
Enabled: true
PreferredDelimiters:
"%i": "()"
"%w": "()"
Gemspec/OrderedDependencies:
Enabled: false
Naming/RescuedExceptionsVariableName:
Enabled: false