-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrubocop.yml
47 lines (44 loc) · 828 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
44
45
46
47
AllCops:
TargetRubyVersion: 2.6
Exclude:
- bin/**/*
- tmp/**/*
- log/**/*
- config/**/*
- db/**/*
- Guardfile
- spec/**/*
- script/**/*
- public/**/*
- app/assets/**/*
Documentation:
Enabled: false
Naming/PredicateName:
# Predicate name prefices.
NamePrefix:
- is_
- has_
- have_
# Predicate name prefices that should be removed.
ForbiddenPrefixes:
- is_
Style/BlockDelimiters:
Enabled: false
EnforcedStyle: line_count_based
IgnoredMethods:
- lambda
- proc
- it
- stub
Style/ClassAndModuleChildren:
Enabled: false
EnforcedStyle: nested
SupportedStyles:
- nested
- compact
Style/StringLiterals:
EnforcedStyle: double_quotes
Style/AndOr:
EnforcedStyle: conditionals
Style/FrozenStringLiteralComment:
Enabled: false