-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.rubocop.yml
47 lines (40 loc) · 973 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
# inherit_from: ../.rubocop.yml
require:
- rubocop-i18n
AllCops:
DisabledByDefault: true
Exclude:
- 'db/migrate/*'
# Style/StringLiterals:
# EnforcedStyle: single_quotes
# Enabled: true
Layout:
Enabled: true
I18n/RailsI18n:
Enabled: true
I18n/GetText:
Enabled: false
# I18n/RailsI18n/DecorateStringFormattingUsingInterpolation:
# Enabled: true
# AutoCorrect: false
# I18n/RailsI18n/DecorateString:
# Enabled: true
# AutoCorrect: false
# I18n/GetText/DecorateFunctionMessage:
# Enabled: true
# AutoCorrect: false
# I18n/GetText/DecorateStringFormattingUsingPercent:
# Enabled: true
# AutoCorrect: false
# Style/Encoding:
# Enabled: false
# Layout/LineLength:
# Max: 99
Layout/LineContinuationLeadingSpace: # new in 1.31
Enabled: true
Layout/LineContinuationSpacing: # new in 1.31
Enabled: true
Layout/LineEndStringConcatenationIndentation: # new in 1.18
Enabled: true
Layout/SpaceBeforeBrackets: # new in 1.7
Enabled: true