-
Notifications
You must be signed in to change notification settings - Fork 54
Expand file tree
/
Copy path.rubocop.yml
More file actions
37 lines (32 loc) · 958 Bytes
/
.rubocop.yml
File metadata and controls
37 lines (32 loc) · 958 Bytes
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
---
AllCops:
TargetRubyVersion: 2.6
# The following cops are disabled because their autocorrect features could
# potentially introduce syntax that breaks Ruby 2.6 compatibility, even though
# the cops themselves support Ruby 2.6
# Keep encoding comments for Ruby 2.6 compatibility (they're harmless)
Style/Encoding:
Enabled: false
# Disable unless we're certain all suggestions work in Ruby 2.6
Style/MutableConstant:
Enabled: false
# Security cops that use eval - keep disabled for safety
Security/Eval:
Enabled: false
# Added for Chefstyle 0.12 compatibility, can be removed with switch to cookstyle
Bundler/DuplicatedGem:
Enabled: false
Lint/AmbiguousRegexpLiteral:
Enabled: false
Layout/IndentHeredoc:
Enabled: false
Layout/ClosingHeredocIndentation:
Enabled: false
Lint/UselessAssignment:
Enabled: false
Lint/ShadowingOuterLocalVariable:
Enabled: false
Style/HashSyntax:
Enabled: false
Layout/BlockAlignment:
Enabled: false