forked from bigcommerce/gruf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop_todo.yml
139 lines (109 loc) · 3.63 KB
/
.rubocop_todo.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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
# This configuration was generated by
# `rubocop --auto-gen-config --exclude-limit 25`
# on 2016-05-04 17:58:49 +0000 using RuboCop version 0.39.0.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
# versions of RuboCop, may require this file to be generated again.
# Configuration parameters: AlignWith, SupportedStyles, AutoCorrect.
# SupportedStyles: keyword, variable, start_of_line
Layout/EndAlignment:
Enabled: false
Lint/AmbiguousOperator:
Enabled: false
Metrics/AbcSize:
Max: 147
Metrics/BlockNesting:
Max: 4
# Configuration parameters: CountComments.
Metrics/ClassLength:
Max: 406
Metrics/CyclomaticComplexity:
Max: 24
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes.
# URISchemes: http, https
Metrics/LineLength:
Enabled: false
# Offense count: 63
# Configuration parameters: CountComments.
Metrics/MethodLength:
Max: 88
# Configuration parameters: CountComments.
Metrics/ModuleLength:
Max: 1000
# Configuration parameters: CountKeywordArgs.
Metrics/ParameterLists:
Max: 9
Metrics/PerceivedComplexity:
Max: 26
# Configuration parameters: EnforcedStyle, SupportedStyles, ProceduralMethods, FunctionalMethods, IgnoredMethods.
# SupportedStyles: line_count_based, semantic, braces_for_chaining
# ProceduralMethods: benchmark, bm, bmbm, create, each_with_object, measure, new, realtime, tap, with_object
# FunctionalMethods: let, let!, subject, watch
# IgnoredMethods: lambda, proc, it
Style/BlockDelimiters:
Exclude:
- 'config/deploy.rb'
# Configuration parameters: IndentWhenRelativeTo, SupportedStyles, IndentOneStep, IndentationWidth.
# SupportedStyles: case, end
Layout/CaseIndentation:
Enabled: false
Style/ColonMethodCall:
Exclude:
- 'db/seeds.rb'
Layout/EmptyLineAfterMagicComment:
Enabled: false
Style/Documentation:
Enabled: false
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: leading, trailing
Layout/DotPosition:
Enabled: false
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: empty_lines, no_empty_lines
Layout/EmptyLinesAroundClassBody:
Enabled: false
# Configuration parameters: AllowForAlignment, ForceEqualSignAlignment.
Layout/ExtraSpacing:
Exclude:
- 'config.ru'
- 'config/routes.rb'
- 'bin/rails'
Style/FrozenStringLiteralComment:
Enabled: false
# Because $stats is valid
Style/GlobalVars:
Enabled: false
# Configuration parameters: EnforcedStyle, SupportedStyles, IndentationWidth.
# SupportedStyles: special_inside_parentheses, consistent, align_braces
Layout/IndentHash:
Enabled: false
Layout/LeadingCommentSpace:
Exclude:
- 'Capfile'
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: snake_case, camelCase
Naming/MethodName:
Enabled: false
# Configuration parameters: EnforcedStyle, SupportedStyles, IndentationWidth.
# SupportedStyles: aligned, indented
Layout/MultilineMethodCallIndentation:
Enabled: false
# Configuration parameters: EnforcedStyle, SupportedStyles, IndentationWidth.
# SupportedStyles: aligned, indented
Layout/MultilineOperationIndentation:
Enabled: false
# Configuration parameters: NamePrefix, NamePrefixBlacklist, NameWhitelist.
# NamePrefix: is_, has_, have_
# NamePrefixBlacklist: is_, has_, have_
# NameWhitelist: is_a?
Naming/PredicateName:
Enabled: false
# Configuration parameters: EnforcedStyle, SupportedStyles, AllowInnerSlashes.
# SupportedStyles: slashes, percent_r, mixed
Style/RegexpLiteral:
Enabled: false
Metrics/BlockLength:
Enabled: false
Style/EmptyCaseCondition:
Enabled: false