forked from brianmario/mysql2
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.rubocop.yml
More file actions
36 lines (26 loc) · 718 Bytes
/
.rubocop.yml
File metadata and controls
36 lines (26 loc) · 718 Bytes
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
inherit_from: .rubocop_todo.yml
AllCops:
TargetRubyVersion: 2.0
SuggestExtensions: false
NewCops: disable
DisplayCopNames: true
Exclude:
- 'pkg/**/*'
- 'tmp/**/*'
- 'vendor/**/*'
Layout/CaseIndentation:
EnforcedStyle: end
Layout/FirstHashElementIndentation:
EnforcedStyle: consistent
Layout/EndAlignment:
EnforcedStyleAlignWith: variable
Layout/HashAlignment:
EnforcedHashRocketStyle: table
Style/TrailingCommaInArguments:
EnforcedStyleForMultiline: consistent_comma
Style/TrailingCommaInArrayLiteral:
EnforcedStyleForMultiline: consistent_comma
Style/TrailingCommaInHashLiteral:
EnforcedStyleForMultiline: consistent_comma
Style/TrivialAccessors:
AllowPredicates: true