-
Notifications
You must be signed in to change notification settings - Fork 14
/
.hound.suse.yml
81 lines (68 loc) · 2.94 KB
/
.hound.suse.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
# This is the shared Rubocop configuration for SUSE projects. It is maintained
# at https://github.com/SUSE/style-guides/blob/master/rubocop-suse.yml
#
# The configuration is tested and used with the Rubocop version used by Hound
# (http://hound-ci.com).
#
# We use the default Hound config as a baseline:
#
# https://raw.githubusercontent.com/thoughtbot/hound/master/config/style_guides/ruby.yml
#
# This file contains the rules with derive from this.
Lint/EndAlignment:
# Stop complains about unsupported attribute
# StyleGuide: https://github.com/SUSE/style-guides/blob/master/Ruby.md#lintendalignment
AlignWith: variable
Metrics/AbcSize:
# Stop complains about unsupported attribute
# StyleGuide: https://github.com/SUSE/style-guides/blob/master/Ruby.md#metricsabcsize
Max: 30
Metrics/LineLength:
# Stop complains about unsupported attribute
# StyleGuide: https://github.com/SUSE/style-guides/blob/master/Ruby.md#metricslinelength
Max: 100
AllowURI: true
URISchemes:
- http
- https
Style/AlignHash:
# Stop complains about unsupported attribute
# StyleGuide: https://github.com/SUSE/style-guides/blob/master/Ruby.md#stylealignhash
EnforcedHashRocketStyle: table
EnforcedColonStyle: table
Style/AlignParameters:
# Stop complains about unsupported attribute
# StyleGuide: https://github.com/SUSE/style-guides/blob/master/Ruby.md#stylealignparameters
Enabled: false
Style/CollectionMethods:
# Stop complains about unsupported attribute
# StyleGuide: https://github.com/SUSE/style-guides/blob/master/Ruby.md#stylecollectionmethods
Enabled: false
Style/EmptyLinesAroundBlockBody:
# Stop complains about unsupported attribute
# StyleGuide: https://github.com/SUSE/style-guides/blob/master/Ruby.md#styleemptylinesaroundblockbody
Enabled: false
Style/MultilineOperationIndentation:
# Stop complains about unsupported attribute
# StyleGuide: https://github.com/SUSE/style-guides/blob/master/Ruby.md#stylemultilineoperationindentation
EnforcedStyle: indented
Style/StringLiterals:
# Stop complains about unsupported attribute
# StyleGuide: https://github.com/SUSE/style-guides/blob/master/Ruby.md#stylestringliterals
EnforcedStyle: double_quotes
Style/StringLiteralsInInterpolation:
# Stop complains about unsupported attribute
# StyleGuide: https://github.com/SUSE/style-guides/blob/master/Ruby.md#stylestringliteralsininterpolation
EnforcedStyle: double_quotes
Style/WordArray:
# Stop complains about unsupported attribute
# StyleGuide: https://github.com/SUSE/style-guides/blob/master/Ruby.md#deviations-from-the-upstream-style-guide
Enabled: false
Style/RegexpLiteral:
# Stop complains about unsupported attribute
# StyleGuide: https://github.com/SUSE/style-guides/blob/master/Ruby.md#deviations-from-the-upstream-style-guide
Enabled: false
Style/SignalException:
# Stop complains about unsupported attribute
# StyleGuide: https://github.com/bbatsov/ruby-style-guide#fail-method
EnforcedStyle: only_raise