-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop.yml
47 lines (34 loc) · 1014 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
# This project follows the Ribose OSS style guide.
# https://github.com/riboseinc/oss-guides
# All project-specific additions and overrides should be specified in this file.
inherit_from:
- https://raw.githubusercontent.com/riboseinc/oss-guides/master/ci/rubocop.yml
AllCops:
DisplayCopNames: false
StyleGuideCopsOnly: false
TargetRubyVersion: 2.5
Rails:
Enabled: true
Layout/DotPosition:
EnforcedStyle: leading
Layout/EmptyLinesAroundBlockBody:
Enabled: false
# https://github.com/rubocop-hq/rubocop/issues/6259#issuecomment-420734217
Layout/ExtraSpacing:
ForceEqualSignAlignment: true
Layout/HashAlignment:
EnforcedColonStyle: table
EnforcedHashRocketStyle: table
Lint/PercentStringArray:
# AutoCorrect: false
Enabled: false
Rails/DynamicFindBy:
AutoCorrect: false
Rails/ApplicationRecord:
AutoCorrect: false
Style/ParenthesesAroundCondition:
AutoCorrect: false
Security/YAMLLoad:
AutoCorrect: false
Style/TrailingCommaInArguments:
EnforcedStyleForMultiline: comma