-
Notifications
You must be signed in to change notification settings - Fork 298
/
.rubocop.yml
59 lines (49 loc) · 1.45 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
AllCops:
TargetRubyVersion: 2.6
# all of these could/should be corrected. Have at it if you want.
Layout/ClosingHeredocIndentation:
Exclude:
- 'lib/omnibus/licensing.rb'
Layout/HeredocIndentation:
Exclude:
- 'lib/omnibus/licensing.rb'
Lint/AmbiguousRegexpLiteral:
Exclude:
- 'spec/functional/builder_spec.rb'
- 'spec/functional/licensing_spec.rb'
# Configuration parameters: AllowSafeAssignment.
Lint/AssignmentInCondition:
Exclude:
- 'lib/omnibus/build_version.rb'
- 'lib/omnibus/compressors/tgz.rb'
- 'lib/omnibus/file_syncer.rb'
- 'lib/omnibus/packager.rb'
- 'lib/omnibus/publishers/artifactory_publisher.rb'
Lint/EmptyWhen:
Exclude:
- 'lib/omnibus/health_check.rb'
Lint/IneffectiveAccessModifier:
Exclude:
- 'lib/omnibus/fetcher.rb'
- 'lib/omnibus/fetchers/git_fetcher.rb'
Lint/ParenthesesAsGroupedExpression:
Exclude:
- 'lib/omnibus/cli/base.rb'
- 'spec/unit/packagers/ips_spec.rb'
- 'spec/unit/packagers/msi_spec.rb'
- 'spec/unit/project_spec.rb'
- 'spec/unit/s3_cacher_spec.rb'
- 'spec/unit/software_spec.rb'
Lint/ShadowingOuterLocalVariable:
Exclude:
- 'lib/omnibus.rb'
- 'lib/omnibus/builder.rb'
- 'lib/omnibus/licensing.rb'
- 'lib/omnibus/packagers/deb.rb'
Lint/UselessAssignment:
Exclude:
- 'lib/omnibus/digestable.rb'
- 'lib/omnibus/exceptions.rb'
- 'lib/omnibus/file_syncer.rb'
- 'lib/omnibus/licensing.rb'
- 'lib/omnibus/software.rb'