-
Notifications
You must be signed in to change notification settings - Fork 4
/
.rubocop.yml
52 lines (40 loc) · 1.06 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
# Increase permitted ABC size
Metrics/AbcSize:
Max: 20
# Allow methods of up to 20 lines of code
Metrics/MethodLength:
Max: 20
# Don't enforce braces around hash parameters
Style/BracesAroundHashParameters:
Enabled: false
# Don't enforce top-level class and module documentation
Style/Documentation:
Enabled: false
# Use hash rockets in hashes
Style/HashSyntax:
EnforcedStyle: hash_rockets
# Don't enforce "loop do" for infinite loops
Style/InfiniteLoop:
Enabled: false
# Don't enforce underscores for large numeric values
Style/NumericLiterals:
Enabled: false
# Don't enforce prefix-free predicate methods
Style/PredicateName:
Enabled: false
# Don't enforce implicit return
Style/RedundantReturn:
Enabled: false
# Don't enforce implicit self
Style/RedundantSelf:
Enabled: false
# Prefer double quoted string literals
Style/StringLiterals:
Enabled: true
EnforcedStyle: double_quotes
# Don't enforce attr_* for trivial readers/writers
Style/TrivialAccessors:
Enabled: false
# Don't enforce %w and %W for word arrays
Style/WordArray:
Enabled: false