-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrubocop.yml
100 lines (70 loc) · 1.63 KB
/
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
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
require:
- rubocop-graphql
- rubocop-rails
- rubocop-rake
- rubocop-rspec
inherit_gem:
rubocop-shopify: rubocop.yml
AllCops:
NewCops: disable
GraphQL/ArgumentDescription:
Enabled: false
GraphQL/FieldDescription:
Enabled: false
GraphQL/ExtractInputType:
Enabled: false
GraphQL/ExtractType:
Enabled: false
Layout/ArgumentAlignment:
EnforcedStyle: with_first_argument
Layout/ArrayAlignment:
EnforcedStyle: with_first_element
Layout/EndAlignment:
EnforcedStyleAlignWith: keyword
Layout/FirstArrayElementIndentation:
EnforcedStyle: align_brackets
Layout/FirstHashElementIndentation:
Enabled: true
EnforcedStyle: align_braces
Layout/HashAlignment:
Enabled: true
Layout/LineEndStringConcatenationIndentation:
Enabled: true
EnforcedStyle: aligned
Layout/MultilineOperationIndentation:
EnforcedStyle: aligned
IndentationWidth:
Layout/MultilineMethodCallIndentation:
EnforcedStyle: indented_relative_to_receiver
IndentationWidth: 0
Lint/LambdaWithoutLiteralBlock:
Enabled: true
Metrics/AbcSize:
Max: 35
Metrics/ClassLength:
Max: 150
Metrics/MethodLength:
Max: 30
Metrics/ModuleLength:
Max: 150
RSpec/MultipleMemoizedHelpers:
Enabled: false
Style/Documentation:
Enabled: false
Style/GuardClause:
Enabled: false
Style/HashSyntax:
EnforcedShorthandSyntax: always
Style/ModuleFunction:
EnforcedStyle: extend_self
Style/ClassAndModuleChildren:
Enabled: false
Style/StringConcatenation:
Enabled: true
Mode: aggressive
Style/StringLiterals:
EnforcedStyle: single_quotes
Style/SymbolArray:
EnforcedStyle: percent
Style/TrailingCommaInHashLiteral:
EnforcedStyleForMultiline: no_comma