-
Notifications
You must be signed in to change notification settings - Fork 3
/
.rubocop.yml
54 lines (52 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
54
require:
- rubocop-rake
- rubocop-performance
AllCops:
TargetRubyVersion: '3.0'
NewCops: enable
Exclude:
- 'sample_start.rb'
- 'ext/oboe_metal/extconf_local.rb'
Layout/LineLength:
Enabled: false
Metrics/MethodLength:
Enabled: false
Metrics/BlockLength:
Enabled: false
Style/GlobalVars:
Enabled: false
Naming/MethodName:
Exclude:
- 'lib/solarwinds_apm/noop/*.rb'
Metrics/CyclomaticComplexity:
Enabled: false
Metrics/PerceivedComplexity:
Enabled: false
Style/Documentation:
Enabled: false
Metrics/AbcSize:
Enabled: false
Metrics/ModuleLength:
Enabled: false
Style/ClassVars:
Enabled: false
Metrics/ClassLength:
Enabled: false
Metrics/ParameterLists:
Enabled: false
Bundler/OrderedGems:
Enabled: false
Gemspec/DevelopmentDependencies:
Enabled: false
Gemspec/RequiredRubyVersion:
Enabled: false
Naming/VariableNumber:
Exclude:
- 'gemfiles/*.gemfile'
Metrics/BlockNesting:
Exclude:
- 'lib/solarwinds_apm.rb'
- 'lib/solarwinds_apm/support.rb'
Lint/ConstantDefinitionInBlock:
Exclude:
- 'test/api/custom_instrumentation_test.rb'