venture 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.ruby-version +1 -0
- data/.standard.yml +6 -0
- data/.tool-versions +1 -0
- data/CHANGELOG.md +1 -0
- data/CODE_OF_CONDUCT.md +84 -0
- data/Gemfile +22 -0
- data/Gemfile.lock +132 -0
- data/LICENSE.txt +21 -0
- data/README.md +39 -0
- data/Rakefile +22 -0
- data/lib/venture/response.rb +7 -0
- data/lib/venture.rb +28 -0
- data/sorbet/config +5 -0
- data/sorbet/rbi/gems/.gitattributes +1 -0
- data/sorbet/rbi/gems/ast@2.4.2.rbi +585 -0
- data/sorbet/rbi/gems/erubi@1.13.0.rbi +150 -0
- data/sorbet/rbi/gems/io-console@0.7.2.rbi +9 -0
- data/sorbet/rbi/gems/json@2.7.2.rbi +1562 -0
- data/sorbet/rbi/gems/language_server-protocol@3.17.0.3.rbi +14238 -0
- data/sorbet/rbi/gems/lint_roller@1.1.0.rbi +240 -0
- data/sorbet/rbi/gems/minitest@5.24.1.rbi +2249 -0
- data/sorbet/rbi/gems/netrc@0.11.0.rbi +159 -0
- data/sorbet/rbi/gems/parallel@1.25.1.rbi +287 -0
- data/sorbet/rbi/gems/parser@3.3.3.0.rbi +5519 -0
- data/sorbet/rbi/gems/prism@0.30.0.rbi +39212 -0
- data/sorbet/rbi/gems/psych@5.1.2.rbi +1769 -0
- data/sorbet/rbi/gems/racc@1.8.0.rbi +162 -0
- data/sorbet/rbi/gems/rainbow@3.1.1.rbi +403 -0
- data/sorbet/rbi/gems/rake@13.2.1.rbi +3028 -0
- data/sorbet/rbi/gems/rbi@0.1.13.rbi +3078 -0
- data/sorbet/rbi/gems/regexp_parser@2.9.2.rbi +3772 -0
- data/sorbet/rbi/gems/reline@0.5.9.rbi +9 -0
- data/sorbet/rbi/gems/rexml@3.3.1.rbi +4813 -0
- data/sorbet/rbi/gems/rubocop-ast@1.31.3.rbi +7012 -0
- data/sorbet/rbi/gems/rubocop-performance@1.21.1.rbi +9 -0
- data/sorbet/rbi/gems/rubocop-sorbet@0.7.8.rbi +9 -0
- data/sorbet/rbi/gems/rubocop@1.64.1.rbi +58099 -0
- data/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi +1318 -0
- data/sorbet/rbi/gems/sorbet-http@0.0.1.rbi +143 -0
- data/sorbet/rbi/gems/sorbet-result@1.1.0.rbi +224 -0
- data/sorbet/rbi/gems/spoom@1.3.2.rbi +4421 -0
- data/sorbet/rbi/gems/standard-custom@1.0.2.rbi +9 -0
- data/sorbet/rbi/gems/standard-performance@1.4.0.rbi +9 -0
- data/sorbet/rbi/gems/standard-sorbet@0.0.2.rbi +53 -0
- data/sorbet/rbi/gems/standard@1.39.1.rbi +923 -0
- data/sorbet/rbi/gems/stringio@3.1.1.rbi +9 -0
- data/sorbet/rbi/gems/strscan@3.1.0.rbi +9 -0
- data/sorbet/rbi/gems/tapioca@0.15.0.rbi +3566 -0
- data/sorbet/rbi/gems/thor@1.3.1.rbi +4352 -0
- data/sorbet/rbi/gems/unicode-display_width@2.5.0.rbi +66 -0
- data/sorbet/rbi/gems/yard-sorbet@0.9.0.rbi +435 -0
- data/sorbet/rbi/gems/yard@0.9.36.rbi +18221 -0
- data/sorbet/rbi/gems/zeitwerk@2.6.16.rbi +9 -0
- data/sorbet/tapioca/config.yml +4 -0
- data/sorbet/tapioca/require.rb +7 -0
- metadata +145 -0
@@ -0,0 +1,923 @@
|
|
1
|
+
# typed: true
|
2
|
+
|
3
|
+
# DO NOT EDIT MANUALLY
|
4
|
+
# This is an autogenerated file for types exported from the `standard` gem.
|
5
|
+
# Please instead update this file by running `bin/tapioca gem standard`.
|
6
|
+
|
7
|
+
|
8
|
+
# source://standard//lib/standard/rubocop/ext.rb#1
|
9
|
+
module RuboCop; end
|
10
|
+
|
11
|
+
# source://standard//lib/standard/rubocop/ext.rb#17
|
12
|
+
class RuboCop::CommentConfig
|
13
|
+
# @return [CommentConfig] a new instance of CommentConfig
|
14
|
+
#
|
15
|
+
# source://standard//lib/standard/rubocop/ext.rb#20
|
16
|
+
def initialize(processed_source); end
|
17
|
+
|
18
|
+
# source://rubocop/1.64.1/lib/rubocop/comment_config.rb#63
|
19
|
+
def comment_only_line?(line_number); end
|
20
|
+
|
21
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
22
|
+
def config(*args, **_arg1, &block); end
|
23
|
+
|
24
|
+
# source://rubocop/1.64.1/lib/rubocop/comment_config.rb#51
|
25
|
+
def cop_disabled_line_ranges; end
|
26
|
+
|
27
|
+
# source://rubocop/1.64.1/lib/rubocop/comment_config.rb#39
|
28
|
+
def cop_enabled_at_line?(cop, line_number); end
|
29
|
+
|
30
|
+
# source://rubocop/1.64.1/lib/rubocop/comment_config.rb#47
|
31
|
+
def cop_opted_in?(cop); end
|
32
|
+
|
33
|
+
# source://rubocop/1.64.1/lib/rubocop/comment_config.rb#55
|
34
|
+
def extra_enabled_comments; end
|
35
|
+
|
36
|
+
# source://rubocop/1.64.1/lib/rubocop/comment_config.rb#30
|
37
|
+
def processed_source; end
|
38
|
+
|
39
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
40
|
+
def registry(*args, **_arg1, &block); end
|
41
|
+
|
42
|
+
private
|
43
|
+
|
44
|
+
# source://rubocop/1.64.1/lib/rubocop/comment_config.rb#96
|
45
|
+
def analyze; end
|
46
|
+
|
47
|
+
# source://rubocop/1.64.1/lib/rubocop/comment_config.rb#124
|
48
|
+
def analyze_cop(analysis, directive); end
|
49
|
+
|
50
|
+
# source://rubocop/1.64.1/lib/rubocop/comment_config.rb#144
|
51
|
+
def analyze_disabled(analysis, directive); end
|
52
|
+
|
53
|
+
# source://rubocop/1.64.1/lib/rubocop/comment_config.rb#155
|
54
|
+
def analyze_rest(analysis, directive); end
|
55
|
+
|
56
|
+
# source://rubocop/1.64.1/lib/rubocop/comment_config.rb#135
|
57
|
+
def analyze_single_line(analysis, directive); end
|
58
|
+
|
59
|
+
# source://rubocop/1.64.1/lib/rubocop/comment_config.rb#164
|
60
|
+
def cop_line_ranges(analysis); end
|
61
|
+
|
62
|
+
# source://rubocop/1.64.1/lib/rubocop/comment_config.rb#170
|
63
|
+
def each_directive; end
|
64
|
+
|
65
|
+
# source://rubocop/1.64.1/lib/rubocop/comment_config.rb#69
|
66
|
+
def extra_enabled_comments_with_names(extras:, names:); end
|
67
|
+
|
68
|
+
# source://rubocop/1.64.1/lib/rubocop/comment_config.rb#190
|
69
|
+
def handle_enable_all(directive, names, extras); end
|
70
|
+
|
71
|
+
# source://rubocop/1.64.1/lib/rubocop/comment_config.rb#204
|
72
|
+
def handle_switch(directive, names, extras); end
|
73
|
+
|
74
|
+
# source://rubocop/1.64.1/lib/rubocop/comment_config.rb#115
|
75
|
+
def inject_disabled_cops_directives(analyses); end
|
76
|
+
|
77
|
+
# source://rubocop/1.64.1/lib/rubocop/comment_config.rb#183
|
78
|
+
def non_comment_token_line_numbers; end
|
79
|
+
|
80
|
+
# source://rubocop/1.64.1/lib/rubocop/comment_config.rb#34
|
81
|
+
def old_initialize(processed_source); end
|
82
|
+
|
83
|
+
# source://rubocop/1.64.1/lib/rubocop/comment_config.rb#83
|
84
|
+
def opt_in_cops; end
|
85
|
+
|
86
|
+
# source://rubocop/1.64.1/lib/rubocop/comment_config.rb#179
|
87
|
+
def qualified_cop_name(cop_name); end
|
88
|
+
end
|
89
|
+
|
90
|
+
module RuboCop::Cop; end
|
91
|
+
module RuboCop::Cop::Lint; end
|
92
|
+
|
93
|
+
# source://standard//lib/standard/rubocop/ext.rb#2
|
94
|
+
class RuboCop::Cop::Lint::AssignmentInCondition < ::RuboCop::Cop::Base
|
95
|
+
# source://standard//lib/standard/rubocop/ext.rb#4
|
96
|
+
def message(_); end
|
97
|
+
|
98
|
+
# source://rubocop/1.64.1/lib/rubocop/cop/lint/assignment_in_condition.rb#55
|
99
|
+
def on_if(node); end
|
100
|
+
|
101
|
+
# source://rubocop/1.64.1/lib/rubocop/cop/lint/assignment_in_condition.rb#55
|
102
|
+
def on_until(node); end
|
103
|
+
|
104
|
+
# source://rubocop/1.64.1/lib/rubocop/cop/lint/assignment_in_condition.rb#55
|
105
|
+
def on_while(node); end
|
106
|
+
|
107
|
+
private
|
108
|
+
|
109
|
+
# source://rubocop/1.64.1/lib/rubocop/cop/lint/assignment_in_condition.rb#82
|
110
|
+
def allowed_construct?(asgn_node); end
|
111
|
+
|
112
|
+
# source://rubocop/1.64.1/lib/rubocop/cop/lint/assignment_in_condition.rb#86
|
113
|
+
def conditional_assignment?(asgn_node); end
|
114
|
+
|
115
|
+
# source://rubocop/1.64.1/lib/rubocop/cop/lint/assignment_in_condition.rb#90
|
116
|
+
def skip_children?(asgn_node); end
|
117
|
+
|
118
|
+
# source://rubocop/1.64.1/lib/rubocop/cop/lint/assignment_in_condition.rb#96
|
119
|
+
def traverse_node(node, &block); end
|
120
|
+
end
|
121
|
+
|
122
|
+
# source://standard//lib/standard/rubocop/ext.rb#9
|
123
|
+
class RuboCop::DirectiveComment
|
124
|
+
# source://rubocop/1.64.1/lib/rubocop/directive_comment.rb#32
|
125
|
+
def initialize(comment, cop_registry = T.unsafe(nil)); end
|
126
|
+
|
127
|
+
# source://rubocop/1.64.1/lib/rubocop/directive_comment.rb#82
|
128
|
+
def all_cops?; end
|
129
|
+
|
130
|
+
# source://rubocop/1.64.1/lib/rubocop/directive_comment.rb#30
|
131
|
+
def comment; end
|
132
|
+
|
133
|
+
# source://rubocop/1.64.1/lib/rubocop/directive_comment.rb#87
|
134
|
+
def cop_names; end
|
135
|
+
|
136
|
+
# source://rubocop/1.64.1/lib/rubocop/directive_comment.rb#30
|
137
|
+
def cop_registry; end
|
138
|
+
|
139
|
+
# source://rubocop/1.64.1/lib/rubocop/directive_comment.rb#30
|
140
|
+
def cops; end
|
141
|
+
|
142
|
+
# source://rubocop/1.64.1/lib/rubocop/directive_comment.rb#93
|
143
|
+
def department_names; end
|
144
|
+
|
145
|
+
# source://rubocop/1.64.1/lib/rubocop/directive_comment.rb#107
|
146
|
+
def directive_count; end
|
147
|
+
|
148
|
+
# source://rubocop/1.64.1/lib/rubocop/directive_comment.rb#62
|
149
|
+
def disabled?; end
|
150
|
+
|
151
|
+
# source://rubocop/1.64.1/lib/rubocop/directive_comment.rb#77
|
152
|
+
def disabled_all?; end
|
153
|
+
|
154
|
+
# source://rubocop/1.64.1/lib/rubocop/directive_comment.rb#67
|
155
|
+
def enabled?; end
|
156
|
+
|
157
|
+
# source://rubocop/1.64.1/lib/rubocop/directive_comment.rb#72
|
158
|
+
def enabled_all?; end
|
159
|
+
|
160
|
+
# source://rubocop/1.64.1/lib/rubocop/directive_comment.rb#98
|
161
|
+
def in_directive_department?(cop); end
|
162
|
+
|
163
|
+
# source://rubocop/1.64.1/lib/rubocop/directive_comment.rb#112
|
164
|
+
def line_number; end
|
165
|
+
|
166
|
+
# source://rubocop/1.64.1/lib/rubocop/directive_comment.rb#44
|
167
|
+
def match?(cop_names); end
|
168
|
+
|
169
|
+
# source://rubocop/1.64.1/lib/rubocop/directive_comment.rb#57
|
170
|
+
def match_captures; end
|
171
|
+
|
172
|
+
# source://rubocop/1.64.1/lib/rubocop/directive_comment.rb#30
|
173
|
+
def mode; end
|
174
|
+
|
175
|
+
# source://rubocop/1.64.1/lib/rubocop/directive_comment.rb#103
|
176
|
+
def overridden_by_department?(cop); end
|
177
|
+
|
178
|
+
# source://rubocop/1.64.1/lib/rubocop/directive_comment.rb#48
|
179
|
+
def range; end
|
180
|
+
|
181
|
+
# source://rubocop/1.64.1/lib/rubocop/directive_comment.rb#39
|
182
|
+
def single_line?; end
|
183
|
+
|
184
|
+
private
|
185
|
+
|
186
|
+
# source://rubocop/1.64.1/lib/rubocop/directive_comment.rb#133
|
187
|
+
def all_cop_names; end
|
188
|
+
|
189
|
+
# source://rubocop/1.64.1/lib/rubocop/directive_comment.rb#137
|
190
|
+
def cop_names_for_department(department); end
|
191
|
+
|
192
|
+
# source://rubocop/1.64.1/lib/rubocop/directive_comment.rb#129
|
193
|
+
def department?(name); end
|
194
|
+
|
195
|
+
# source://rubocop/1.64.1/lib/rubocop/directive_comment.rb#142
|
196
|
+
def exclude_lint_department_cops(cops); end
|
197
|
+
|
198
|
+
# source://rubocop/1.64.1/lib/rubocop/directive_comment.rb#122
|
199
|
+
def parsed_cop_names; end
|
200
|
+
|
201
|
+
# source://rubocop/1.64.1/lib/rubocop/directive_comment.rb#118
|
202
|
+
def splitted_cops_string; end
|
203
|
+
|
204
|
+
class << self
|
205
|
+
# source://rubocop/1.64.1/lib/rubocop/directive_comment.rb#26
|
206
|
+
def before_comment(line); end
|
207
|
+
end
|
208
|
+
end
|
209
|
+
|
210
|
+
# source://standard//lib/standard/rubocop/ext.rb#11
|
211
|
+
RuboCop::DirectiveComment::DIRECTIVE_COMMENT_REGEXP = T.let(T.unsafe(nil), Regexp)
|
212
|
+
|
213
|
+
# source://standard//lib/standard.rb#4
|
214
|
+
module Standard; end
|
215
|
+
|
216
|
+
# source://standard//lib/standard/builds_config.rb#8
|
217
|
+
class Standard::BuildsConfig
|
218
|
+
# @return [BuildsConfig] a new instance of BuildsConfig
|
219
|
+
#
|
220
|
+
# source://standard//lib/standard/builds_config.rb#9
|
221
|
+
def initialize; end
|
222
|
+
|
223
|
+
# source://standard//lib/standard/builds_config.rb#16
|
224
|
+
def call(argv, search_path = T.unsafe(nil)); end
|
225
|
+
end
|
226
|
+
|
227
|
+
# source://standard//lib/standard/cli.rb#5
|
228
|
+
class Standard::Cli
|
229
|
+
# @return [Cli] a new instance of Cli
|
230
|
+
#
|
231
|
+
# source://standard//lib/standard/cli.rb#6
|
232
|
+
def initialize(argv); end
|
233
|
+
|
234
|
+
# source://standard//lib/standard/cli.rb#12
|
235
|
+
def run; end
|
236
|
+
end
|
237
|
+
|
238
|
+
# source://standard//lib/standard/builds_config.rb#6
|
239
|
+
class Standard::Config < ::Struct
|
240
|
+
# Returns the value of attribute paths
|
241
|
+
#
|
242
|
+
# @return [Object] the current value of paths
|
243
|
+
def paths; end
|
244
|
+
|
245
|
+
# Sets the attribute paths
|
246
|
+
#
|
247
|
+
# @param value [Object] the value to set the attribute paths to.
|
248
|
+
# @return [Object] the newly set value
|
249
|
+
def paths=(_); end
|
250
|
+
|
251
|
+
# Returns the value of attribute rubocop_config_store
|
252
|
+
#
|
253
|
+
# @return [Object] the current value of rubocop_config_store
|
254
|
+
def rubocop_config_store; end
|
255
|
+
|
256
|
+
# Sets the attribute rubocop_config_store
|
257
|
+
#
|
258
|
+
# @param value [Object] the value to set the attribute rubocop_config_store to.
|
259
|
+
# @return [Object] the newly set value
|
260
|
+
def rubocop_config_store=(_); end
|
261
|
+
|
262
|
+
# Returns the value of attribute rubocop_options
|
263
|
+
#
|
264
|
+
# @return [Object] the current value of rubocop_options
|
265
|
+
def rubocop_options; end
|
266
|
+
|
267
|
+
# Sets the attribute rubocop_options
|
268
|
+
#
|
269
|
+
# @param value [Object] the value to set the attribute rubocop_options to.
|
270
|
+
# @return [Object] the newly set value
|
271
|
+
def rubocop_options=(_); end
|
272
|
+
|
273
|
+
# Returns the value of attribute runner
|
274
|
+
#
|
275
|
+
# @return [Object] the current value of runner
|
276
|
+
def runner; end
|
277
|
+
|
278
|
+
# Sets the attribute runner
|
279
|
+
#
|
280
|
+
# @param value [Object] the value to set the attribute runner to.
|
281
|
+
# @return [Object] the newly set value
|
282
|
+
def runner=(_); end
|
283
|
+
|
284
|
+
class << self
|
285
|
+
def [](*_arg0); end
|
286
|
+
def inspect; end
|
287
|
+
def keyword_init?; end
|
288
|
+
def members; end
|
289
|
+
def new(*_arg0); end
|
290
|
+
end
|
291
|
+
end
|
292
|
+
|
293
|
+
# source://standard//lib/standard/creates_config_store/assigns_rubocop_yaml.rb#3
|
294
|
+
class Standard::CreatesConfigStore
|
295
|
+
# @return [CreatesConfigStore] a new instance of CreatesConfigStore
|
296
|
+
#
|
297
|
+
# source://standard//lib/standard/creates_config_store.rb#10
|
298
|
+
def initialize; end
|
299
|
+
|
300
|
+
# source://standard//lib/standard/creates_config_store.rb#18
|
301
|
+
def call(standard_config); end
|
302
|
+
end
|
303
|
+
|
304
|
+
# source://standard//lib/standard/creates_config_store/assigns_rubocop_yaml.rb#4
|
305
|
+
class Standard::CreatesConfigStore::AssignsRubocopYaml
|
306
|
+
# source://standard//lib/standard/creates_config_store/assigns_rubocop_yaml.rb#5
|
307
|
+
def call(config_store, standard_config); end
|
308
|
+
end
|
309
|
+
|
310
|
+
# source://standard//lib/standard/creates_config_store/configures_ignored_paths.rb#2
|
311
|
+
class Standard::CreatesConfigStore::ConfiguresIgnoredPaths
|
312
|
+
# source://standard//lib/standard/creates_config_store/configures_ignored_paths.rb#14
|
313
|
+
def call(options_config, standard_config); end
|
314
|
+
|
315
|
+
private
|
316
|
+
|
317
|
+
# @return [Boolean]
|
318
|
+
#
|
319
|
+
# source://standard//lib/standard/creates_config_store/configures_ignored_paths.rb#41
|
320
|
+
def absolute?(path); end
|
321
|
+
|
322
|
+
# source://standard//lib/standard/creates_config_store/configures_ignored_paths.rb#33
|
323
|
+
def absolutify(config_root, path); end
|
324
|
+
|
325
|
+
# source://standard//lib/standard/creates_config_store/configures_ignored_paths.rb#28
|
326
|
+
def ignored_patterns(standard_config); end
|
327
|
+
end
|
328
|
+
|
329
|
+
# source://standard//lib/standard/creates_config_store/configures_ignored_paths.rb#3
|
330
|
+
Standard::CreatesConfigStore::ConfiguresIgnoredPaths::DEFAULT_IGNORES = T.let(T.unsafe(nil), Array)
|
331
|
+
|
332
|
+
# source://standard//lib/standard/creates_config_store/merges_user_config_extensions.rb#5
|
333
|
+
class Standard::CreatesConfigStore::MergesUserConfigExtensions
|
334
|
+
# @return [MergesUserConfigExtensions] a new instance of MergesUserConfigExtensions
|
335
|
+
#
|
336
|
+
# source://standard//lib/standard/creates_config_store/merges_user_config_extensions.rb#24
|
337
|
+
def initialize; end
|
338
|
+
|
339
|
+
# source://standard//lib/standard/creates_config_store/merges_user_config_extensions.rb#28
|
340
|
+
def call(options_config, standard_config); end
|
341
|
+
end
|
342
|
+
|
343
|
+
# source://standard//lib/standard/creates_config_store/merges_user_config_extensions.rb#6
|
344
|
+
class Standard::CreatesConfigStore::MergesUserConfigExtensions::ExtendConfigPlugin < ::LintRoller::Plugin
|
345
|
+
# @return [ExtendConfigPlugin] a new instance of ExtendConfigPlugin
|
346
|
+
#
|
347
|
+
# source://standard//lib/standard/creates_config_store/merges_user_config_extensions.rb#7
|
348
|
+
def initialize(path); end
|
349
|
+
|
350
|
+
# source://standard//lib/standard/creates_config_store/merges_user_config_extensions.rb#11
|
351
|
+
def about; end
|
352
|
+
|
353
|
+
# source://standard//lib/standard/creates_config_store/merges_user_config_extensions.rb#15
|
354
|
+
def rules(context); end
|
355
|
+
end
|
356
|
+
|
357
|
+
# source://standard//lib/standard/creates_config_store/sets_target_ruby_version.rb#2
|
358
|
+
class Standard::CreatesConfigStore::SetsTargetRubyVersion
|
359
|
+
# source://standard//lib/standard/creates_config_store/sets_target_ruby_version.rb#12
|
360
|
+
def call(options_config, standard_config); end
|
361
|
+
|
362
|
+
private
|
363
|
+
|
364
|
+
# source://standard//lib/standard/creates_config_store/sets_target_ruby_version.rb#20
|
365
|
+
def min_target_ruby_version_supported(desired_target_ruby_version); end
|
366
|
+
|
367
|
+
# source://standard//lib/standard/creates_config_store/sets_target_ruby_version.rb#31
|
368
|
+
def normalize_version(version); end
|
369
|
+
end
|
370
|
+
|
371
|
+
# This is minimum version that Rubocop can parse, not the minimum
|
372
|
+
# version it can run on (e.g. TargetRubyVersion). See the following
|
373
|
+
# for more details:
|
374
|
+
#
|
375
|
+
# https://docs.rubocop.org/rubocop/configuration.html#setting-the-target-ruby-version
|
376
|
+
#
|
377
|
+
# https://github.com/rubocop/rubocop/blob/master/lib/rubocop/target_ruby.rb
|
378
|
+
#
|
379
|
+
# source://standard//lib/standard/creates_config_store/sets_target_ruby_version.rb#10
|
380
|
+
Standard::CreatesConfigStore::SetsTargetRubyVersion::MIN_TARGET_RUBY_VERSION = T.let(T.unsafe(nil), String)
|
381
|
+
|
382
|
+
# source://standard//lib/standard/file_finder.rb#4
|
383
|
+
class Standard::FileFinder
|
384
|
+
# source://standard//lib/standard/file_finder.rb#5
|
385
|
+
def call(name, search_path); end
|
386
|
+
end
|
387
|
+
|
388
|
+
# source://standard//lib/standard/formatter.rb#5
|
389
|
+
class Standard::Formatter < ::RuboCop::Formatter::BaseFormatter
|
390
|
+
# source://standard//lib/standard/formatter.rb#18
|
391
|
+
def file_finished(file, offenses); end
|
392
|
+
|
393
|
+
# source://standard//lib/standard/formatter.rb#37
|
394
|
+
def finished(_inspected_files); end
|
395
|
+
|
396
|
+
# source://standard//lib/standard/formatter.rb#10
|
397
|
+
def started(_target_files); end
|
398
|
+
|
399
|
+
# source://standard//lib/standard/formatter.rb#30
|
400
|
+
def track_stats(offenses); end
|
401
|
+
|
402
|
+
private
|
403
|
+
|
404
|
+
# source://standard//lib/standard/formatter.rb#106
|
405
|
+
def determine_run_mode; end
|
406
|
+
|
407
|
+
# source://standard//lib/standard/formatter.rb#114
|
408
|
+
def fixable_error_message(command); end
|
409
|
+
|
410
|
+
# source://standard//lib/standard/formatter.rb#92
|
411
|
+
def path_to(file); end
|
412
|
+
|
413
|
+
# source://standard//lib/standard/formatter.rb#96
|
414
|
+
def potential_fix_mode; end
|
415
|
+
|
416
|
+
# source://standard//lib/standard/formatter.rb#52
|
417
|
+
def print_fix_suggestion; end
|
418
|
+
|
419
|
+
# source://standard//lib/standard/formatter.rb#44
|
420
|
+
def print_header_once; end
|
421
|
+
|
422
|
+
# source://standard//lib/standard/formatter.rb#82
|
423
|
+
def print_todo_congratulations; end
|
424
|
+
|
425
|
+
# source://standard//lib/standard/formatter.rb#66
|
426
|
+
def print_todo_warning; end
|
427
|
+
end
|
428
|
+
|
429
|
+
# source://standard//lib/standard/formatter.rb#6
|
430
|
+
Standard::Formatter::STANDARD_GREETING = T.let(T.unsafe(nil), String)
|
431
|
+
|
432
|
+
# source://standard//lib/standard/loads_runner.rb#9
|
433
|
+
class Standard::LoadsRunner
|
434
|
+
# source://standard//lib/standard/loads_runner.rb#19
|
435
|
+
def call(command); end
|
436
|
+
end
|
437
|
+
|
438
|
+
# source://standard//lib/standard/loads_runner.rb#10
|
439
|
+
Standard::LoadsRunner::RUNNERS = T.let(T.unsafe(nil), Hash)
|
440
|
+
|
441
|
+
# source://standard//lib/standard/loads_yaml_config.rb#7
|
442
|
+
class Standard::LoadsYamlConfig
|
443
|
+
# source://standard//lib/standard/loads_yaml_config.rb#8
|
444
|
+
def call(standard_yaml_path, todo_yaml_path); end
|
445
|
+
|
446
|
+
private
|
447
|
+
|
448
|
+
# source://standard//lib/standard/loads_yaml_config.rb#57
|
449
|
+
def arrayify(object); end
|
450
|
+
|
451
|
+
# source://standard//lib/standard/loads_yaml_config.rb#25
|
452
|
+
def construct_config(yaml_path, standard_yaml, todo_path, todo_yaml); end
|
453
|
+
|
454
|
+
# source://standard//lib/standard/loads_yaml_config.rb#47
|
455
|
+
def expand_ignore_config(ignore_config); end
|
456
|
+
|
457
|
+
# source://standard//lib/standard/loads_yaml_config.rb#17
|
458
|
+
def load_standard_yaml(yaml_path); end
|
459
|
+
|
460
|
+
# source://standard//lib/standard/loads_yaml_config.rb#41
|
461
|
+
def normalized_ruby_version(version); end
|
462
|
+
end
|
463
|
+
|
464
|
+
# source://standard//lib/standard/lsp/stdin_rubocop_runner.rb#2
|
465
|
+
module Standard::Lsp; end
|
466
|
+
|
467
|
+
# source://standard//lib/standard/lsp/diagnostic.rb#3
|
468
|
+
class Standard::Lsp::Diagnostic
|
469
|
+
# @return [Diagnostic] a new instance of Diagnostic
|
470
|
+
#
|
471
|
+
# source://standard//lib/standard/lsp/diagnostic.rb#16
|
472
|
+
def initialize(document_encoding, offense, uri, cop_class); end
|
473
|
+
|
474
|
+
# source://standard//lib/standard/lsp/diagnostic.rb#23
|
475
|
+
def to_lsp_code_actions; end
|
476
|
+
|
477
|
+
# source://standard//lib/standard/lsp/diagnostic.rb#32
|
478
|
+
def to_lsp_diagnostic(config); end
|
479
|
+
|
480
|
+
private
|
481
|
+
|
482
|
+
# source://standard//lib/standard/lsp/diagnostic.rb#77
|
483
|
+
def autocorrect_action; end
|
484
|
+
|
485
|
+
# source://standard//lib/standard/lsp/diagnostic.rb#69
|
486
|
+
def code_description(config); end
|
487
|
+
|
488
|
+
# @return [Boolean]
|
489
|
+
#
|
490
|
+
# source://standard//lib/standard/lsp/diagnostic.rb#163
|
491
|
+
def correctable?; end
|
492
|
+
|
493
|
+
# source://standard//lib/standard/lsp/diagnostic.rb#108
|
494
|
+
def disable_line_action; end
|
495
|
+
|
496
|
+
# source://standard//lib/standard/lsp/diagnostic.rb#148
|
497
|
+
def length_of_line(line); end
|
498
|
+
|
499
|
+
# source://standard//lib/standard/lsp/diagnostic.rb#126
|
500
|
+
def line_disable_comment; end
|
501
|
+
|
502
|
+
# source://standard//lib/standard/lsp/diagnostic.rb#59
|
503
|
+
def message; end
|
504
|
+
|
505
|
+
# source://standard//lib/standard/lsp/diagnostic.rb#96
|
506
|
+
def offense_replacements; end
|
507
|
+
|
508
|
+
# source://standard//lib/standard/lsp/diagnostic.rb#65
|
509
|
+
def severity; end
|
510
|
+
end
|
511
|
+
|
512
|
+
# source://standard//lib/standard/lsp/diagnostic.rb#4
|
513
|
+
Standard::Lsp::Diagnostic::Constant = LanguageServer::Protocol::Constant
|
514
|
+
|
515
|
+
# source://standard//lib/standard/lsp/diagnostic.rb#5
|
516
|
+
Standard::Lsp::Diagnostic::Interface = LanguageServer::Protocol::Interface
|
517
|
+
|
518
|
+
# source://standard//lib/standard/lsp/diagnostic.rb#7
|
519
|
+
Standard::Lsp::Diagnostic::RUBOCOP_TO_LSP_SEVERITY = T.let(T.unsafe(nil), Hash)
|
520
|
+
|
521
|
+
# source://standard//lib/standard/lsp/kills_server.rb#3
|
522
|
+
class Standard::Lsp::KillsServer
|
523
|
+
# source://standard//lib/standard/lsp/kills_server.rb#4
|
524
|
+
def call(&blk); end
|
525
|
+
end
|
526
|
+
|
527
|
+
# source://standard//lib/standard/lsp/logger.rb#3
|
528
|
+
class Standard::Lsp::Logger
|
529
|
+
# @return [Logger] a new instance of Logger
|
530
|
+
#
|
531
|
+
# source://standard//lib/standard/lsp/logger.rb#4
|
532
|
+
def initialize(prefix: T.unsafe(nil)); end
|
533
|
+
|
534
|
+
# source://standard//lib/standard/lsp/logger.rb#9
|
535
|
+
def puts(message); end
|
536
|
+
|
537
|
+
# source://standard//lib/standard/lsp/logger.rb#13
|
538
|
+
def puts_once(message); end
|
539
|
+
end
|
540
|
+
|
541
|
+
# source://standard//lib/standard/lsp/server.rb#8
|
542
|
+
Standard::Lsp::Proto = LanguageServer::Protocol
|
543
|
+
|
544
|
+
# source://standard//lib/standard/lsp/routes.rb#5
|
545
|
+
class Standard::Lsp::Routes
|
546
|
+
# @return [Routes] a new instance of Routes
|
547
|
+
#
|
548
|
+
# source://standard//lib/standard/lsp/routes.rb#6
|
549
|
+
def initialize(writer, logger, standardizer); end
|
550
|
+
|
551
|
+
# source://standard//lib/standard/lsp/routes.rb#19
|
552
|
+
def for(name); end
|
553
|
+
|
554
|
+
# source://standard//lib/standard/lsp/routes.rb#26
|
555
|
+
def handle_initialize(request); end
|
556
|
+
|
557
|
+
# source://standard//lib/standard/lsp/routes.rb#38
|
558
|
+
def handle_initialized(request); end
|
559
|
+
|
560
|
+
# source://standard//lib/standard/lsp/routes.rb#129
|
561
|
+
def handle_method_missing(request); end
|
562
|
+
|
563
|
+
# source://standard//lib/standard/lsp/routes.rb#42
|
564
|
+
def handle_shutdown(request); end
|
565
|
+
|
566
|
+
# source://standard//lib/standard/lsp/routes.rb#121
|
567
|
+
def handle_unsupported_method(request, method = T.unsafe(nil)); end
|
568
|
+
|
569
|
+
private
|
570
|
+
|
571
|
+
# source://standard//lib/standard/lsp/routes.rb#162
|
572
|
+
def diagnostic(file_uri, text); end
|
573
|
+
|
574
|
+
# source://standard//lib/standard/lsp/routes.rb#141
|
575
|
+
def format_file(file_uri); end
|
576
|
+
|
577
|
+
# source://standard//lib/standard/lsp/routes.rb#137
|
578
|
+
def uri_to_path(uri); end
|
579
|
+
|
580
|
+
class << self
|
581
|
+
# source://standard//lib/standard/lsp/routes.rb#15
|
582
|
+
def handle(name, &block); end
|
583
|
+
end
|
584
|
+
end
|
585
|
+
|
586
|
+
# source://standard//lib/standard/lsp/routes.rb#75
|
587
|
+
Standard::Lsp::Routes::CONFIGURATION_FILE_PATTERNS = T.let(T.unsafe(nil), Array)
|
588
|
+
|
589
|
+
# source://standard//lib/standard/lsp/server.rb#9
|
590
|
+
Standard::Lsp::SEV = LanguageServer::Protocol::Constant::DiagnosticSeverity
|
591
|
+
|
592
|
+
# source://standard//lib/standard/lsp/server.rb#11
|
593
|
+
class Standard::Lsp::Server
|
594
|
+
# @return [Server] a new instance of Server
|
595
|
+
#
|
596
|
+
# source://standard//lib/standard/lsp/server.rb#12
|
597
|
+
def initialize(config); end
|
598
|
+
|
599
|
+
# source://standard//lib/standard/lsp/server.rb#20
|
600
|
+
def start; end
|
601
|
+
end
|
602
|
+
|
603
|
+
# source://standard//lib/standard/lsp/standardizer.rb#6
|
604
|
+
class Standard::Lsp::Standardizer
|
605
|
+
# @return [Standardizer] a new instance of Standardizer
|
606
|
+
#
|
607
|
+
# source://standard//lib/standard/lsp/standardizer.rb#7
|
608
|
+
def initialize(config); end
|
609
|
+
|
610
|
+
# source://standard//lib/standard/lsp/standardizer.rb#15
|
611
|
+
def format(path, text); end
|
612
|
+
|
613
|
+
# source://standard//lib/standard/lsp/standardizer.rb#20
|
614
|
+
def offenses(path, text, document_encoding = T.unsafe(nil)); end
|
615
|
+
end
|
616
|
+
|
617
|
+
# Originally lifted from:
|
618
|
+
# https://github.com/Shopify/ruby-lsp/blob/8d4c17efce4e8ecc8e7c557ab2981db6b22c0b6d/lib/ruby_lsp/requests/support/rubocop_runner.rb#L20
|
619
|
+
#
|
620
|
+
# source://standard//lib/standard/lsp/stdin_rubocop_runner.rb#5
|
621
|
+
class Standard::Lsp::StdinRubocopRunner < ::RuboCop::Runner
|
622
|
+
# @return [StdinRubocopRunner] a new instance of StdinRubocopRunner
|
623
|
+
#
|
624
|
+
# source://standard//lib/standard/lsp/stdin_rubocop_runner.rb#21
|
625
|
+
def initialize(config); end
|
626
|
+
|
627
|
+
# Returns the value of attribute config_for_working_directory.
|
628
|
+
#
|
629
|
+
# source://standard//lib/standard/lsp/stdin_rubocop_runner.rb#10
|
630
|
+
def config_for_working_directory; end
|
631
|
+
|
632
|
+
# source://standard//lib/standard/lsp/stdin_rubocop_runner.rb#52
|
633
|
+
def formatted_source; end
|
634
|
+
|
635
|
+
# Returns the value of attribute offenses.
|
636
|
+
#
|
637
|
+
# source://standard//lib/standard/lsp/stdin_rubocop_runner.rb#8
|
638
|
+
def offenses; end
|
639
|
+
|
640
|
+
# source://standard//lib/standard/lsp/stdin_rubocop_runner.rb#35
|
641
|
+
def run(path, contents); end
|
642
|
+
|
643
|
+
private
|
644
|
+
|
645
|
+
# source://standard//lib/standard/lsp/stdin_rubocop_runner.rb#58
|
646
|
+
def file_finished(_file, offenses); end
|
647
|
+
end
|
648
|
+
|
649
|
+
# source://standard//lib/standard/lsp/stdin_rubocop_runner.rb#6
|
650
|
+
class Standard::Lsp::StdinRubocopRunner::ConfigurationError < ::StandardError; end
|
651
|
+
|
652
|
+
# source://standard//lib/standard/lsp/stdin_rubocop_runner.rb#12
|
653
|
+
Standard::Lsp::StdinRubocopRunner::DEFAULT_RUBOCOP_OPTIONS = T.let(T.unsafe(nil), Hash)
|
654
|
+
|
655
|
+
# source://standard//lib/standard/merges_settings.rb#4
|
656
|
+
class Standard::MergesSettings
|
657
|
+
# source://standard//lib/standard/merges_settings.rb#7
|
658
|
+
def call(argv, standard_yaml); end
|
659
|
+
|
660
|
+
private
|
661
|
+
|
662
|
+
# source://standard//lib/standard/merges_settings.rb#42
|
663
|
+
def determine_command(argv); end
|
664
|
+
|
665
|
+
# source://standard//lib/standard/merges_settings.rb#58
|
666
|
+
def merge(standard_yaml, standard_cli_flags, rubocop_cli_flags); end
|
667
|
+
|
668
|
+
# source://standard//lib/standard/merges_settings.rb#27
|
669
|
+
def parse_standard_argv(argv); end
|
670
|
+
|
671
|
+
# source://standard//lib/standard/merges_settings.rb#21
|
672
|
+
def separate_argv(argv); end
|
673
|
+
|
674
|
+
# source://standard//lib/standard/merges_settings.rb#69
|
675
|
+
def without_banned(rubocop_cli_flags); end
|
676
|
+
end
|
677
|
+
|
678
|
+
# source://standard//lib/standard/merges_settings.rb#5
|
679
|
+
class Standard::MergesSettings::Settings < ::Struct
|
680
|
+
# Returns the value of attribute options
|
681
|
+
#
|
682
|
+
# @return [Object] the current value of options
|
683
|
+
def options; end
|
684
|
+
|
685
|
+
# Sets the attribute options
|
686
|
+
#
|
687
|
+
# @param value [Object] the value to set the attribute options to.
|
688
|
+
# @return [Object] the newly set value
|
689
|
+
def options=(_); end
|
690
|
+
|
691
|
+
# Returns the value of attribute paths
|
692
|
+
#
|
693
|
+
# @return [Object] the current value of paths
|
694
|
+
def paths; end
|
695
|
+
|
696
|
+
# Sets the attribute paths
|
697
|
+
#
|
698
|
+
# @param value [Object] the value to set the attribute paths to.
|
699
|
+
# @return [Object] the newly set value
|
700
|
+
def paths=(_); end
|
701
|
+
|
702
|
+
# Returns the value of attribute runner
|
703
|
+
#
|
704
|
+
# @return [Object] the current value of runner
|
705
|
+
def runner; end
|
706
|
+
|
707
|
+
# Sets the attribute runner
|
708
|
+
#
|
709
|
+
# @param value [Object] the value to set the attribute runner to.
|
710
|
+
# @return [Object] the newly set value
|
711
|
+
def runner=(_); end
|
712
|
+
|
713
|
+
class << self
|
714
|
+
def [](*_arg0); end
|
715
|
+
def inspect; end
|
716
|
+
def keyword_init?; end
|
717
|
+
def members; end
|
718
|
+
def new(*_arg0); end
|
719
|
+
end
|
720
|
+
end
|
721
|
+
|
722
|
+
# source://standard//lib/standard/plugin.rb#2
|
723
|
+
module Standard::Plugin; end
|
724
|
+
|
725
|
+
# source://standard//lib/standard/plugin/combines_plugin_configs.rb#3
|
726
|
+
class Standard::Plugin::CombinesPluginConfigs
|
727
|
+
# @return [CombinesPluginConfigs] a new instance of CombinesPluginConfigs
|
728
|
+
#
|
729
|
+
# source://standard//lib/standard/plugin/combines_plugin_configs.rb#4
|
730
|
+
def initialize; end
|
731
|
+
|
732
|
+
# source://standard//lib/standard/plugin/combines_plugin_configs.rb#9
|
733
|
+
def call(options_config, standard_config); end
|
734
|
+
end
|
735
|
+
|
736
|
+
# source://standard//lib/standard/plugin/creates_runner_context.rb#3
|
737
|
+
class Standard::Plugin::CreatesRunnerContext
|
738
|
+
# source://standard//lib/standard/plugin/creates_runner_context.rb#4
|
739
|
+
def call(standard_config); end
|
740
|
+
end
|
741
|
+
|
742
|
+
# source://standard//lib/standard/plugin/determines_class_constant.rb#3
|
743
|
+
class Standard::Plugin::DeterminesClassConstant
|
744
|
+
# source://standard//lib/standard/plugin/determines_class_constant.rb#4
|
745
|
+
def call(plugin_name, user_config); end
|
746
|
+
|
747
|
+
private
|
748
|
+
|
749
|
+
# source://standard//lib/standard/plugin/determines_class_constant.rb#41
|
750
|
+
def require_plugin(require_path); end
|
751
|
+
end
|
752
|
+
|
753
|
+
# source://standard//lib/standard/plugin/initializes_plugins.rb#3
|
754
|
+
class Standard::Plugin::InitializesPlugins
|
755
|
+
# @return [InitializesPlugins] a new instance of InitializesPlugins
|
756
|
+
#
|
757
|
+
# source://standard//lib/standard/plugin/initializes_plugins.rb#4
|
758
|
+
def initialize; end
|
759
|
+
|
760
|
+
# source://standard//lib/standard/plugin/initializes_plugins.rb#9
|
761
|
+
def call(plugins); end
|
762
|
+
end
|
763
|
+
|
764
|
+
# source://standard//lib/standard/plugin/merges_plugins_into_rubocop_config.rb#3
|
765
|
+
class Standard::Plugin::MergesPluginsIntoRubocopConfig
|
766
|
+
# @return [MergesPluginsIntoRubocopConfig] a new instance of MergesPluginsIntoRubocopConfig
|
767
|
+
#
|
768
|
+
# source://standard//lib/standard/plugin/merges_plugins_into_rubocop_config.rb#24
|
769
|
+
def initialize; end
|
770
|
+
|
771
|
+
# source://standard//lib/standard/plugin/merges_plugins_into_rubocop_config.rb#28
|
772
|
+
def call(options_config, standard_config, plugins, permit_merging:); end
|
773
|
+
|
774
|
+
private
|
775
|
+
|
776
|
+
# source://standard//lib/standard/plugin/merges_plugins_into_rubocop_config.rb#126
|
777
|
+
def all_cop_keys_previously_configured_by_plugins(options_config, permit_merging:); end
|
778
|
+
|
779
|
+
# source://standard//lib/standard/plugin/merges_plugins_into_rubocop_config.rb#152
|
780
|
+
def blank_rubocop_config(example_config); end
|
781
|
+
|
782
|
+
# source://standard//lib/standard/plugin/merges_plugins_into_rubocop_config.rb#37
|
783
|
+
def combine_rubocop_configs(options_config, runner_context, plugins, permit_merging:); end
|
784
|
+
|
785
|
+
# source://standard//lib/standard/plugin/merges_plugins_into_rubocop_config.rb#56
|
786
|
+
def config_for_plugin(plugin, runner_context); end
|
787
|
+
|
788
|
+
# source://standard//lib/standard/plugin/merges_plugins_into_rubocop_config.rb#96
|
789
|
+
def delete_already_configured_keys!(configured_keys, next_config, dont_delete_keys: T.unsafe(nil)); end
|
790
|
+
|
791
|
+
# source://standard//lib/standard/plugin/merges_plugins_into_rubocop_config.rb#156
|
792
|
+
def except(hash_or_config, keys); end
|
793
|
+
|
794
|
+
# source://standard//lib/standard/plugin/merges_plugins_into_rubocop_config.rb#134
|
795
|
+
def fake_out_rubocop_default_configuration(options_config); end
|
796
|
+
|
797
|
+
# Always deletes nil entries, always overwrites arrays
|
798
|
+
# This is a simplified version of rubocop's ConfigLoader#merge:
|
799
|
+
# https://github.com/rubocop/rubocop/blob/v1.48.1/lib/rubocop/config_loader_resolver.rb#L98
|
800
|
+
#
|
801
|
+
# source://standard//lib/standard/plugin/merges_plugins_into_rubocop_config.rb#163
|
802
|
+
def merge(old_hash, new_hash); end
|
803
|
+
|
804
|
+
# This is how we ensure "first-in wins": plugins can override AllCops settings that are
|
805
|
+
# set by RuboCop's default configuration, but once a plugin sets an AllCop setting, they
|
806
|
+
# have exclusive first-in-wins rights to that setting.
|
807
|
+
#
|
808
|
+
# The one exception to this are array fields, because we don't want to
|
809
|
+
# overwrite the AllCops defaults but rather munge the arrays (`existing |
|
810
|
+
# new`) to allow plugins to add to the array, for example Include and
|
811
|
+
# Exclude paths and patterns.
|
812
|
+
#
|
813
|
+
# source://standard//lib/standard/plugin/merges_plugins_into_rubocop_config.rb#77
|
814
|
+
def merge_all_cop_settings(existing_all_cops, new_all_cops, already_configured_keys); end
|
815
|
+
|
816
|
+
# source://standard//lib/standard/plugin/merges_plugins_into_rubocop_config.rb#104
|
817
|
+
def merge_config_into_all_cops!(options_config, plugin_config); end
|
818
|
+
|
819
|
+
# source://standard//lib/standard/plugin/merges_plugins_into_rubocop_config.rb#110
|
820
|
+
def merge_config_into_standard!(options_config, plugin_config, permit_merging:); end
|
821
|
+
|
822
|
+
# Avoid a warning that would otherwise be emitted by any plugin that set TargetRailsVersion
|
823
|
+
# because it's not a default AllCops key specified in RuboCop's embedded default config.
|
824
|
+
#
|
825
|
+
# See: https://github.com/rubocop/rubocop/pull/11833
|
826
|
+
#
|
827
|
+
# source://standard//lib/standard/plugin/merges_plugins_into_rubocop_config.rb#146
|
828
|
+
def set_target_rails_version_on_all_cops_because_its_technically_not_allowed!(options_config); end
|
829
|
+
end
|
830
|
+
|
831
|
+
# AllCops keys that standard does not allow to be set by plugins
|
832
|
+
#
|
833
|
+
# source://standard//lib/standard/plugin/merges_plugins_into_rubocop_config.rb#10
|
834
|
+
Standard::Plugin::MergesPluginsIntoRubocopConfig::DISALLOWED_ALLCOPS_KEYS = T.let(T.unsafe(nil), Array)
|
835
|
+
|
836
|
+
# Blank configuration object to merge plugins into, with only the following spared:
|
837
|
+
# - AllCops keys set to avoid warnings about unknown properties
|
838
|
+
# - Lint/Syntax must be set to avoid a nil error when verifying inherited configs
|
839
|
+
#
|
840
|
+
# source://standard//lib/standard/plugin/merges_plugins_into_rubocop_config.rb#7
|
841
|
+
Standard::Plugin::MergesPluginsIntoRubocopConfig::MANDATORY_RUBOCOP_CONFIG_KEYS = T.let(T.unsafe(nil), Array)
|
842
|
+
|
843
|
+
# source://standard//lib/standard/plugin/standardizes_configured_plugins.rb#3
|
844
|
+
class Standard::Plugin::StandardizesConfiguredPlugins
|
845
|
+
# source://standard//lib/standard/plugin/standardizes_configured_plugins.rb#19
|
846
|
+
def call(plugins); end
|
847
|
+
|
848
|
+
private
|
849
|
+
|
850
|
+
# source://standard//lib/standard/plugin/standardizes_configured_plugins.rb#25
|
851
|
+
def normalize_config_shape(plugins); end
|
852
|
+
end
|
853
|
+
|
854
|
+
# source://standard//lib/standard/plugin/standardizes_configured_plugins.rb#10
|
855
|
+
Standard::Plugin::StandardizesConfiguredPlugins::BUILT_INS = T.let(T.unsafe(nil), Array)
|
856
|
+
|
857
|
+
# source://standard//lib/standard/plugin/standardizes_configured_plugins.rb#4
|
858
|
+
Standard::Plugin::StandardizesConfiguredPlugins::DEFAULT_PLUGIN_CONFIG = T.let(T.unsafe(nil), Hash)
|
859
|
+
|
860
|
+
# source://standard//lib/standard/resolves_yaml_option.rb#4
|
861
|
+
class Standard::ResolvesYamlOption
|
862
|
+
# source://standard//lib/standard/resolves_yaml_option.rb#5
|
863
|
+
def call(argv, search_path, option_name, default_file); end
|
864
|
+
|
865
|
+
private
|
866
|
+
|
867
|
+
# source://standard//lib/standard/resolves_yaml_option.rb#22
|
868
|
+
def argv_value_for(argv, option_name); end
|
869
|
+
|
870
|
+
# source://standard//lib/standard/resolves_yaml_option.rb#11
|
871
|
+
def search_argv(argv, option_name); end
|
872
|
+
end
|
873
|
+
|
874
|
+
# source://standard//lib/standard/runners/rubocop.rb#4
|
875
|
+
module Standard::Runners; end
|
876
|
+
|
877
|
+
# source://standard//lib/standard/runners/genignore.rb#7
|
878
|
+
class Standard::Runners::Genignore
|
879
|
+
# source://standard//lib/standard/runners/genignore.rb#8
|
880
|
+
def call(config); end
|
881
|
+
end
|
882
|
+
|
883
|
+
# source://standard//lib/standard/runners/help.rb#5
|
884
|
+
class Standard::Runners::Help
|
885
|
+
# source://standard//lib/standard/runners/help.rb#6
|
886
|
+
def call(config); end
|
887
|
+
end
|
888
|
+
|
889
|
+
# source://standard//lib/standard/runners/lsp.rb#5
|
890
|
+
class Standard::Runners::Lsp
|
891
|
+
# source://standard//lib/standard/runners/lsp.rb#6
|
892
|
+
def call(config); end
|
893
|
+
end
|
894
|
+
|
895
|
+
# source://standard//lib/standard/runners/rubocop.rb#5
|
896
|
+
class Standard::Runners::Rubocop
|
897
|
+
# source://standard//lib/standard/runners/rubocop.rb#6
|
898
|
+
def call(config); end
|
899
|
+
|
900
|
+
private
|
901
|
+
|
902
|
+
# This is a workaround for an issue with how `parallel` and `stdin`
|
903
|
+
# interact when invoked in this way. See:
|
904
|
+
# https://github.com/standardrb/standard/issues/536
|
905
|
+
#
|
906
|
+
# source://standard//lib/standard/runners/rubocop.rb#23
|
907
|
+
def without_parallelizing_in_stdin_mode(options); end
|
908
|
+
end
|
909
|
+
|
910
|
+
# source://standard//lib/standard/runners/verbose_version.rb#5
|
911
|
+
class Standard::Runners::VerboseVersion
|
912
|
+
# source://standard//lib/standard/runners/verbose_version.rb#6
|
913
|
+
def call(config); end
|
914
|
+
end
|
915
|
+
|
916
|
+
# source://standard//lib/standard/runners/version.rb#3
|
917
|
+
class Standard::Runners::Version
|
918
|
+
# source://standard//lib/standard/runners/version.rb#4
|
919
|
+
def call(config); end
|
920
|
+
end
|
921
|
+
|
922
|
+
# source://standard//lib/standard/version.rb#2
|
923
|
+
Standard::VERSION = T.let(T.unsafe(nil), Gem::Version)
|