-
Notifications
You must be signed in to change notification settings - Fork 7
/
.rubocop.yml
43 lines (37 loc) · 892 Bytes
/
.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
require:
- rubocop-rake
- rubocop-performance
AllCops:
TargetRubyVersion: 2.5
NewCops: enable
Metrics:
Enabled: false
# ModBus's master/slave terminology isn't changing
Naming/InclusiveLanguage:
Enabled: false
Performance/Casecmp:
AutoCorrect: false
Style/Alias:
EnforcedStyle: prefer_alias_method
Style/BlockDelimiters:
AllowedMethods: []
Style/DocumentDynamicEvalDefinition:
Enabled: false
Style/Documentation:
Enabled: false
Style/DoubleNegation:
Enabled: false
Style/HashSyntax:
EnforcedStyle: ruby19_no_mixed_keys
Style/PercentQLiterals:
EnforcedStyle: upper_case_q
Style/PerlBackrefs:
Enabled: false
Style/RescueStandardError:
EnforcedStyle: implicit
Style/StringLiterals:
EnforcedStyle: double_quotes
Style/StringLiteralsInInterpolation:
EnforcedStyle: double_quotes
Style/TernaryParentheses:
EnforcedStyle: require_parentheses_when_complex