forked from yunify/qingcloud-sdk-ruby
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop.yaml
38 lines (27 loc) · 791 Bytes
/
.rubocop.yaml
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
# This is the configuration used to check the rubocop source code.
# Read all default settings here:
# https://github.com/bbatsov/rubocop/blob/master/config/default.yml
AllCops:
TargetRubyVersion: 2.1
Documentation:
Enabled: false
Metrics/LineLength:
Max: 100
Style/TrailingCommaInArguments:
EnforcedStyleForMultiline: comma
Style/TrailingCommaInLiteral:
EnforcedStyleForMultiline: comma
Style/BlockDelimiters:
EnforcedStyle: braces_for_chaining
Style/SpaceInsideHashLiteralBraces:
EnforcedStyle: no_space
Style/BracesAroundHashParameters:
EnforcedStyle: braces
Style/AlignHash:
EnforcedHashRocketStyle: table
EnforcedColonStyle: table
Lint/DefEndAlignment:
AlignWith: def
AutoCorrect: true
Style/BracesAroundHashParameters:
EnforcedStyle: no_braces