solargraph 0.57.0 → 0.58.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 +4 -4
- data/.gitattributes +2 -0
- data/.github/workflows/linting.yml +4 -2
- data/.github/workflows/plugins.yml +61 -27
- data/.github/workflows/rspec.yml +19 -4
- data/.github/workflows/typecheck.yml +2 -2
- data/.rubocop.yml +1 -1
- data/.rubocop_todo.yml +90 -1438
- data/CHANGELOG.md +30 -0
- data/Rakefile +1 -1
- data/bin/solargraph +3 -0
- data/lib/solargraph/api_map/constants.rb +107 -46
- data/lib/solargraph/api_map/index.rb +32 -8
- data/lib/solargraph/api_map/source_to_yard.rb +5 -2
- data/lib/solargraph/api_map/store.rb +22 -12
- data/lib/solargraph/api_map.rb +27 -33
- data/lib/solargraph/complex_type/type_methods.rb +5 -0
- data/lib/solargraph/complex_type/unique_type.rb +12 -5
- data/lib/solargraph/complex_type.rb +19 -2
- data/lib/solargraph/convention/active_support_concern.rb +1 -1
- data/lib/solargraph/convention/data_definition/data_definition_node.rb +1 -1
- data/lib/solargraph/diagnostics/rubocop_helpers.rb +4 -2
- data/lib/solargraph/doc_map.rb +9 -6
- data/lib/solargraph/environ.rb +1 -1
- data/lib/solargraph/equality.rb +1 -0
- data/lib/solargraph/gem_pins.rb +4 -0
- data/lib/solargraph/language_server/host.rb +10 -4
- data/lib/solargraph/language_server/message/text_document/definition.rb +2 -2
- data/lib/solargraph/language_server/message/text_document/formatting.rb +4 -1
- data/lib/solargraph/language_server/message/text_document/type_definition.rb +1 -1
- data/lib/solargraph/language_server/progress.rb +1 -1
- data/lib/solargraph/language_server/request.rb +3 -1
- data/lib/solargraph/library.rb +3 -3
- data/lib/solargraph/location.rb +1 -0
- data/lib/solargraph/page.rb +0 -1
- data/lib/solargraph/parser/flow_sensitive_typing.rb +1 -1
- data/lib/solargraph/parser/parser_gem/class_methods.rb +2 -12
- data/lib/solargraph/parser/parser_gem/node_methods.rb +1 -14
- data/lib/solargraph/parser/parser_gem/node_processors/and_node.rb +1 -0
- data/lib/solargraph/parser/parser_gem/node_processors/opasgn_node.rb +64 -8
- data/lib/solargraph/parser/parser_gem/node_processors/sclass_node.rb +12 -3
- data/lib/solargraph/parser/parser_gem/node_processors/send_node.rb +4 -5
- data/lib/solargraph/pin/base.rb +29 -8
- data/lib/solargraph/pin/base_variable.rb +5 -3
- data/lib/solargraph/pin/block.rb +3 -2
- data/lib/solargraph/pin/callable.rb +6 -2
- data/lib/solargraph/pin/closure.rb +3 -7
- data/lib/solargraph/pin/delegated_method.rb +0 -1
- data/lib/solargraph/pin/local_variable.rb +0 -4
- data/lib/solargraph/pin/method.rb +20 -4
- data/lib/solargraph/pin/parameter.rb +6 -2
- data/lib/solargraph/pin/proxy_type.rb +4 -1
- data/lib/solargraph/pin/reference.rb +2 -11
- data/lib/solargraph/pin/search.rb +3 -0
- data/lib/solargraph/pin_cache.rb +5 -5
- data/lib/solargraph/position.rb +1 -0
- data/lib/solargraph/range.rb +4 -0
- data/lib/solargraph/rbs_map/conversions.rb +22 -1
- data/lib/solargraph/rbs_map/core_fills.rb +18 -0
- data/lib/solargraph/rbs_map/core_map.rb +11 -7
- data/lib/solargraph/rbs_map.rb +2 -2
- data/lib/solargraph/shell.rb +82 -1
- data/lib/solargraph/source/chain/call.rb +7 -3
- data/lib/solargraph/source/chain/constant.rb +3 -66
- data/lib/solargraph/source/chain/if.rb +1 -1
- data/lib/solargraph/source/chain/link.rb +1 -1
- data/lib/solargraph/source/chain/or.rb +1 -1
- data/lib/solargraph/source/chain.rb +2 -0
- data/lib/solargraph/source/encoding_fixes.rb +23 -23
- data/lib/solargraph/source.rb +1 -1
- data/lib/solargraph/source_map/clip.rb +17 -25
- data/lib/solargraph/source_map/mapper.rb +0 -2
- data/lib/solargraph/source_map.rb +8 -3
- data/lib/solargraph/type_checker/rules.rb +23 -9
- data/lib/solargraph/type_checker.rb +133 -71
- data/lib/solargraph/version.rb +5 -5
- data/lib/solargraph/workspace/config.rb +21 -3
- data/lib/solargraph/workspace/require_paths.rb +0 -1
- data/lib/solargraph/workspace.rb +14 -19
- data/lib/solargraph/yard_map/mapper/to_method.rb +2 -1
- data/lib/solargraph/yard_map/mapper/to_namespace.rb +1 -0
- data/lib/solargraph/yard_map/to_method.rb +2 -1
- data/lib/solargraph/yardoc.rb +27 -4
- data/rbs/fills/bundler/0/bundler.rbs +4271 -0
- data/rbs/fills/open3/0/open3.rbs +172 -0
- data/rbs/fills/rubygems/0/basic_specification.rbs +326 -0
- data/rbs/fills/rubygems/0/errors.rbs +364 -0
- data/rbs/fills/rubygems/0/spec_fetcher.rbs +107 -0
- data/rbs/fills/rubygems/0/specification.rbs +1753 -0
- data/rbs_collection.yaml +4 -4
- data/sig/shims/ast/0/node.rbs +5 -0
- data/sig/shims/ast/2.4/.rbs_meta.yaml +9 -0
- data/sig/shims/ast/2.4/ast.rbs +73 -0
- data/sig/shims/parser/3.2.0.1/manifest.yaml +7 -0
- data/sig/shims/parser/3.2.0.1/parser.rbs +201 -0
- data/sig/shims/parser/3.2.0.1/polyfill.rbs +4 -0
- data/solargraph.gemspec +15 -4
- metadata +67 -12
- data/lib/solargraph/parser/node_methods.rb +0 -97
- /data/rbs/fills/{tuple.rbs → tuple/tuple.rbs} +0 -0
data/.rubocop_todo.yml
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# This configuration was generated by
|
|
2
|
-
# `rubocop --auto-gen-config --
|
|
3
|
-
# using RuboCop version 1.80.
|
|
2
|
+
# `rubocop --auto-gen-config --exclude-limit 5 --no-offense-counts --no-auto-gen-timestamp`
|
|
3
|
+
# using RuboCop version 1.80.0.
|
|
4
4
|
# The point is for the user to remove these configuration records
|
|
5
5
|
# one by one as the offenses are removed from the code base.
|
|
6
6
|
# Note that changes in the inspected code, or installation of new
|
|
@@ -34,7 +34,6 @@ Gemspec/OrderedDependencies:
|
|
|
34
34
|
# Configuration parameters: Severity.
|
|
35
35
|
Gemspec/RequireMFA:
|
|
36
36
|
Exclude:
|
|
37
|
-
- 'solargraph.gemspec'
|
|
38
37
|
- 'spec/fixtures/rdoc-lib/rdoc-lib.gemspec'
|
|
39
38
|
- 'spec/fixtures/rubocop-custom-version/specifications/rubocop-0.0.0.gemspec'
|
|
40
39
|
|
|
@@ -75,23 +74,7 @@ Layout/CommentIndentation:
|
|
|
75
74
|
|
|
76
75
|
# This cop supports safe autocorrection (--autocorrect).
|
|
77
76
|
Layout/ElseAlignment:
|
|
78
|
-
|
|
79
|
-
- 'lib/solargraph.rb'
|
|
80
|
-
- 'lib/solargraph/api_map/store.rb'
|
|
81
|
-
- 'lib/solargraph/diagnostics/rubocop.rb'
|
|
82
|
-
- 'lib/solargraph/language_server/message/extended/check_gem_version.rb'
|
|
83
|
-
- 'lib/solargraph/library.rb'
|
|
84
|
-
- 'lib/solargraph/parser/parser_gem/node_methods.rb'
|
|
85
|
-
- 'lib/solargraph/parser/parser_gem/node_processors/block_node.rb'
|
|
86
|
-
- 'lib/solargraph/pin/method.rb'
|
|
87
|
-
- 'lib/solargraph/pin/namespace.rb'
|
|
88
|
-
- 'lib/solargraph/rbs_map.rb'
|
|
89
|
-
- 'lib/solargraph/shell.rb'
|
|
90
|
-
- 'lib/solargraph/source/chain/call.rb'
|
|
91
|
-
- 'lib/solargraph/source_map/clip.rb'
|
|
92
|
-
- 'lib/solargraph/source_map/mapper.rb'
|
|
93
|
-
- 'lib/solargraph/type_checker/rules.rb'
|
|
94
|
-
- 'lib/solargraph/yard_map/mapper.rb'
|
|
77
|
+
Enabled: false
|
|
95
78
|
|
|
96
79
|
# This cop supports safe autocorrection (--autocorrect).
|
|
97
80
|
# Configuration parameters: EmptyLineBetweenMethodDefs, EmptyLineBetweenClassDefs, EmptyLineBetweenModuleDefs, DefLikeMacros, AllowAdjacentOneLineDefs, NumberOfEmptyLines.
|
|
@@ -103,25 +86,7 @@ Layout/EmptyLineBetweenDefs:
|
|
|
103
86
|
|
|
104
87
|
# This cop supports safe autocorrection (--autocorrect).
|
|
105
88
|
Layout/EmptyLines:
|
|
106
|
-
|
|
107
|
-
- 'lib/solargraph/bench.rb'
|
|
108
|
-
- 'lib/solargraph/complex_type/unique_type.rb'
|
|
109
|
-
- 'lib/solargraph/doc_map.rb'
|
|
110
|
-
- 'lib/solargraph/language_server/message/extended/check_gem_version.rb'
|
|
111
|
-
- 'lib/solargraph/language_server/message/initialize.rb'
|
|
112
|
-
- 'lib/solargraph/pin/delegated_method.rb'
|
|
113
|
-
- 'lib/solargraph/rbs_map/conversions.rb'
|
|
114
|
-
- 'spec/complex_type_spec.rb'
|
|
115
|
-
- 'spec/pin/local_variable_spec.rb'
|
|
116
|
-
- 'spec/pin/symbol_spec.rb'
|
|
117
|
-
- 'spec/type_checker/levels/strict_spec.rb'
|
|
118
|
-
|
|
119
|
-
# This cop supports safe autocorrection (--autocorrect).
|
|
120
|
-
# Configuration parameters: EnforcedStyle.
|
|
121
|
-
# SupportedStyles: empty_lines, empty_lines_except_namespace, empty_lines_special, no_empty_lines, beginning_only, ending_only
|
|
122
|
-
Layout/EmptyLinesAroundClassBody:
|
|
123
|
-
Exclude:
|
|
124
|
-
- 'lib/solargraph/rbs_map/core_map.rb'
|
|
89
|
+
Enabled: false
|
|
125
90
|
|
|
126
91
|
# This cop supports safe autocorrection (--autocorrect).
|
|
127
92
|
# Configuration parameters: EnforcedStyle.
|
|
@@ -134,23 +99,7 @@ Layout/EmptyLinesAroundModuleBody:
|
|
|
134
99
|
# Configuration parameters: EnforcedStyleAlignWith, Severity.
|
|
135
100
|
# SupportedStylesAlignWith: keyword, variable, start_of_line
|
|
136
101
|
Layout/EndAlignment:
|
|
137
|
-
|
|
138
|
-
- 'lib/solargraph.rb'
|
|
139
|
-
- 'lib/solargraph/api_map/store.rb'
|
|
140
|
-
- 'lib/solargraph/diagnostics/rubocop.rb'
|
|
141
|
-
- 'lib/solargraph/language_server/message/extended/check_gem_version.rb'
|
|
142
|
-
- 'lib/solargraph/library.rb'
|
|
143
|
-
- 'lib/solargraph/parser/parser_gem/node_methods.rb'
|
|
144
|
-
- 'lib/solargraph/parser/parser_gem/node_processors/block_node.rb'
|
|
145
|
-
- 'lib/solargraph/pin/method.rb'
|
|
146
|
-
- 'lib/solargraph/pin/namespace.rb'
|
|
147
|
-
- 'lib/solargraph/rbs_map.rb'
|
|
148
|
-
- 'lib/solargraph/shell.rb'
|
|
149
|
-
- 'lib/solargraph/source/chain/call.rb'
|
|
150
|
-
- 'lib/solargraph/source_map/clip.rb'
|
|
151
|
-
- 'lib/solargraph/source_map/mapper.rb'
|
|
152
|
-
- 'lib/solargraph/type_checker/rules.rb'
|
|
153
|
-
- 'lib/solargraph/yard_map/mapper.rb'
|
|
102
|
+
Enabled: false
|
|
154
103
|
|
|
155
104
|
# Configuration parameters: EnforcedStyle.
|
|
156
105
|
# SupportedStyles: native, lf, crlf
|
|
@@ -194,22 +143,7 @@ Layout/FirstArrayElementIndentation:
|
|
|
194
143
|
# Configuration parameters: EnforcedStyle, IndentationWidth.
|
|
195
144
|
# SupportedStyles: special_inside_parentheses, consistent, align_braces
|
|
196
145
|
Layout/FirstHashElementIndentation:
|
|
197
|
-
|
|
198
|
-
- 'lib/solargraph/language_server/message/extended/check_gem_version.rb'
|
|
199
|
-
- 'lib/solargraph/language_server/message/extended/document_gems.rb'
|
|
200
|
-
- 'lib/solargraph/language_server/message/text_document/completion.rb'
|
|
201
|
-
- 'lib/solargraph/language_server/message/text_document/rename.rb'
|
|
202
|
-
- 'lib/solargraph/language_server/message/text_document/signature_help.rb'
|
|
203
|
-
- 'lib/solargraph/pin/base_variable.rb'
|
|
204
|
-
- 'spec/language_server/host_spec.rb'
|
|
205
|
-
- 'spec/language_server/message/completion_item/resolve_spec.rb'
|
|
206
|
-
- 'spec/language_server/message/initialize_spec.rb'
|
|
207
|
-
- 'spec/language_server/message/text_document/definition_spec.rb'
|
|
208
|
-
- 'spec/language_server/message/text_document/formatting_spec.rb'
|
|
209
|
-
- 'spec/language_server/message/text_document/hover_spec.rb'
|
|
210
|
-
- 'spec/language_server/message/text_document/rename_spec.rb'
|
|
211
|
-
- 'spec/language_server/message/text_document/type_definition_spec.rb'
|
|
212
|
-
- 'spec/language_server/message/workspace/did_change_watched_files_spec.rb'
|
|
146
|
+
Enabled: false
|
|
213
147
|
|
|
214
148
|
# This cop supports safe autocorrection (--autocorrect).
|
|
215
149
|
# Configuration parameters: AllowMultipleStyles, EnforcedHashRocketStyle, EnforcedColonStyle, EnforcedLastArgumentHashStyle.
|
|
@@ -229,27 +163,7 @@ Layout/HeredocIndentation:
|
|
|
229
163
|
# This cop supports safe autocorrection (--autocorrect).
|
|
230
164
|
# Configuration parameters: Width, AllowedPatterns.
|
|
231
165
|
Layout/IndentationWidth:
|
|
232
|
-
|
|
233
|
-
- 'lib/solargraph.rb'
|
|
234
|
-
- 'lib/solargraph/api_map/store.rb'
|
|
235
|
-
- 'lib/solargraph/diagnostics/rubocop.rb'
|
|
236
|
-
- 'lib/solargraph/language_server/message/extended/check_gem_version.rb'
|
|
237
|
-
- 'lib/solargraph/library.rb'
|
|
238
|
-
- 'lib/solargraph/parser/parser_gem/node_methods.rb'
|
|
239
|
-
- 'lib/solargraph/parser/parser_gem/node_processors/block_node.rb'
|
|
240
|
-
- 'lib/solargraph/pin/method.rb'
|
|
241
|
-
- 'lib/solargraph/pin/namespace.rb'
|
|
242
|
-
- 'lib/solargraph/rbs_map.rb'
|
|
243
|
-
- 'lib/solargraph/shell.rb'
|
|
244
|
-
- 'lib/solargraph/source/chain/call.rb'
|
|
245
|
-
- 'lib/solargraph/source_map/clip.rb'
|
|
246
|
-
- 'lib/solargraph/source_map/mapper.rb'
|
|
247
|
-
- 'lib/solargraph/type_checker.rb'
|
|
248
|
-
- 'lib/solargraph/type_checker/rules.rb'
|
|
249
|
-
- 'lib/solargraph/yard_map/mapper.rb'
|
|
250
|
-
- 'spec/api_map/config_spec.rb'
|
|
251
|
-
- 'spec/shell_spec.rb'
|
|
252
|
-
- 'spec/source_map/mapper_spec.rb'
|
|
166
|
+
Enabled: false
|
|
253
167
|
|
|
254
168
|
# This cop supports safe autocorrection (--autocorrect).
|
|
255
169
|
# Configuration parameters: AllowDoxygenCommentStyle, AllowGemfileRubyComment, AllowRBSInlineAnnotation, AllowSteepAnnotation.
|
|
@@ -279,14 +193,7 @@ Layout/MultilineMethodCallBraceLayout:
|
|
|
279
193
|
# Configuration parameters: EnforcedStyle, IndentationWidth.
|
|
280
194
|
# SupportedStyles: aligned, indented, indented_relative_to_receiver
|
|
281
195
|
Layout/MultilineMethodCallIndentation:
|
|
282
|
-
|
|
283
|
-
- 'lib/solargraph/api_map.rb'
|
|
284
|
-
- 'lib/solargraph/diagnostics/type_check.rb'
|
|
285
|
-
- 'lib/solargraph/language_server/message/completion_item/resolve.rb'
|
|
286
|
-
- 'lib/solargraph/language_server/message/text_document/hover.rb'
|
|
287
|
-
- 'lib/solargraph/library.rb'
|
|
288
|
-
- 'lib/solargraph/pin/search.rb'
|
|
289
|
-
- 'lib/solargraph/type_checker.rb'
|
|
196
|
+
Enabled: false
|
|
290
197
|
|
|
291
198
|
# This cop supports safe autocorrection (--autocorrect).
|
|
292
199
|
# Configuration parameters: EnforcedStyle, IndentationWidth.
|
|
@@ -306,13 +213,7 @@ Layout/SpaceAfterComma:
|
|
|
306
213
|
# Configuration parameters: EnforcedStyle.
|
|
307
214
|
# SupportedStyles: space, no_space
|
|
308
215
|
Layout/SpaceAroundEqualsInParameterDefault:
|
|
309
|
-
|
|
310
|
-
- 'lib/solargraph/pin/base.rb'
|
|
311
|
-
- 'lib/solargraph/pin/base_variable.rb'
|
|
312
|
-
- 'lib/solargraph/pin/callable.rb'
|
|
313
|
-
- 'lib/solargraph/pin/closure.rb'
|
|
314
|
-
- 'lib/solargraph/pin/local_variable.rb'
|
|
315
|
-
- 'lib/solargraph/pin/parameter.rb'
|
|
216
|
+
Enabled: false
|
|
316
217
|
|
|
317
218
|
# This cop supports safe autocorrection (--autocorrect).
|
|
318
219
|
Layout/SpaceAroundKeyword:
|
|
@@ -324,55 +225,14 @@ Layout/SpaceAroundKeyword:
|
|
|
324
225
|
# SupportedStylesForExponentOperator: space, no_space
|
|
325
226
|
# SupportedStylesForRationalLiterals: space, no_space
|
|
326
227
|
Layout/SpaceAroundOperators:
|
|
327
|
-
|
|
328
|
-
- 'lib/solargraph/library.rb'
|
|
329
|
-
- 'lib/solargraph/parser/parser_gem/node_methods.rb'
|
|
330
|
-
- 'lib/solargraph/source.rb'
|
|
331
|
-
- 'lib/solargraph/source/change.rb'
|
|
332
|
-
- 'lib/solargraph/source/cursor.rb'
|
|
333
|
-
- 'lib/solargraph/source/source_chainer.rb'
|
|
334
|
-
- 'lib/solargraph/source_map/clip.rb'
|
|
335
|
-
- 'lib/solargraph/workspace/config.rb'
|
|
336
|
-
- 'spec/library_spec.rb'
|
|
337
|
-
- 'spec/yard_map/mapper_spec.rb'
|
|
228
|
+
Enabled: false
|
|
338
229
|
|
|
339
230
|
# This cop supports safe autocorrection (--autocorrect).
|
|
340
231
|
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces.
|
|
341
232
|
# SupportedStyles: space, no_space
|
|
342
233
|
# SupportedStylesForEmptyBraces: space, no_space
|
|
343
234
|
Layout/SpaceBeforeBlockBraces:
|
|
344
|
-
|
|
345
|
-
- 'lib/solargraph/api_map.rb'
|
|
346
|
-
- 'lib/solargraph/api_map/store.rb'
|
|
347
|
-
- 'lib/solargraph/diagnostics/rubocop.rb'
|
|
348
|
-
- 'lib/solargraph/diagnostics/update_errors.rb'
|
|
349
|
-
- 'lib/solargraph/language_server/host.rb'
|
|
350
|
-
- 'lib/solargraph/library.rb'
|
|
351
|
-
- 'lib/solargraph/parser/parser_gem/node_methods.rb'
|
|
352
|
-
- 'lib/solargraph/parser/parser_gem/node_processors/and_node.rb'
|
|
353
|
-
- 'lib/solargraph/parser/parser_gem/node_processors/if_node.rb'
|
|
354
|
-
- 'lib/solargraph/parser/parser_gem/node_processors/send_node.rb'
|
|
355
|
-
- 'lib/solargraph/pin/base.rb'
|
|
356
|
-
- 'lib/solargraph/source.rb'
|
|
357
|
-
- 'lib/solargraph/source/chain/call.rb'
|
|
358
|
-
- 'lib/solargraph/source/chain/class_variable.rb'
|
|
359
|
-
- 'lib/solargraph/source/chain/constant.rb'
|
|
360
|
-
- 'lib/solargraph/source/chain/global_variable.rb'
|
|
361
|
-
- 'lib/solargraph/source/chain/instance_variable.rb'
|
|
362
|
-
- 'lib/solargraph/source/chain/variable.rb'
|
|
363
|
-
- 'lib/solargraph/source/source_chainer.rb'
|
|
364
|
-
- 'lib/solargraph/source_map/clip.rb'
|
|
365
|
-
- 'lib/solargraph/source_map/mapper.rb'
|
|
366
|
-
- 'lib/solargraph/workspace/config.rb'
|
|
367
|
-
- 'spec/language_server/host_spec.rb'
|
|
368
|
-
- 'spec/language_server/protocol_spec.rb'
|
|
369
|
-
- 'spec/library_spec.rb'
|
|
370
|
-
- 'spec/pin/constant_spec.rb'
|
|
371
|
-
- 'spec/pin/instance_variable_spec.rb'
|
|
372
|
-
- 'spec/rbs_map/core_map_spec.rb'
|
|
373
|
-
- 'spec/source_map/mapper_spec.rb'
|
|
374
|
-
- 'spec/source_map_spec.rb'
|
|
375
|
-
- 'spec/source_spec.rb'
|
|
235
|
+
Enabled: false
|
|
376
236
|
|
|
377
237
|
# This cop supports safe autocorrection (--autocorrect).
|
|
378
238
|
Layout/SpaceBeforeComma:
|
|
@@ -384,28 +244,7 @@ Layout/SpaceBeforeComma:
|
|
|
384
244
|
# SupportedStyles: space, no_space
|
|
385
245
|
# SupportedStylesForEmptyBraces: space, no_space
|
|
386
246
|
Layout/SpaceInsideBlockBraces:
|
|
387
|
-
|
|
388
|
-
- 'lib/solargraph/api_map.rb'
|
|
389
|
-
- 'lib/solargraph/api_map/store.rb'
|
|
390
|
-
- 'lib/solargraph/diagnostics/update_errors.rb'
|
|
391
|
-
- 'lib/solargraph/language_server/host.rb'
|
|
392
|
-
- 'lib/solargraph/parser/parser_gem/node_methods.rb'
|
|
393
|
-
- 'lib/solargraph/parser/parser_gem/node_processors/and_node.rb'
|
|
394
|
-
- 'lib/solargraph/parser/parser_gem/node_processors/if_node.rb'
|
|
395
|
-
- 'lib/solargraph/parser/parser_gem/node_processors/send_node.rb'
|
|
396
|
-
- 'lib/solargraph/source/chain/call.rb'
|
|
397
|
-
- 'lib/solargraph/source/chain/class_variable.rb'
|
|
398
|
-
- 'lib/solargraph/source/chain/global_variable.rb'
|
|
399
|
-
- 'lib/solargraph/source/chain/instance_variable.rb'
|
|
400
|
-
- 'lib/solargraph/source/chain/variable.rb'
|
|
401
|
-
- 'lib/solargraph/source/source_chainer.rb'
|
|
402
|
-
- 'lib/solargraph/source_map/mapper.rb'
|
|
403
|
-
- 'spec/language_server/protocol_spec.rb'
|
|
404
|
-
- 'spec/library_spec.rb'
|
|
405
|
-
- 'spec/pin/constant_spec.rb'
|
|
406
|
-
- 'spec/rbs_map/core_map_spec.rb'
|
|
407
|
-
- 'spec/source_map/mapper_spec.rb'
|
|
408
|
-
- 'spec/source_spec.rb'
|
|
247
|
+
Enabled: false
|
|
409
248
|
|
|
410
249
|
# This cop supports safe autocorrection (--autocorrect).
|
|
411
250
|
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces.
|
|
@@ -433,24 +272,16 @@ Layout/TrailingWhitespace:
|
|
|
433
272
|
Exclude:
|
|
434
273
|
- 'lib/solargraph/language_server/message/client/register_capability.rb'
|
|
435
274
|
- 'spec/api_map/config_spec.rb'
|
|
436
|
-
- 'spec/convention_spec.rb'
|
|
437
275
|
|
|
438
276
|
# This cop supports safe autocorrection (--autocorrect).
|
|
439
277
|
# Configuration parameters: AllowedMethods, AllowedPatterns.
|
|
440
278
|
Lint/AmbiguousBlockAssociation:
|
|
441
279
|
Exclude:
|
|
442
|
-
- 'lib/solargraph/api_map.rb'
|
|
443
280
|
- 'lib/solargraph/language_server/host.rb'
|
|
444
281
|
|
|
445
282
|
# This cop supports safe autocorrection (--autocorrect).
|
|
446
283
|
Lint/AmbiguousOperator:
|
|
447
|
-
|
|
448
|
-
- 'lib/solargraph/api_map.rb'
|
|
449
|
-
- 'lib/solargraph/complex_type.rb'
|
|
450
|
-
- 'lib/solargraph/language_server/message/workspace/did_change_watched_files.rb'
|
|
451
|
-
- 'lib/solargraph/parser/parser_gem/class_methods.rb'
|
|
452
|
-
- 'lib/solargraph/pin/constant.rb'
|
|
453
|
-
- 'lib/solargraph/pin/method.rb'
|
|
284
|
+
Enabled: false
|
|
454
285
|
|
|
455
286
|
# This cop supports safe autocorrection (--autocorrect).
|
|
456
287
|
Lint/AmbiguousOperatorPrecedence:
|
|
@@ -461,15 +292,7 @@ Lint/AmbiguousOperatorPrecedence:
|
|
|
461
292
|
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
462
293
|
# Configuration parameters: RequireParenthesesForMethodChains.
|
|
463
294
|
Lint/AmbiguousRange:
|
|
464
|
-
|
|
465
|
-
- 'lib/solargraph/library.rb'
|
|
466
|
-
- 'lib/solargraph/parser/parser_gem/node_methods.rb'
|
|
467
|
-
- 'lib/solargraph/source.rb'
|
|
468
|
-
- 'lib/solargraph/source/change.rb'
|
|
469
|
-
- 'lib/solargraph/source/cursor.rb'
|
|
470
|
-
- 'lib/solargraph/source/source_chainer.rb'
|
|
471
|
-
- 'lib/solargraph/source_map/clip.rb'
|
|
472
|
-
- 'spec/library_spec.rb'
|
|
295
|
+
Enabled: false
|
|
473
296
|
|
|
474
297
|
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
475
298
|
# Configuration parameters: AllowSafeAssignment.
|
|
@@ -503,29 +326,11 @@ Lint/DuplicateBranch:
|
|
|
503
326
|
- 'lib/solargraph/rbs_map/conversions.rb'
|
|
504
327
|
|
|
505
328
|
Lint/DuplicateMethods:
|
|
506
|
-
|
|
507
|
-
- 'lib/solargraph/complex_type.rb'
|
|
508
|
-
- 'lib/solargraph/location.rb'
|
|
509
|
-
- 'lib/solargraph/pin/base.rb'
|
|
510
|
-
- 'lib/solargraph/pin/signature.rb'
|
|
511
|
-
- 'lib/solargraph/rbs_map.rb'
|
|
512
|
-
- 'lib/solargraph/rbs_map/core_map.rb'
|
|
513
|
-
- 'lib/solargraph/source/chain/link.rb'
|
|
514
|
-
|
|
515
|
-
# Configuration parameters: AllowComments, AllowEmptyLambdas.
|
|
516
|
-
Lint/EmptyBlock:
|
|
517
|
-
Exclude:
|
|
518
|
-
- 'spec/convention_spec.rb'
|
|
329
|
+
Enabled: false
|
|
519
330
|
|
|
520
331
|
# Configuration parameters: AllowComments.
|
|
521
332
|
Lint/EmptyClass:
|
|
522
|
-
|
|
523
|
-
- 'spec/fixtures/rubocop-validation-error/app.rb'
|
|
524
|
-
- 'spec/fixtures/workspace-with-gemfile/lib/other.rb'
|
|
525
|
-
- 'spec/fixtures/workspace/lib/other.rb'
|
|
526
|
-
- 'spec/fixtures/workspace/lib/something.rb'
|
|
527
|
-
- 'spec/fixtures/workspace_folders/folder1/app.rb'
|
|
528
|
-
- 'spec/fixtures/workspace_folders/folder2/app.rb'
|
|
333
|
+
Enabled: false
|
|
529
334
|
|
|
530
335
|
# Configuration parameters: AllowComments.
|
|
531
336
|
Lint/EmptyFile:
|
|
@@ -624,31 +429,7 @@ Lint/UnusedBlockArgument:
|
|
|
624
429
|
# Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods, IgnoreNotImplementedMethods, NotImplementedExceptions.
|
|
625
430
|
# NotImplementedExceptions: NotImplementedError
|
|
626
431
|
Lint/UnusedMethodArgument:
|
|
627
|
-
|
|
628
|
-
- 'lib/solargraph.rb'
|
|
629
|
-
- 'lib/solargraph/complex_type/type_methods.rb'
|
|
630
|
-
- 'lib/solargraph/convention/base.rb'
|
|
631
|
-
- 'lib/solargraph/diagnostics/base.rb'
|
|
632
|
-
- 'lib/solargraph/diagnostics/update_errors.rb'
|
|
633
|
-
- 'lib/solargraph/doc_map.rb'
|
|
634
|
-
- 'lib/solargraph/pin/namespace.rb'
|
|
635
|
-
- 'lib/solargraph/rbs_map/conversions.rb'
|
|
636
|
-
- 'lib/solargraph/source.rb'
|
|
637
|
-
- 'lib/solargraph/source/chain.rb'
|
|
638
|
-
- 'lib/solargraph/source/chain/block_symbol.rb'
|
|
639
|
-
- 'lib/solargraph/source/chain/block_variable.rb'
|
|
640
|
-
- 'lib/solargraph/source/chain/call.rb'
|
|
641
|
-
- 'lib/solargraph/source/chain/class_variable.rb'
|
|
642
|
-
- 'lib/solargraph/source/chain/constant.rb'
|
|
643
|
-
- 'lib/solargraph/source/chain/global_variable.rb'
|
|
644
|
-
- 'lib/solargraph/source/chain/hash.rb'
|
|
645
|
-
- 'lib/solargraph/source/chain/head.rb'
|
|
646
|
-
- 'lib/solargraph/source/chain/instance_variable.rb'
|
|
647
|
-
- 'lib/solargraph/source/chain/link.rb'
|
|
648
|
-
- 'lib/solargraph/source/chain/literal.rb'
|
|
649
|
-
- 'lib/solargraph/source/chain/variable.rb'
|
|
650
|
-
- 'lib/solargraph/source/chain/z_super.rb'
|
|
651
|
-
- 'spec/doc_map_spec.rb'
|
|
432
|
+
Enabled: false
|
|
652
433
|
|
|
653
434
|
# This cop supports safe autocorrection (--autocorrect).
|
|
654
435
|
# Configuration parameters: ContextCreatingMethods, MethodCreatingMethods.
|
|
@@ -658,30 +439,7 @@ Lint/UselessAccessModifier:
|
|
|
658
439
|
|
|
659
440
|
# This cop supports safe autocorrection (--autocorrect).
|
|
660
441
|
Lint/UselessAssignment:
|
|
661
|
-
|
|
662
|
-
- 'lib/solargraph/api_map.rb'
|
|
663
|
-
- 'lib/solargraph/doc_map.rb'
|
|
664
|
-
- 'lib/solargraph/language_server/message/extended/check_gem_version.rb'
|
|
665
|
-
- 'lib/solargraph/language_server/message/extended/document_gems.rb'
|
|
666
|
-
- 'lib/solargraph/language_server/message/text_document/completion.rb'
|
|
667
|
-
- 'lib/solargraph/parser/parser_gem/node_processors/send_node.rb'
|
|
668
|
-
- 'lib/solargraph/pin/method.rb'
|
|
669
|
-
- 'lib/solargraph/pin/parameter.rb'
|
|
670
|
-
- 'lib/solargraph/rbs_map/conversions.rb'
|
|
671
|
-
- 'lib/solargraph/source.rb'
|
|
672
|
-
- 'lib/solargraph/source/chain/call.rb'
|
|
673
|
-
- 'lib/solargraph/source/source_chainer.rb'
|
|
674
|
-
- 'lib/solargraph/source_map/mapper.rb'
|
|
675
|
-
- 'lib/solargraph/type_checker.rb'
|
|
676
|
-
- 'spec/fixtures/long_squiggly_heredoc.rb'
|
|
677
|
-
- 'spec/fixtures/rubocop-unused-variable-error/app.rb'
|
|
678
|
-
- 'spec/fixtures/unicode.rb'
|
|
679
|
-
- 'spec/language_server/host_spec.rb'
|
|
680
|
-
- 'spec/language_server/protocol_spec.rb'
|
|
681
|
-
- 'spec/library_spec.rb'
|
|
682
|
-
- 'spec/pin/namespace_spec.rb'
|
|
683
|
-
- 'spec/source/chain/call_spec.rb'
|
|
684
|
-
- 'spec/source_map/mapper_spec.rb'
|
|
442
|
+
Enabled: false
|
|
685
443
|
|
|
686
444
|
Lint/UselessConstantScoping:
|
|
687
445
|
Exclude:
|
|
@@ -694,43 +452,16 @@ Lint/UselessMethodDefinition:
|
|
|
694
452
|
|
|
695
453
|
# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes, Max.
|
|
696
454
|
Metrics/AbcSize:
|
|
697
|
-
|
|
698
|
-
- 'lib/solargraph/api_map.rb'
|
|
699
|
-
- 'lib/solargraph/api_map/source_to_yard.rb'
|
|
700
|
-
- 'lib/solargraph/complex_type.rb'
|
|
701
|
-
- 'lib/solargraph/doc_map.rb'
|
|
702
|
-
- 'lib/solargraph/language_server/host.rb'
|
|
703
|
-
- 'lib/solargraph/language_server/message/initialize.rb'
|
|
704
|
-
- 'lib/solargraph/library.rb'
|
|
705
|
-
- 'lib/solargraph/parser/parser_gem/node_chainer.rb'
|
|
706
|
-
- 'lib/solargraph/parser/parser_gem/node_processors/sclass_node.rb'
|
|
707
|
-
- 'lib/solargraph/parser/parser_gem/node_processors/send_node.rb'
|
|
708
|
-
- 'lib/solargraph/pin/method.rb'
|
|
709
|
-
- 'lib/solargraph/rbs_map/conversions.rb'
|
|
710
|
-
- 'lib/solargraph/source/chain/call.rb'
|
|
711
|
-
- 'lib/solargraph/source/source_chainer.rb'
|
|
712
|
-
- 'lib/solargraph/source_map/clip.rb'
|
|
713
|
-
- 'lib/solargraph/source_map/mapper.rb'
|
|
714
|
-
- 'lib/solargraph/type_checker.rb'
|
|
455
|
+
Enabled: false
|
|
715
456
|
|
|
716
|
-
# Configuration parameters: CountComments,
|
|
457
|
+
# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns, inherit_mode.
|
|
717
458
|
# AllowedMethods: refine
|
|
718
459
|
Metrics/BlockLength:
|
|
719
|
-
|
|
720
|
-
- 'lib/solargraph/api_map.rb'
|
|
721
|
-
- 'lib/solargraph/api_map/source_to_yard.rb'
|
|
722
|
-
- 'lib/solargraph/complex_type.rb'
|
|
723
|
-
- 'lib/solargraph/convention/struct_definition.rb'
|
|
724
|
-
- 'lib/solargraph/parser/parser_gem/node_processors/send_node.rb'
|
|
725
|
-
- 'lib/solargraph/source/chain/call.rb'
|
|
726
|
-
- 'lib/solargraph/type_checker.rb'
|
|
460
|
+
Max: 56
|
|
727
461
|
|
|
728
|
-
# Configuration parameters: CountBlocks, CountModifierForms
|
|
462
|
+
# Configuration parameters: CountBlocks, CountModifierForms.
|
|
729
463
|
Metrics/BlockNesting:
|
|
730
|
-
|
|
731
|
-
- 'lib/solargraph/source/source_chainer.rb'
|
|
732
|
-
- 'lib/solargraph/source_map/clip.rb'
|
|
733
|
-
- 'lib/solargraph/type_checker.rb'
|
|
464
|
+
Max: 5
|
|
734
465
|
|
|
735
466
|
# Configuration parameters: CountComments, Max, CountAsOne.
|
|
736
467
|
Metrics/ClassLength:
|
|
@@ -742,33 +473,15 @@ Metrics/ClassLength:
|
|
|
742
473
|
|
|
743
474
|
# Configuration parameters: AllowedMethods, AllowedPatterns, Max.
|
|
744
475
|
Metrics/CyclomaticComplexity:
|
|
745
|
-
|
|
746
|
-
- 'lib/solargraph/api_map/source_to_yard.rb'
|
|
747
|
-
- 'lib/solargraph/complex_type.rb'
|
|
748
|
-
- 'lib/solargraph/parser/parser_gem/node_chainer.rb'
|
|
749
|
-
- 'lib/solargraph/pin/method.rb'
|
|
750
|
-
- 'lib/solargraph/rbs_map/conversions.rb'
|
|
751
|
-
- 'lib/solargraph/source/chain/call.rb'
|
|
752
|
-
- 'lib/solargraph/source/source_chainer.rb'
|
|
753
|
-
- 'lib/solargraph/source_map/mapper.rb'
|
|
754
|
-
- 'lib/solargraph/type_checker.rb'
|
|
476
|
+
Enabled: false
|
|
755
477
|
|
|
756
478
|
# Configuration parameters: CountComments, Max, CountAsOne, AllowedMethods, AllowedPatterns.
|
|
757
479
|
Metrics/MethodLength:
|
|
758
|
-
|
|
759
|
-
- 'lib/solargraph/api_map.rb'
|
|
760
|
-
- 'lib/solargraph/complex_type.rb'
|
|
761
|
-
- 'lib/solargraph/convention/struct_definition.rb'
|
|
762
|
-
- 'lib/solargraph/parser/parser_gem/node_chainer.rb'
|
|
763
|
-
- 'lib/solargraph/source/chain/call.rb'
|
|
764
|
-
- 'lib/solargraph/source_map/mapper.rb'
|
|
480
|
+
Enabled: false
|
|
765
481
|
|
|
766
|
-
# Configuration parameters: CountComments,
|
|
482
|
+
# Configuration parameters: CountComments, CountAsOne.
|
|
767
483
|
Metrics/ModuleLength:
|
|
768
|
-
|
|
769
|
-
- 'lib/solargraph/complex_type/type_methods.rb'
|
|
770
|
-
- 'lib/solargraph/parser/parser_gem/node_methods.rb'
|
|
771
|
-
- 'lib/solargraph/pin_cache.rb'
|
|
484
|
+
Max: 169
|
|
772
485
|
|
|
773
486
|
# Configuration parameters: Max, CountKeywordArgs, MaxOptionalParameters.
|
|
774
487
|
Metrics/ParameterLists:
|
|
@@ -781,13 +494,7 @@ Metrics/ParameterLists:
|
|
|
781
494
|
|
|
782
495
|
# Configuration parameters: AllowedMethods, AllowedPatterns, Max.
|
|
783
496
|
Metrics/PerceivedComplexity:
|
|
784
|
-
|
|
785
|
-
- 'lib/solargraph/complex_type.rb'
|
|
786
|
-
- 'lib/solargraph/parser/parser_gem/node_chainer.rb'
|
|
787
|
-
- 'lib/solargraph/source/chain/call.rb'
|
|
788
|
-
- 'lib/solargraph/source/source_chainer.rb'
|
|
789
|
-
- 'lib/solargraph/source_map/mapper.rb'
|
|
790
|
-
- 'lib/solargraph/type_checker.rb'
|
|
497
|
+
Enabled: false
|
|
791
498
|
|
|
792
499
|
Naming/AccessorMethodName:
|
|
793
500
|
Exclude:
|
|
@@ -810,41 +517,18 @@ Naming/HeredocDelimiterNaming:
|
|
|
810
517
|
# Configuration parameters: EnforcedStyleForLeadingUnderscores.
|
|
811
518
|
# SupportedStylesForLeadingUnderscores: disallowed, required, optional
|
|
812
519
|
Naming/MemoizedInstanceVariableName:
|
|
813
|
-
|
|
814
|
-
- 'lib/solargraph/complex_type/type_methods.rb'
|
|
815
|
-
- 'lib/solargraph/convention/gemfile.rb'
|
|
816
|
-
- 'lib/solargraph/convention/gemspec.rb'
|
|
817
|
-
- 'lib/solargraph/convention/rakefile.rb'
|
|
818
|
-
- 'lib/solargraph/doc_map.rb'
|
|
819
|
-
- 'lib/solargraph/rbs_map.rb'
|
|
820
|
-
- 'lib/solargraph/workspace.rb'
|
|
520
|
+
Enabled: false
|
|
821
521
|
|
|
822
522
|
# Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
|
|
823
523
|
# AllowedNames: as, at, by, cc, db, id, if, in, io, ip, of, on, os, pp, to
|
|
824
524
|
Naming/MethodParameterName:
|
|
825
|
-
|
|
826
|
-
- 'lib/solargraph/parser/parser_gem/node_chainer.rb'
|
|
827
|
-
- 'lib/solargraph/pin/base.rb'
|
|
828
|
-
- 'lib/solargraph/range.rb'
|
|
829
|
-
- 'lib/solargraph/source.rb'
|
|
830
|
-
- 'lib/solargraph/yard_map/mapper/to_method.rb'
|
|
831
|
-
- 'lib/solargraph/yard_map/to_method.rb'
|
|
525
|
+
Enabled: false
|
|
832
526
|
|
|
833
527
|
# Configuration parameters: Mode, AllowedMethods, AllowedPatterns, AllowBangMethods, WaywardPredicates.
|
|
834
528
|
# AllowedMethods: call
|
|
835
529
|
# WaywardPredicates: nonzero?
|
|
836
530
|
Naming/PredicateMethod:
|
|
837
|
-
|
|
838
|
-
- 'lib/solargraph/api_map/store.rb'
|
|
839
|
-
- 'lib/solargraph/convention/data_definition.rb'
|
|
840
|
-
- 'lib/solargraph/convention/struct_definition.rb'
|
|
841
|
-
- 'lib/solargraph/language_server/progress.rb'
|
|
842
|
-
- 'lib/solargraph/library.rb'
|
|
843
|
-
- 'lib/solargraph/parser/node_processor/base.rb'
|
|
844
|
-
- 'lib/solargraph/parser/parser_gem/node_processors/send_node.rb'
|
|
845
|
-
- 'lib/solargraph/pin/base.rb'
|
|
846
|
-
- 'lib/solargraph/pin/local_variable.rb'
|
|
847
|
-
- 'lib/solargraph/workspace.rb'
|
|
531
|
+
Enabled: false
|
|
848
532
|
|
|
849
533
|
# Configuration parameters: NamePrefix, ForbiddenPrefixes, AllowedMethods, MethodDefinitionMacros, UseSorbetSigs.
|
|
850
534
|
# NamePrefix: is_, has_, have_, does_
|
|
@@ -899,16 +583,7 @@ RSpec/BeforeAfterAll:
|
|
|
899
583
|
# Configuration parameters: Prefixes, AllowedPatterns.
|
|
900
584
|
# Prefixes: when, with, without
|
|
901
585
|
RSpec/ContextWording:
|
|
902
|
-
|
|
903
|
-
- 'spec/complex_type_spec.rb'
|
|
904
|
-
- 'spec/library_spec.rb'
|
|
905
|
-
- 'spec/pin/method_spec.rb'
|
|
906
|
-
- 'spec/pin/parameter_spec.rb'
|
|
907
|
-
- 'spec/pin/symbol_spec.rb'
|
|
908
|
-
- 'spec/type_checker/levels/normal_spec.rb'
|
|
909
|
-
- 'spec/type_checker/levels/strict_spec.rb'
|
|
910
|
-
- 'spec/type_checker/levels/strong_spec.rb'
|
|
911
|
-
- 'spec/type_checker/levels/typed_spec.rb'
|
|
586
|
+
Enabled: false
|
|
912
587
|
|
|
913
588
|
# Configuration parameters: IgnoredMetadata.
|
|
914
589
|
RSpec/DescribeClass:
|
|
@@ -926,117 +601,16 @@ RSpec/DescribeClass:
|
|
|
926
601
|
# Configuration parameters: SkipBlocks, EnforcedStyle, OnlyStaticConstants.
|
|
927
602
|
# SupportedStyles: described_class, explicit
|
|
928
603
|
RSpec/DescribedClass:
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
- 'spec/api_map_spec.rb'
|
|
934
|
-
- 'spec/diagnostics/base_spec.rb'
|
|
935
|
-
- 'spec/diagnostics/require_not_found_spec.rb'
|
|
936
|
-
- 'spec/diagnostics/rubocop_helpers_spec.rb'
|
|
937
|
-
- 'spec/diagnostics/rubocop_spec.rb'
|
|
938
|
-
- 'spec/diagnostics/type_check_spec.rb'
|
|
939
|
-
- 'spec/diagnostics/update_errors_spec.rb'
|
|
940
|
-
- 'spec/diagnostics_spec.rb'
|
|
941
|
-
- 'spec/doc_map_spec.rb'
|
|
942
|
-
- 'spec/gem_pins_spec.rb'
|
|
943
|
-
- 'spec/language_server/host/diagnoser_spec.rb'
|
|
944
|
-
- 'spec/language_server/host/dispatch_spec.rb'
|
|
945
|
-
- 'spec/language_server/host/message_worker_spec.rb'
|
|
946
|
-
- 'spec/language_server/host_spec.rb'
|
|
947
|
-
- 'spec/language_server/message/completion_item/resolve_spec.rb'
|
|
948
|
-
- 'spec/language_server/message/extended/check_gem_version_spec.rb'
|
|
949
|
-
- 'spec/language_server/message/initialize_spec.rb'
|
|
950
|
-
- 'spec/language_server/message/text_document/definition_spec.rb'
|
|
951
|
-
- 'spec/language_server/message/text_document/formatting_spec.rb'
|
|
952
|
-
- 'spec/language_server/message/text_document/hover_spec.rb'
|
|
953
|
-
- 'spec/language_server/message/text_document/rename_spec.rb'
|
|
954
|
-
- 'spec/language_server/message/text_document/type_definition_spec.rb'
|
|
955
|
-
- 'spec/language_server/message/workspace/did_change_watched_files_spec.rb'
|
|
956
|
-
- 'spec/language_server/message_spec.rb'
|
|
957
|
-
- 'spec/language_server/protocol_spec.rb'
|
|
958
|
-
- 'spec/language_server/transport/data_reader_spec.rb'
|
|
959
|
-
- 'spec/language_server/uri_helpers_spec.rb'
|
|
960
|
-
- 'spec/library_spec.rb'
|
|
961
|
-
- 'spec/logging_spec.rb'
|
|
962
|
-
- 'spec/parser/node_methods_spec.rb'
|
|
963
|
-
- 'spec/parser/node_processor_spec.rb'
|
|
964
|
-
- 'spec/parser_spec.rb'
|
|
965
|
-
- 'spec/pin/base_spec.rb'
|
|
966
|
-
- 'spec/pin/delegated_method_spec.rb'
|
|
967
|
-
- 'spec/pin/instance_variable_spec.rb'
|
|
968
|
-
- 'spec/pin/keyword_spec.rb'
|
|
969
|
-
- 'spec/pin/local_variable_spec.rb'
|
|
970
|
-
- 'spec/pin/method_spec.rb'
|
|
971
|
-
- 'spec/pin/namespace_spec.rb'
|
|
972
|
-
- 'spec/pin/parameter_spec.rb'
|
|
973
|
-
- 'spec/pin/search_spec.rb'
|
|
974
|
-
- 'spec/pin/symbol_spec.rb'
|
|
975
|
-
- 'spec/position_spec.rb'
|
|
976
|
-
- 'spec/rbs_map/conversions_spec.rb'
|
|
977
|
-
- 'spec/rbs_map/core_map_spec.rb'
|
|
978
|
-
- 'spec/rbs_map/stdlib_map_spec.rb'
|
|
979
|
-
- 'spec/rbs_map_spec.rb'
|
|
980
|
-
- 'spec/source/chain/class_variable_spec.rb'
|
|
981
|
-
- 'spec/source/chain/global_variable_spec.rb'
|
|
982
|
-
- 'spec/source/chain/head_spec.rb'
|
|
983
|
-
- 'spec/source/chain/instance_variable_spec.rb'
|
|
984
|
-
- 'spec/source/chain/z_super_spec.rb'
|
|
985
|
-
- 'spec/source/change_spec.rb'
|
|
986
|
-
- 'spec/source/source_chainer_spec.rb'
|
|
987
|
-
- 'spec/source/updater_spec.rb'
|
|
988
|
-
- 'spec/source_map/mapper_spec.rb'
|
|
989
|
-
- 'spec/source_map_spec.rb'
|
|
990
|
-
- 'spec/source_spec.rb'
|
|
991
|
-
- 'spec/type_checker/checks_spec.rb'
|
|
992
|
-
- 'spec/type_checker/levels/normal_spec.rb'
|
|
993
|
-
- 'spec/type_checker/levels/strict_spec.rb'
|
|
994
|
-
- 'spec/type_checker/rules_spec.rb'
|
|
995
|
-
- 'spec/type_checker_spec.rb'
|
|
996
|
-
- 'spec/workspace/config_spec.rb'
|
|
997
|
-
- 'spec/workspace_spec.rb'
|
|
998
|
-
- 'spec/yard_map/mapper/to_method_spec.rb'
|
|
999
|
-
- 'spec/yard_map/mapper_spec.rb'
|
|
1000
|
-
|
|
1001
|
-
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
1002
|
-
RSpec/EmptyExampleGroup:
|
|
1003
|
-
Exclude:
|
|
1004
|
-
- 'spec/convention_spec.rb'
|
|
1005
|
-
|
|
1006
|
-
# This cop supports safe autocorrection (--autocorrect).
|
|
1007
|
-
RSpec/EmptyLineAfterFinalLet:
|
|
604
|
+
Enabled: false
|
|
605
|
+
|
|
606
|
+
# This cop supports safe autocorrection (--autocorrect).
|
|
607
|
+
RSpec/EmptyLineAfterFinalLet:
|
|
1008
608
|
Exclude:
|
|
1009
609
|
- 'spec/workspace/config_spec.rb'
|
|
1010
610
|
|
|
1011
611
|
# Configuration parameters: Max, CountAsOne.
|
|
1012
612
|
RSpec/ExampleLength:
|
|
1013
|
-
|
|
1014
|
-
- 'spec/api_map_spec.rb'
|
|
1015
|
-
- 'spec/complex_type_spec.rb'
|
|
1016
|
-
- 'spec/language_server/host_spec.rb'
|
|
1017
|
-
- 'spec/language_server/message/initialize_spec.rb'
|
|
1018
|
-
- 'spec/language_server/message/text_document/definition_spec.rb'
|
|
1019
|
-
- 'spec/language_server/message/text_document/hover_spec.rb'
|
|
1020
|
-
- 'spec/language_server/message/text_document/rename_spec.rb'
|
|
1021
|
-
- 'spec/language_server/message/text_document/type_definition_spec.rb'
|
|
1022
|
-
- 'spec/language_server/message/workspace/did_change_watched_files_spec.rb'
|
|
1023
|
-
- 'spec/language_server/protocol_spec.rb'
|
|
1024
|
-
- 'spec/library_spec.rb'
|
|
1025
|
-
- 'spec/parser/flow_sensitive_typing_spec.rb'
|
|
1026
|
-
- 'spec/parser/node_methods_spec.rb'
|
|
1027
|
-
- 'spec/parser/node_processor_spec.rb'
|
|
1028
|
-
- 'spec/pin/base_variable_spec.rb'
|
|
1029
|
-
- 'spec/pin/delegated_method_spec.rb'
|
|
1030
|
-
- 'spec/pin/local_variable_spec.rb'
|
|
1031
|
-
- 'spec/pin/parameter_spec.rb'
|
|
1032
|
-
- 'spec/source/chain/call_spec.rb'
|
|
1033
|
-
- 'spec/source/chain_spec.rb'
|
|
1034
|
-
- 'spec/source_map/clip_spec.rb'
|
|
1035
|
-
- 'spec/source_map/mapper_spec.rb'
|
|
1036
|
-
- 'spec/source_map_spec.rb'
|
|
1037
|
-
- 'spec/source_spec.rb'
|
|
1038
|
-
- 'spec/type_checker/levels/strict_spec.rb'
|
|
1039
|
-
- 'spec/type_checker_spec.rb'
|
|
613
|
+
Enabled: false
|
|
1040
614
|
|
|
1041
615
|
# This cop supports safe autocorrection (--autocorrect).
|
|
1042
616
|
# Configuration parameters: CustomTransform, IgnoredWords, DisallowedExamples.
|
|
@@ -1063,15 +637,7 @@ RSpec/ExpectActual:
|
|
|
1063
637
|
# Configuration parameters: EnforcedStyle.
|
|
1064
638
|
# SupportedStyles: implicit, each, example
|
|
1065
639
|
RSpec/HookArgument:
|
|
1066
|
-
|
|
1067
|
-
- 'spec/api_map/config_spec.rb'
|
|
1068
|
-
- 'spec/diagnostics/require_not_found_spec.rb'
|
|
1069
|
-
- 'spec/language_server/host/dispatch_spec.rb'
|
|
1070
|
-
- 'spec/language_server/host_spec.rb'
|
|
1071
|
-
- 'spec/language_server/message/extended/check_gem_version_spec.rb'
|
|
1072
|
-
- 'spec/language_server/protocol_spec.rb'
|
|
1073
|
-
- 'spec/workspace/config_spec.rb'
|
|
1074
|
-
- 'spec/workspace_spec.rb'
|
|
640
|
+
Enabled: false
|
|
1075
641
|
|
|
1076
642
|
# This cop supports safe autocorrection (--autocorrect).
|
|
1077
643
|
# Configuration parameters: .
|
|
@@ -1081,12 +647,7 @@ RSpec/ImplicitExpect:
|
|
|
1081
647
|
|
|
1082
648
|
# Configuration parameters: AssignmentOnly.
|
|
1083
649
|
RSpec/InstanceVariable:
|
|
1084
|
-
|
|
1085
|
-
- 'spec/api_map/config_spec.rb'
|
|
1086
|
-
- 'spec/diagnostics/require_not_found_spec.rb'
|
|
1087
|
-
- 'spec/language_server/host/dispatch_spec.rb'
|
|
1088
|
-
- 'spec/language_server/host_spec.rb'
|
|
1089
|
-
- 'spec/language_server/protocol_spec.rb'
|
|
650
|
+
Enabled: false
|
|
1090
651
|
|
|
1091
652
|
# This cop supports safe autocorrection (--autocorrect).
|
|
1092
653
|
RSpec/LeadingSubject:
|
|
@@ -1102,101 +663,21 @@ RSpec/LetBeforeExamples:
|
|
|
1102
663
|
Exclude:
|
|
1103
664
|
- 'spec/complex_type_spec.rb'
|
|
1104
665
|
|
|
1105
|
-
# Configuration parameters: EnforcedStyle.
|
|
1106
|
-
# SupportedStyles: have_received, receive
|
|
1107
|
-
RSpec/MessageSpies:
|
|
1108
|
-
Exclude:
|
|
1109
|
-
- 'spec/doc_map_spec.rb'
|
|
1110
|
-
- 'spec/language_server/host/diagnoser_spec.rb'
|
|
1111
|
-
- 'spec/language_server/host/message_worker_spec.rb'
|
|
1112
|
-
|
|
1113
666
|
RSpec/MissingExampleGroupArgument:
|
|
1114
667
|
Exclude:
|
|
1115
668
|
- 'spec/diagnostics/rubocop_helpers_spec.rb'
|
|
1116
669
|
|
|
1117
|
-
# Configuration parameters: Max.
|
|
1118
670
|
RSpec/MultipleExpectations:
|
|
1119
|
-
|
|
1120
|
-
- 'spec/api_map/cache_spec.rb'
|
|
1121
|
-
- 'spec/api_map/config_spec.rb'
|
|
1122
|
-
- 'spec/api_map/source_to_yard_spec.rb'
|
|
1123
|
-
- 'spec/api_map/store_spec.rb'
|
|
1124
|
-
- 'spec/api_map_spec.rb'
|
|
1125
|
-
- 'spec/complex_type_spec.rb'
|
|
1126
|
-
- 'spec/convention/struct_definition_spec.rb'
|
|
1127
|
-
- 'spec/diagnostics/rubocop_spec.rb'
|
|
1128
|
-
- 'spec/diagnostics/type_check_spec.rb'
|
|
1129
|
-
- 'spec/diagnostics/update_errors_spec.rb'
|
|
1130
|
-
- 'spec/diagnostics_spec.rb'
|
|
1131
|
-
- 'spec/doc_map_spec.rb'
|
|
1132
|
-
- 'spec/gem_pins_spec.rb'
|
|
1133
|
-
- 'spec/language_server/host/message_worker_spec.rb'
|
|
1134
|
-
- 'spec/language_server/host_spec.rb'
|
|
1135
|
-
- 'spec/language_server/message/completion_item/resolve_spec.rb'
|
|
1136
|
-
- 'spec/language_server/message/initialize_spec.rb'
|
|
1137
|
-
- 'spec/language_server/message/text_document/rename_spec.rb'
|
|
1138
|
-
- 'spec/language_server/message/workspace/did_change_watched_files_spec.rb'
|
|
1139
|
-
- 'spec/language_server/protocol_spec.rb'
|
|
1140
|
-
- 'spec/language_server/transport/adapter_spec.rb'
|
|
1141
|
-
- 'spec/language_server/transport/data_reader_spec.rb'
|
|
1142
|
-
- 'spec/library_spec.rb'
|
|
1143
|
-
- 'spec/parser/flow_sensitive_typing_spec.rb'
|
|
1144
|
-
- 'spec/parser/node_chainer_spec.rb'
|
|
1145
|
-
- 'spec/parser/node_methods_spec.rb'
|
|
1146
|
-
- 'spec/parser/node_processor_spec.rb'
|
|
1147
|
-
- 'spec/pin/base_spec.rb'
|
|
1148
|
-
- 'spec/pin/base_variable_spec.rb'
|
|
1149
|
-
- 'spec/pin/constant_spec.rb'
|
|
1150
|
-
- 'spec/pin/instance_variable_spec.rb'
|
|
1151
|
-
- 'spec/pin/local_variable_spec.rb'
|
|
1152
|
-
- 'spec/pin/method_spec.rb'
|
|
1153
|
-
- 'spec/pin/namespace_spec.rb'
|
|
1154
|
-
- 'spec/pin/parameter_spec.rb'
|
|
1155
|
-
- 'spec/position_spec.rb'
|
|
1156
|
-
- 'spec/rbs_map/core_map_spec.rb'
|
|
1157
|
-
- 'spec/rbs_map/stdlib_map_spec.rb'
|
|
1158
|
-
- 'spec/rbs_map_spec.rb'
|
|
1159
|
-
- 'spec/shell_spec.rb'
|
|
1160
|
-
- 'spec/source/chain/call_spec.rb'
|
|
1161
|
-
- 'spec/source/chain/class_variable_spec.rb'
|
|
1162
|
-
- 'spec/source/chain/global_variable_spec.rb'
|
|
1163
|
-
- 'spec/source/chain/head_spec.rb'
|
|
1164
|
-
- 'spec/source/chain/instance_variable_spec.rb'
|
|
1165
|
-
- 'spec/source/chain_spec.rb'
|
|
1166
|
-
- 'spec/source/cursor_spec.rb'
|
|
1167
|
-
- 'spec/source/source_chainer_spec.rb'
|
|
1168
|
-
- 'spec/source_map/clip_spec.rb'
|
|
1169
|
-
- 'spec/source_map/mapper_spec.rb'
|
|
1170
|
-
- 'spec/source_map/node_processor_spec.rb'
|
|
1171
|
-
- 'spec/source_map_spec.rb'
|
|
1172
|
-
- 'spec/source_spec.rb'
|
|
1173
|
-
- 'spec/type_checker/checks_spec.rb'
|
|
1174
|
-
- 'spec/type_checker/levels/normal_spec.rb'
|
|
1175
|
-
- 'spec/type_checker/levels/strict_spec.rb'
|
|
1176
|
-
- 'spec/type_checker/levels/strong_spec.rb'
|
|
1177
|
-
- 'spec/type_checker/levels/typed_spec.rb'
|
|
1178
|
-
- 'spec/type_checker/rules_spec.rb'
|
|
1179
|
-
- 'spec/workspace/config_spec.rb'
|
|
1180
|
-
- 'spec/workspace_spec.rb'
|
|
1181
|
-
- 'spec/yard_map/mapper/to_method_spec.rb'
|
|
1182
|
-
- 'spec/yard_map/mapper_spec.rb'
|
|
671
|
+
Max: 14
|
|
1183
672
|
|
|
1184
|
-
# Configuration parameters:
|
|
673
|
+
# Configuration parameters: AllowedGroups.
|
|
1185
674
|
RSpec/NestedGroups:
|
|
1186
|
-
|
|
1187
|
-
- 'spec/complex_type_spec.rb'
|
|
675
|
+
Max: 4
|
|
1188
676
|
|
|
1189
677
|
# Configuration parameters: AllowedPatterns.
|
|
1190
678
|
# AllowedPatterns: ^expect_, ^assert_
|
|
1191
679
|
RSpec/NoExpectationExample:
|
|
1192
|
-
|
|
1193
|
-
- 'spec/language_server/protocol_spec.rb'
|
|
1194
|
-
- 'spec/parser/node_methods_spec.rb'
|
|
1195
|
-
- 'spec/pin/block_spec.rb'
|
|
1196
|
-
- 'spec/pin/method_spec.rb'
|
|
1197
|
-
- 'spec/source/chain/call_spec.rb'
|
|
1198
|
-
- 'spec/type_checker/checks_spec.rb'
|
|
1199
|
-
- 'spec/type_checker/levels/typed_spec.rb'
|
|
680
|
+
Enabled: false
|
|
1200
681
|
|
|
1201
682
|
# This cop supports safe autocorrection (--autocorrect).
|
|
1202
683
|
# Configuration parameters: EnforcedStyle.
|
|
@@ -1207,18 +688,7 @@ RSpec/NotToNot:
|
|
|
1207
688
|
- 'spec/rbs_map/core_map_spec.rb'
|
|
1208
689
|
|
|
1209
690
|
RSpec/PendingWithoutReason:
|
|
1210
|
-
|
|
1211
|
-
- 'spec/api_map_spec.rb'
|
|
1212
|
-
- 'spec/complex_type_spec.rb'
|
|
1213
|
-
- 'spec/parser/node_chainer_spec.rb'
|
|
1214
|
-
- 'spec/parser/node_methods_spec.rb'
|
|
1215
|
-
- 'spec/pin/local_variable_spec.rb'
|
|
1216
|
-
- 'spec/rbs_map/core_map_spec.rb'
|
|
1217
|
-
- 'spec/source/chain/call_spec.rb'
|
|
1218
|
-
- 'spec/source/chain_spec.rb'
|
|
1219
|
-
- 'spec/source_map/clip_spec.rb'
|
|
1220
|
-
- 'spec/type_checker/levels/strict_spec.rb'
|
|
1221
|
-
- 'spec/yard_map/mapper/to_method_spec.rb'
|
|
691
|
+
Enabled: false
|
|
1222
692
|
|
|
1223
693
|
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
1224
694
|
# Configuration parameters: Strict, EnforcedStyle, AllowedExplicitMatchers.
|
|
@@ -1238,16 +708,7 @@ RSpec/RemoveConst:
|
|
|
1238
708
|
- 'spec/diagnostics/rubocop_helpers_spec.rb'
|
|
1239
709
|
|
|
1240
710
|
RSpec/RepeatedDescription:
|
|
1241
|
-
|
|
1242
|
-
- 'spec/api_map_spec.rb'
|
|
1243
|
-
- 'spec/language_server/protocol_spec.rb'
|
|
1244
|
-
- 'spec/parser/node_methods_spec.rb'
|
|
1245
|
-
- 'spec/source/chain/call_spec.rb'
|
|
1246
|
-
- 'spec/source/source_chainer_spec.rb'
|
|
1247
|
-
- 'spec/source_map/clip_spec.rb'
|
|
1248
|
-
- 'spec/source_map/mapper_spec.rb'
|
|
1249
|
-
- 'spec/type_checker/levels/normal_spec.rb'
|
|
1250
|
-
- 'spec/type_checker/levels/strict_spec.rb'
|
|
711
|
+
Enabled: false
|
|
1251
712
|
|
|
1252
713
|
RSpec/RepeatedExample:
|
|
1253
714
|
Exclude:
|
|
@@ -1262,26 +723,9 @@ RSpec/ScatteredLet:
|
|
|
1262
723
|
Exclude:
|
|
1263
724
|
- 'spec/complex_type_spec.rb'
|
|
1264
725
|
|
|
1265
|
-
RSpec/StubbedMock:
|
|
1266
|
-
Exclude:
|
|
1267
|
-
- 'spec/language_server/host/message_worker_spec.rb'
|
|
1268
|
-
|
|
1269
726
|
# Configuration parameters: IgnoreNameless, IgnoreSymbolicNames.
|
|
1270
727
|
RSpec/VerifiedDoubles:
|
|
1271
|
-
|
|
1272
|
-
- 'spec/complex_type_spec.rb'
|
|
1273
|
-
- 'spec/language_server/host/diagnoser_spec.rb'
|
|
1274
|
-
- 'spec/language_server/host/message_worker_spec.rb'
|
|
1275
|
-
- 'spec/language_server/host_spec.rb'
|
|
1276
|
-
- 'spec/language_server/message/completion_item/resolve_spec.rb'
|
|
1277
|
-
- 'spec/language_server/message/extended/check_gem_version_spec.rb'
|
|
1278
|
-
- 'spec/language_server/message/text_document/formatting_spec.rb'
|
|
1279
|
-
- 'spec/language_server/message/workspace/did_change_watched_files_spec.rb'
|
|
1280
|
-
- 'spec/language_server/protocol_spec.rb'
|
|
1281
|
-
- 'spec/source/chain/class_variable_spec.rb'
|
|
1282
|
-
- 'spec/source/cursor_spec.rb'
|
|
1283
|
-
- 'spec/source/source_chainer_spec.rb'
|
|
1284
|
-
- 'spec/workspace_spec.rb'
|
|
728
|
+
Enabled: false
|
|
1285
729
|
|
|
1286
730
|
Security/MarshalLoad:
|
|
1287
731
|
Exclude:
|
|
@@ -1291,20 +735,7 @@ Security/MarshalLoad:
|
|
|
1291
735
|
# Configuration parameters: EnforcedStyle, AllowModifiersOnSymbols, AllowModifiersOnAttrs, AllowModifiersOnAliasMethod.
|
|
1292
736
|
# SupportedStyles: inline, group
|
|
1293
737
|
Style/AccessModifierDeclarations:
|
|
1294
|
-
|
|
1295
|
-
- 'lib/solargraph/api_map.rb'
|
|
1296
|
-
- 'lib/solargraph/complex_type.rb'
|
|
1297
|
-
- 'lib/solargraph/complex_type/unique_type.rb'
|
|
1298
|
-
- 'lib/solargraph/location.rb'
|
|
1299
|
-
- 'lib/solargraph/pin/base.rb'
|
|
1300
|
-
- 'lib/solargraph/position.rb'
|
|
1301
|
-
- 'lib/solargraph/range.rb'
|
|
1302
|
-
- 'lib/solargraph/source/chain.rb'
|
|
1303
|
-
- 'lib/solargraph/source/chain/call.rb'
|
|
1304
|
-
- 'lib/solargraph/source/chain/hash.rb'
|
|
1305
|
-
- 'lib/solargraph/source/chain/if.rb'
|
|
1306
|
-
- 'lib/solargraph/source/chain/link.rb'
|
|
1307
|
-
- 'lib/solargraph/source/chain/literal.rb'
|
|
738
|
+
Enabled: false
|
|
1308
739
|
|
|
1309
740
|
# This cop supports safe autocorrection (--autocorrect).
|
|
1310
741
|
# Configuration parameters: EnforcedStyle.
|
|
@@ -1320,21 +751,7 @@ Style/AccessorGrouping:
|
|
|
1320
751
|
# Configuration parameters: EnforcedStyle.
|
|
1321
752
|
# SupportedStyles: always, conditionals
|
|
1322
753
|
Style/AndOr:
|
|
1323
|
-
|
|
1324
|
-
- 'lib/solargraph/api_map/source_to_yard.rb'
|
|
1325
|
-
- 'lib/solargraph/complex_type/unique_type.rb'
|
|
1326
|
-
- 'lib/solargraph/language_server/message/base.rb'
|
|
1327
|
-
- 'lib/solargraph/page.rb'
|
|
1328
|
-
- 'lib/solargraph/parser/parser_gem/node_methods.rb'
|
|
1329
|
-
- 'lib/solargraph/pin/method.rb'
|
|
1330
|
-
- 'lib/solargraph/pin/parameter.rb'
|
|
1331
|
-
- 'lib/solargraph/position.rb'
|
|
1332
|
-
- 'lib/solargraph/source/change.rb'
|
|
1333
|
-
- 'lib/solargraph/source/cursor.rb'
|
|
1334
|
-
- 'lib/solargraph/source/source_chainer.rb'
|
|
1335
|
-
- 'lib/solargraph/source/updater.rb'
|
|
1336
|
-
- 'lib/solargraph/workspace.rb'
|
|
1337
|
-
- 'lib/solargraph/yard_map/mapper.rb'
|
|
754
|
+
Enabled: false
|
|
1338
755
|
|
|
1339
756
|
# This cop supports safe autocorrection (--autocorrect).
|
|
1340
757
|
# Configuration parameters: AllowOnlyRestArgument, UseAnonymousForwarding, RedundantRestArgumentNames, RedundantKeywordRestArgumentNames, RedundantBlockArgumentNames.
|
|
@@ -1353,44 +770,12 @@ Style/ArgumentsForwarding:
|
|
|
1353
770
|
# FunctionalMethods: let, let!, subject, watch
|
|
1354
771
|
# AllowedMethods: lambda, proc, it
|
|
1355
772
|
Style/BlockDelimiters:
|
|
1356
|
-
|
|
1357
|
-
- 'lib/solargraph/api_map/source_to_yard.rb'
|
|
1358
|
-
- 'lib/solargraph/api_map/store.rb'
|
|
1359
|
-
- 'lib/solargraph/language_server/host.rb'
|
|
1360
|
-
- 'lib/solargraph/parser/parser_gem/node_methods.rb'
|
|
1361
|
-
- 'lib/solargraph/shell.rb'
|
|
1362
|
-
- 'lib/solargraph/source.rb'
|
|
1363
|
-
- 'lib/solargraph/source_map/clip.rb'
|
|
1364
|
-
- 'lib/solargraph/source_map/mapper.rb'
|
|
1365
|
-
- 'spec/diagnostics/rubocop_spec.rb'
|
|
1366
|
-
- 'spec/language_server/host_spec.rb'
|
|
1367
|
-
- 'spec/language_server/message/extended/check_gem_version_spec.rb'
|
|
1368
|
-
- 'spec/language_server/message/workspace/did_change_watched_files_spec.rb'
|
|
1369
|
-
- 'spec/language_server/protocol_spec.rb'
|
|
1370
|
-
- 'spec/language_server/transport/adapter_spec.rb'
|
|
1371
|
-
- 'spec/language_server/transport/data_reader_spec.rb'
|
|
1372
|
-
- 'spec/library_spec.rb'
|
|
1373
|
-
- 'spec/parser/node_processor_spec.rb'
|
|
1374
|
-
- 'spec/pin/documenting_spec.rb'
|
|
1375
|
-
- 'spec/position_spec.rb'
|
|
1376
|
-
- 'spec/source/chain_spec.rb'
|
|
1377
|
-
- 'spec/source/source_chainer_spec.rb'
|
|
1378
|
-
- 'spec/source_map/mapper_spec.rb'
|
|
1379
|
-
- 'spec/source_spec.rb'
|
|
1380
|
-
- 'spec/type_checker_spec.rb'
|
|
1381
|
-
- 'spec/workspace_spec.rb'
|
|
1382
|
-
- 'spec/yard_map/mapper/to_method_spec.rb'
|
|
773
|
+
Enabled: false
|
|
1383
774
|
|
|
1384
775
|
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
1385
776
|
# Configuration parameters: MinBranchesCount.
|
|
1386
777
|
Style/CaseLikeIf:
|
|
1387
|
-
|
|
1388
|
-
- 'lib/solargraph/language_server/message/workspace/did_change_watched_files.rb'
|
|
1389
|
-
- 'lib/solargraph/parser/parser_gem/node_methods.rb'
|
|
1390
|
-
- 'lib/solargraph/pin/parameter.rb'
|
|
1391
|
-
- 'lib/solargraph/rbs_map/conversions.rb'
|
|
1392
|
-
- 'lib/solargraph/source/source_chainer.rb'
|
|
1393
|
-
- 'lib/solargraph/yard_map/mapper.rb'
|
|
778
|
+
Enabled: false
|
|
1394
779
|
|
|
1395
780
|
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
1396
781
|
# Configuration parameters: EnforcedStyle, EnforcedStyleForClasses, EnforcedStyleForModules.
|
|
@@ -1398,18 +783,7 @@ Style/CaseLikeIf:
|
|
|
1398
783
|
# SupportedStylesForClasses: ~, nested, compact
|
|
1399
784
|
# SupportedStylesForModules: ~, nested, compact
|
|
1400
785
|
Style/ClassAndModuleChildren:
|
|
1401
|
-
|
|
1402
|
-
- 'lib/solargraph/language_server/message/text_document/definition.rb'
|
|
1403
|
-
- 'lib/solargraph/language_server/message/text_document/document_highlight.rb'
|
|
1404
|
-
- 'lib/solargraph/language_server/message/text_document/document_symbol.rb'
|
|
1405
|
-
- 'lib/solargraph/language_server/message/text_document/prepare_rename.rb'
|
|
1406
|
-
- 'lib/solargraph/language_server/message/text_document/references.rb'
|
|
1407
|
-
- 'lib/solargraph/language_server/message/text_document/rename.rb'
|
|
1408
|
-
- 'lib/solargraph/language_server/message/text_document/type_definition.rb'
|
|
1409
|
-
- 'lib/solargraph/language_server/message/workspace/did_change_configuration.rb'
|
|
1410
|
-
- 'lib/solargraph/language_server/message/workspace/did_change_watched_files.rb'
|
|
1411
|
-
- 'lib/solargraph/language_server/message/workspace/did_change_workspace_folders.rb'
|
|
1412
|
-
- 'lib/solargraph/language_server/message/workspace/workspace_symbol.rb'
|
|
786
|
+
Enabled: false
|
|
1413
787
|
|
|
1414
788
|
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
1415
789
|
# Configuration parameters: AllowedMethods, AllowedPatterns.
|
|
@@ -1445,150 +819,13 @@ Style/ConcatArrayLiterals:
|
|
|
1445
819
|
# SupportedStyles: assign_to_condition, assign_inside_condition
|
|
1446
820
|
Style/ConditionalAssignment:
|
|
1447
821
|
Exclude:
|
|
822
|
+
- 'lib/solargraph/api_map/source_to_yard.rb'
|
|
1448
823
|
- 'lib/solargraph/parser/parser_gem/node_processors/defs_node.rb'
|
|
1449
824
|
- 'lib/solargraph/source/chain/call.rb'
|
|
1450
825
|
|
|
1451
826
|
# Configuration parameters: AllowedConstants.
|
|
1452
827
|
Style/Documentation:
|
|
1453
|
-
|
|
1454
|
-
- 'spec/**/*'
|
|
1455
|
-
- 'test/**/*'
|
|
1456
|
-
- 'lib/solargraph/api_map/cache.rb'
|
|
1457
|
-
- 'lib/solargraph/api_map/index.rb'
|
|
1458
|
-
- 'lib/solargraph/api_map/source_to_yard.rb'
|
|
1459
|
-
- 'lib/solargraph/convention/data_definition.rb'
|
|
1460
|
-
- 'lib/solargraph/convention/gemfile.rb'
|
|
1461
|
-
- 'lib/solargraph/convention/gemspec.rb'
|
|
1462
|
-
- 'lib/solargraph/convention/rakefile.rb'
|
|
1463
|
-
- 'lib/solargraph/convention/struct_definition.rb'
|
|
1464
|
-
- 'lib/solargraph/converters/dd.rb'
|
|
1465
|
-
- 'lib/solargraph/converters/dl.rb'
|
|
1466
|
-
- 'lib/solargraph/converters/dt.rb'
|
|
1467
|
-
- 'lib/solargraph/diagnostics/update_errors.rb'
|
|
1468
|
-
- 'lib/solargraph/language_server/message/base.rb'
|
|
1469
|
-
- 'lib/solargraph/language_server/message/cancel_request.rb'
|
|
1470
|
-
- 'lib/solargraph/language_server/message/client.rb'
|
|
1471
|
-
- 'lib/solargraph/language_server/message/client/register_capability.rb'
|
|
1472
|
-
- 'lib/solargraph/language_server/message/completion_item.rb'
|
|
1473
|
-
- 'lib/solargraph/language_server/message/exit_notification.rb'
|
|
1474
|
-
- 'lib/solargraph/language_server/message/extended/document.rb'
|
|
1475
|
-
- 'lib/solargraph/language_server/message/extended/search.rb'
|
|
1476
|
-
- 'lib/solargraph/language_server/message/initialize.rb'
|
|
1477
|
-
- 'lib/solargraph/language_server/message/initialized.rb'
|
|
1478
|
-
- 'lib/solargraph/language_server/message/method_not_found.rb'
|
|
1479
|
-
- 'lib/solargraph/language_server/message/method_not_implemented.rb'
|
|
1480
|
-
- 'lib/solargraph/language_server/message/shutdown.rb'
|
|
1481
|
-
- 'lib/solargraph/language_server/message/text_document.rb'
|
|
1482
|
-
- 'lib/solargraph/language_server/message/text_document/base.rb'
|
|
1483
|
-
- 'lib/solargraph/language_server/message/text_document/code_action.rb'
|
|
1484
|
-
- 'lib/solargraph/language_server/message/text_document/completion.rb'
|
|
1485
|
-
- 'lib/solargraph/language_server/message/text_document/definition.rb'
|
|
1486
|
-
- 'lib/solargraph/language_server/message/text_document/did_change.rb'
|
|
1487
|
-
- 'lib/solargraph/language_server/message/text_document/did_close.rb'
|
|
1488
|
-
- 'lib/solargraph/language_server/message/text_document/did_open.rb'
|
|
1489
|
-
- 'lib/solargraph/language_server/message/text_document/did_save.rb'
|
|
1490
|
-
- 'lib/solargraph/language_server/message/text_document/document_highlight.rb'
|
|
1491
|
-
- 'lib/solargraph/language_server/message/text_document/document_symbol.rb'
|
|
1492
|
-
- 'lib/solargraph/language_server/message/text_document/folding_range.rb'
|
|
1493
|
-
- 'lib/solargraph/language_server/message/text_document/formatting.rb'
|
|
1494
|
-
- 'lib/solargraph/language_server/message/text_document/hover.rb'
|
|
1495
|
-
- 'lib/solargraph/language_server/message/text_document/on_type_formatting.rb'
|
|
1496
|
-
- 'lib/solargraph/language_server/message/text_document/prepare_rename.rb'
|
|
1497
|
-
- 'lib/solargraph/language_server/message/text_document/references.rb'
|
|
1498
|
-
- 'lib/solargraph/language_server/message/text_document/rename.rb'
|
|
1499
|
-
- 'lib/solargraph/language_server/message/text_document/signature_help.rb'
|
|
1500
|
-
- 'lib/solargraph/language_server/message/text_document/type_definition.rb'
|
|
1501
|
-
- 'lib/solargraph/language_server/message/workspace.rb'
|
|
1502
|
-
- 'lib/solargraph/language_server/message/workspace/did_change_configuration.rb'
|
|
1503
|
-
- 'lib/solargraph/language_server/message/workspace/did_change_watched_files.rb'
|
|
1504
|
-
- 'lib/solargraph/language_server/message/workspace/did_change_workspace_folders.rb'
|
|
1505
|
-
- 'lib/solargraph/language_server/message/workspace/workspace_symbol.rb'
|
|
1506
|
-
- 'lib/solargraph/language_server/request.rb'
|
|
1507
|
-
- 'lib/solargraph/language_server/transport/data_reader.rb'
|
|
1508
|
-
- 'lib/solargraph/logging.rb'
|
|
1509
|
-
- 'lib/solargraph/page.rb'
|
|
1510
|
-
- 'lib/solargraph/parser.rb'
|
|
1511
|
-
- 'lib/solargraph/parser/comment_ripper.rb'
|
|
1512
|
-
- 'lib/solargraph/parser/flow_sensitive_typing.rb'
|
|
1513
|
-
- 'lib/solargraph/parser/node_methods.rb'
|
|
1514
|
-
- 'lib/solargraph/parser/node_processor/base.rb'
|
|
1515
|
-
- 'lib/solargraph/parser/parser_gem.rb'
|
|
1516
|
-
- 'lib/solargraph/parser/parser_gem/class_methods.rb'
|
|
1517
|
-
- 'lib/solargraph/parser/parser_gem/node_methods.rb'
|
|
1518
|
-
- 'lib/solargraph/parser/parser_gem/node_processors.rb'
|
|
1519
|
-
- 'lib/solargraph/parser/parser_gem/node_processors/alias_node.rb'
|
|
1520
|
-
- 'lib/solargraph/parser/parser_gem/node_processors/and_node.rb'
|
|
1521
|
-
- 'lib/solargraph/parser/parser_gem/node_processors/args_node.rb'
|
|
1522
|
-
- 'lib/solargraph/parser/parser_gem/node_processors/begin_node.rb'
|
|
1523
|
-
- 'lib/solargraph/parser/parser_gem/node_processors/block_node.rb'
|
|
1524
|
-
- 'lib/solargraph/parser/parser_gem/node_processors/casgn_node.rb'
|
|
1525
|
-
- 'lib/solargraph/parser/parser_gem/node_processors/cvasgn_node.rb'
|
|
1526
|
-
- 'lib/solargraph/parser/parser_gem/node_processors/def_node.rb'
|
|
1527
|
-
- 'lib/solargraph/parser/parser_gem/node_processors/defs_node.rb'
|
|
1528
|
-
- 'lib/solargraph/parser/parser_gem/node_processors/gvasgn_node.rb'
|
|
1529
|
-
- 'lib/solargraph/parser/parser_gem/node_processors/if_node.rb'
|
|
1530
|
-
- 'lib/solargraph/parser/parser_gem/node_processors/ivasgn_node.rb'
|
|
1531
|
-
- 'lib/solargraph/parser/parser_gem/node_processors/lvasgn_node.rb'
|
|
1532
|
-
- 'lib/solargraph/parser/parser_gem/node_processors/masgn_node.rb'
|
|
1533
|
-
- 'lib/solargraph/parser/parser_gem/node_processors/namespace_node.rb'
|
|
1534
|
-
- 'lib/solargraph/parser/parser_gem/node_processors/opasgn_node.rb'
|
|
1535
|
-
- 'lib/solargraph/parser/parser_gem/node_processors/orasgn_node.rb'
|
|
1536
|
-
- 'lib/solargraph/parser/parser_gem/node_processors/resbody_node.rb'
|
|
1537
|
-
- 'lib/solargraph/parser/parser_gem/node_processors/sclass_node.rb'
|
|
1538
|
-
- 'lib/solargraph/parser/parser_gem/node_processors/send_node.rb'
|
|
1539
|
-
- 'lib/solargraph/parser/parser_gem/node_processors/sym_node.rb'
|
|
1540
|
-
- 'lib/solargraph/parser/parser_gem/node_processors/until_node.rb'
|
|
1541
|
-
- 'lib/solargraph/parser/parser_gem/node_processors/while_node.rb'
|
|
1542
|
-
- 'lib/solargraph/parser/snippet.rb'
|
|
1543
|
-
- 'lib/solargraph/pin/base_variable.rb'
|
|
1544
|
-
- 'lib/solargraph/pin/block.rb'
|
|
1545
|
-
- 'lib/solargraph/pin/callable.rb'
|
|
1546
|
-
- 'lib/solargraph/pin/closure.rb'
|
|
1547
|
-
- 'lib/solargraph/pin/common.rb'
|
|
1548
|
-
- 'lib/solargraph/pin/constant.rb'
|
|
1549
|
-
- 'lib/solargraph/pin/instance_variable.rb'
|
|
1550
|
-
- 'lib/solargraph/pin/keyword.rb'
|
|
1551
|
-
- 'lib/solargraph/pin/local_variable.rb'
|
|
1552
|
-
- 'lib/solargraph/pin/namespace.rb'
|
|
1553
|
-
- 'lib/solargraph/pin/parameter.rb'
|
|
1554
|
-
- 'lib/solargraph/pin/proxy_type.rb'
|
|
1555
|
-
- 'lib/solargraph/pin/reference.rb'
|
|
1556
|
-
- 'lib/solargraph/pin/reference/override.rb'
|
|
1557
|
-
- 'lib/solargraph/pin/reference/require.rb'
|
|
1558
|
-
- 'lib/solargraph/pin/search.rb'
|
|
1559
|
-
- 'lib/solargraph/pin/signature.rb'
|
|
1560
|
-
- 'lib/solargraph/pin/singleton.rb'
|
|
1561
|
-
- 'lib/solargraph/pin/symbol.rb'
|
|
1562
|
-
- 'lib/solargraph/pin/until.rb'
|
|
1563
|
-
- 'lib/solargraph/pin/while.rb'
|
|
1564
|
-
- 'lib/solargraph/pin_cache.rb'
|
|
1565
|
-
- 'lib/solargraph/rbs_map.rb'
|
|
1566
|
-
- 'lib/solargraph/server_methods.rb'
|
|
1567
|
-
- 'lib/solargraph/shell.rb'
|
|
1568
|
-
- 'lib/solargraph/source/chain/array.rb'
|
|
1569
|
-
- 'lib/solargraph/source/chain/block_symbol.rb'
|
|
1570
|
-
- 'lib/solargraph/source/chain/block_variable.rb'
|
|
1571
|
-
- 'lib/solargraph/source/chain/class_variable.rb'
|
|
1572
|
-
- 'lib/solargraph/source/chain/constant.rb'
|
|
1573
|
-
- 'lib/solargraph/source/chain/global_variable.rb'
|
|
1574
|
-
- 'lib/solargraph/source/chain/hash.rb'
|
|
1575
|
-
- 'lib/solargraph/source/chain/if.rb'
|
|
1576
|
-
- 'lib/solargraph/source/chain/instance_variable.rb'
|
|
1577
|
-
- 'lib/solargraph/source/chain/link.rb'
|
|
1578
|
-
- 'lib/solargraph/source/chain/literal.rb'
|
|
1579
|
-
- 'lib/solargraph/source/chain/or.rb'
|
|
1580
|
-
- 'lib/solargraph/source/chain/q_call.rb'
|
|
1581
|
-
- 'lib/solargraph/source/chain/variable.rb'
|
|
1582
|
-
- 'lib/solargraph/source/chain/z_super.rb'
|
|
1583
|
-
- 'lib/solargraph/source/encoding_fixes.rb'
|
|
1584
|
-
- 'lib/solargraph/source_map/data.rb'
|
|
1585
|
-
- 'lib/solargraph/yard_map/cache.rb'
|
|
1586
|
-
- 'lib/solargraph/yard_map/helpers.rb'
|
|
1587
|
-
- 'lib/solargraph/yard_map/mapper.rb'
|
|
1588
|
-
- 'lib/solargraph/yard_map/mapper/to_constant.rb'
|
|
1589
|
-
- 'lib/solargraph/yard_map/mapper/to_method.rb'
|
|
1590
|
-
- 'lib/solargraph/yard_map/mapper/to_namespace.rb'
|
|
1591
|
-
- 'lib/solargraph/yard_map/to_method.rb'
|
|
828
|
+
Enabled: false
|
|
1592
829
|
|
|
1593
830
|
# This cop supports safe autocorrection (--autocorrect).
|
|
1594
831
|
Style/EmptyLambdaParameter:
|
|
@@ -1639,136 +876,7 @@ Style/FloatDivision:
|
|
|
1639
876
|
# Configuration parameters: EnforcedStyle.
|
|
1640
877
|
# SupportedStyles: always, always_true, never
|
|
1641
878
|
Style/FrozenStringLiteralComment:
|
|
1642
|
-
|
|
1643
|
-
- '**/*.arb'
|
|
1644
|
-
- 'Gemfile'
|
|
1645
|
-
- 'Rakefile'
|
|
1646
|
-
- 'bin/solargraph'
|
|
1647
|
-
- 'lib/solargraph/converters/dd.rb'
|
|
1648
|
-
- 'lib/solargraph/converters/dl.rb'
|
|
1649
|
-
- 'lib/solargraph/converters/dt.rb'
|
|
1650
|
-
- 'lib/solargraph/converters/misc.rb'
|
|
1651
|
-
- 'lib/solargraph/parser.rb'
|
|
1652
|
-
- 'lib/solargraph/parser/comment_ripper.rb'
|
|
1653
|
-
- 'lib/solargraph/parser/flow_sensitive_typing.rb'
|
|
1654
|
-
- 'lib/solargraph/parser/node_methods.rb'
|
|
1655
|
-
- 'lib/solargraph/parser/parser_gem.rb'
|
|
1656
|
-
- 'lib/solargraph/parser/snippet.rb'
|
|
1657
|
-
- 'lib/solargraph/pin/breakable.rb'
|
|
1658
|
-
- 'lib/solargraph/pin/signature.rb'
|
|
1659
|
-
- 'lib/solargraph/pin_cache.rb'
|
|
1660
|
-
- 'lib/solargraph/source/chain/array.rb'
|
|
1661
|
-
- 'lib/solargraph/source/chain/q_call.rb'
|
|
1662
|
-
- 'lib/solargraph/yard_map/helpers.rb'
|
|
1663
|
-
- 'solargraph.gemspec'
|
|
1664
|
-
- 'spec/api_map/cache_spec.rb'
|
|
1665
|
-
- 'spec/api_map/config_spec.rb'
|
|
1666
|
-
- 'spec/api_map/source_to_yard_spec.rb'
|
|
1667
|
-
- 'spec/api_map_spec.rb'
|
|
1668
|
-
- 'spec/complex_type_spec.rb'
|
|
1669
|
-
- 'spec/convention/struct_definition_spec.rb'
|
|
1670
|
-
- 'spec/convention_spec.rb'
|
|
1671
|
-
- 'spec/diagnostics/base_spec.rb'
|
|
1672
|
-
- 'spec/diagnostics/require_not_found_spec.rb'
|
|
1673
|
-
- 'spec/diagnostics/rubocop_helpers_spec.rb'
|
|
1674
|
-
- 'spec/diagnostics/type_check_spec.rb'
|
|
1675
|
-
- 'spec/diagnostics/update_errors_spec.rb'
|
|
1676
|
-
- 'spec/diagnostics_spec.rb'
|
|
1677
|
-
- 'spec/fixtures/formattable.rb'
|
|
1678
|
-
- 'spec/fixtures/long_squiggly_heredoc.rb'
|
|
1679
|
-
- 'spec/fixtures/rdoc-lib/Gemfile'
|
|
1680
|
-
- 'spec/fixtures/rdoc-lib/lib/example.rb'
|
|
1681
|
-
- 'spec/fixtures/rdoc-lib/rdoc-lib.gemspec'
|
|
1682
|
-
- 'spec/fixtures/rubocop-custom-version/specifications/rubocop-0.0.0.gemspec'
|
|
1683
|
-
- 'spec/fixtures/rubocop-validation-error/app.rb'
|
|
1684
|
-
- 'spec/fixtures/unicode.rb'
|
|
1685
|
-
- 'spec/fixtures/workspace-with-gemfile/Gemfile'
|
|
1686
|
-
- 'spec/fixtures/workspace-with-gemfile/app.rb'
|
|
1687
|
-
- 'spec/fixtures/workspace-with-gemfile/lib/other.rb'
|
|
1688
|
-
- 'spec/fixtures/workspace-with-gemfile/lib/thing.rb'
|
|
1689
|
-
- 'spec/fixtures/workspace/app.rb'
|
|
1690
|
-
- 'spec/fixtures/workspace/lib/other.rb'
|
|
1691
|
-
- 'spec/fixtures/workspace/lib/something.rb'
|
|
1692
|
-
- 'spec/fixtures/workspace/lib/thing.rb'
|
|
1693
|
-
- 'spec/fixtures/workspace_folders/folder1/app.rb'
|
|
1694
|
-
- 'spec/fixtures/workspace_folders/folder2/app.rb'
|
|
1695
|
-
- 'spec/fixtures/yard_map/attr.rb'
|
|
1696
|
-
- 'spec/language_server/host/diagnoser_spec.rb'
|
|
1697
|
-
- 'spec/language_server/host/dispatch_spec.rb'
|
|
1698
|
-
- 'spec/language_server/host/message_worker_spec.rb'
|
|
1699
|
-
- 'spec/language_server/host_spec.rb'
|
|
1700
|
-
- 'spec/language_server/message/completion_item/resolve_spec.rb'
|
|
1701
|
-
- 'spec/language_server/message/extended/check_gem_version_spec.rb'
|
|
1702
|
-
- 'spec/language_server/message/initialize_spec.rb'
|
|
1703
|
-
- 'spec/language_server/message/text_document/definition_spec.rb'
|
|
1704
|
-
- 'spec/language_server/message/text_document/formatting_spec.rb'
|
|
1705
|
-
- 'spec/language_server/message/text_document/hover_spec.rb'
|
|
1706
|
-
- 'spec/language_server/message/text_document/type_definition_spec.rb'
|
|
1707
|
-
- 'spec/language_server/message/workspace/did_change_watched_files_spec.rb'
|
|
1708
|
-
- 'spec/language_server/message_spec.rb'
|
|
1709
|
-
- 'spec/language_server/protocol_spec.rb'
|
|
1710
|
-
- 'spec/language_server/transport/adapter_spec.rb'
|
|
1711
|
-
- 'spec/language_server/transport/data_reader_spec.rb'
|
|
1712
|
-
- 'spec/language_server/uri_helpers_spec.rb'
|
|
1713
|
-
- 'spec/library_spec.rb'
|
|
1714
|
-
- 'spec/logging_spec.rb'
|
|
1715
|
-
- 'spec/parser/node_chainer_spec.rb'
|
|
1716
|
-
- 'spec/parser/node_methods_spec.rb'
|
|
1717
|
-
- 'spec/parser/node_processor_spec.rb'
|
|
1718
|
-
- 'spec/parser_spec.rb'
|
|
1719
|
-
- 'spec/pin/base_spec.rb'
|
|
1720
|
-
- 'spec/pin/base_variable_spec.rb'
|
|
1721
|
-
- 'spec/pin/block_spec.rb'
|
|
1722
|
-
- 'spec/pin/class_variable_spec.rb'
|
|
1723
|
-
- 'spec/pin/constant_spec.rb'
|
|
1724
|
-
- 'spec/pin/delegated_method_spec.rb'
|
|
1725
|
-
- 'spec/pin/documenting_spec.rb'
|
|
1726
|
-
- 'spec/pin/instance_variable_spec.rb'
|
|
1727
|
-
- 'spec/pin/keyword_spec.rb'
|
|
1728
|
-
- 'spec/pin/local_variable_spec.rb'
|
|
1729
|
-
- 'spec/pin/method_spec.rb'
|
|
1730
|
-
- 'spec/pin/namespace_spec.rb'
|
|
1731
|
-
- 'spec/pin/parameter_spec.rb'
|
|
1732
|
-
- 'spec/pin/search_spec.rb'
|
|
1733
|
-
- 'spec/pin/symbol_spec.rb'
|
|
1734
|
-
- 'spec/position_spec.rb'
|
|
1735
|
-
- 'spec/rbs_map/conversions_spec.rb'
|
|
1736
|
-
- 'spec/rbs_map/core_map_spec.rb'
|
|
1737
|
-
- 'spec/rbs_map/stdlib_map_spec.rb'
|
|
1738
|
-
- 'spec/rbs_map_spec.rb'
|
|
1739
|
-
- 'spec/shell_spec.rb'
|
|
1740
|
-
- 'spec/source/chain/array_spec.rb'
|
|
1741
|
-
- 'spec/source/chain/call_spec.rb'
|
|
1742
|
-
- 'spec/source/chain/class_variable_spec.rb'
|
|
1743
|
-
- 'spec/source/chain/constant_spec.rb'
|
|
1744
|
-
- 'spec/source/chain/global_variable_spec.rb'
|
|
1745
|
-
- 'spec/source/chain/head_spec.rb'
|
|
1746
|
-
- 'spec/source/chain/instance_variable_spec.rb'
|
|
1747
|
-
- 'spec/source/chain/link_spec.rb'
|
|
1748
|
-
- 'spec/source/chain/literal_spec.rb'
|
|
1749
|
-
- 'spec/source/chain/z_super_spec.rb'
|
|
1750
|
-
- 'spec/source/chain_spec.rb'
|
|
1751
|
-
- 'spec/source/change_spec.rb'
|
|
1752
|
-
- 'spec/source/cursor_spec.rb'
|
|
1753
|
-
- 'spec/source/source_chainer_spec.rb'
|
|
1754
|
-
- 'spec/source/updater_spec.rb'
|
|
1755
|
-
- 'spec/source_map/clip_spec.rb'
|
|
1756
|
-
- 'spec/source_map/mapper_spec.rb'
|
|
1757
|
-
- 'spec/source_map/node_processor_spec.rb'
|
|
1758
|
-
- 'spec/source_map_spec.rb'
|
|
1759
|
-
- 'spec/source_spec.rb'
|
|
1760
|
-
- 'spec/spec_helper.rb'
|
|
1761
|
-
- 'spec/type_checker/checks_spec.rb'
|
|
1762
|
-
- 'spec/type_checker/levels/normal_spec.rb'
|
|
1763
|
-
- 'spec/type_checker/levels/strict_spec.rb'
|
|
1764
|
-
- 'spec/type_checker/levels/strong_spec.rb'
|
|
1765
|
-
- 'spec/type_checker/levels/typed_spec.rb'
|
|
1766
|
-
- 'spec/type_checker/rules_spec.rb'
|
|
1767
|
-
- 'spec/type_checker_spec.rb'
|
|
1768
|
-
- 'spec/workspace/config_spec.rb'
|
|
1769
|
-
- 'spec/workspace_spec.rb'
|
|
1770
|
-
- 'spec/yard_map/mapper/to_method_spec.rb'
|
|
1771
|
-
- 'spec/yard_map/mapper_spec.rb'
|
|
879
|
+
Enabled: false
|
|
1772
880
|
|
|
1773
881
|
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
1774
882
|
Style/GlobalStdStream:
|
|
@@ -1781,15 +889,7 @@ Style/GlobalStdStream:
|
|
|
1781
889
|
# This cop supports safe autocorrection (--autocorrect).
|
|
1782
890
|
# Configuration parameters: MinBodyLength, AllowConsecutiveConditionals.
|
|
1783
891
|
Style/GuardClause:
|
|
1784
|
-
|
|
1785
|
-
- 'lib/solargraph/api_map.rb'
|
|
1786
|
-
- 'lib/solargraph/library.rb'
|
|
1787
|
-
- 'lib/solargraph/parser/parser_gem/node_processors/send_node.rb'
|
|
1788
|
-
- 'lib/solargraph/pin_cache.rb'
|
|
1789
|
-
- 'lib/solargraph/range.rb'
|
|
1790
|
-
- 'lib/solargraph/rbs_map/conversions.rb'
|
|
1791
|
-
- 'lib/solargraph/source.rb'
|
|
1792
|
-
- 'lib/solargraph/workspace.rb'
|
|
892
|
+
Enabled: false
|
|
1793
893
|
|
|
1794
894
|
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
1795
895
|
# Configuration parameters: AllowSplatArgument.
|
|
@@ -1824,52 +924,11 @@ Style/IdenticalConditionalBranches:
|
|
|
1824
924
|
# This cop supports safe autocorrection (--autocorrect).
|
|
1825
925
|
# Configuration parameters: AllowIfModifier.
|
|
1826
926
|
Style/IfInsideElse:
|
|
1827
|
-
|
|
1828
|
-
- 'lib/solargraph/complex_type/type_methods.rb'
|
|
1829
|
-
- 'lib/solargraph/language_server/transport/data_reader.rb'
|
|
1830
|
-
- 'lib/solargraph/parser/parser_gem/node_chainer.rb'
|
|
1831
|
-
- 'lib/solargraph/parser/parser_gem/node_methods.rb'
|
|
1832
|
-
- 'lib/solargraph/source_map/clip.rb'
|
|
1833
|
-
- 'lib/solargraph/type_checker.rb'
|
|
927
|
+
Enabled: false
|
|
1834
928
|
|
|
1835
929
|
# This cop supports safe autocorrection (--autocorrect).
|
|
1836
930
|
Style/IfUnlessModifier:
|
|
1837
|
-
|
|
1838
|
-
- 'lib/solargraph/api_map.rb'
|
|
1839
|
-
- 'lib/solargraph/api_map/index.rb'
|
|
1840
|
-
- 'lib/solargraph/complex_type.rb'
|
|
1841
|
-
- 'lib/solargraph/complex_type/unique_type.rb'
|
|
1842
|
-
- 'lib/solargraph/doc_map.rb'
|
|
1843
|
-
- 'lib/solargraph/language_server/message/completion_item/resolve.rb'
|
|
1844
|
-
- 'lib/solargraph/language_server/message/initialize.rb'
|
|
1845
|
-
- 'lib/solargraph/language_server/message/text_document/completion.rb'
|
|
1846
|
-
- 'lib/solargraph/language_server/message/text_document/hover.rb'
|
|
1847
|
-
- 'lib/solargraph/library.rb'
|
|
1848
|
-
- 'lib/solargraph/parser/parser_gem/class_methods.rb'
|
|
1849
|
-
- 'lib/solargraph/parser/parser_gem/node_chainer.rb'
|
|
1850
|
-
- 'lib/solargraph/parser/parser_gem/node_methods.rb'
|
|
1851
|
-
- 'lib/solargraph/parser/parser_gem/node_processors/sclass_node.rb'
|
|
1852
|
-
- 'lib/solargraph/pin/base.rb'
|
|
1853
|
-
- 'lib/solargraph/pin/callable.rb'
|
|
1854
|
-
- 'lib/solargraph/pin/common.rb'
|
|
1855
|
-
- 'lib/solargraph/pin/constant.rb'
|
|
1856
|
-
- 'lib/solargraph/pin/method.rb'
|
|
1857
|
-
- 'lib/solargraph/pin/parameter.rb'
|
|
1858
|
-
- 'lib/solargraph/range.rb'
|
|
1859
|
-
- 'lib/solargraph/rbs_map/conversions.rb'
|
|
1860
|
-
- 'lib/solargraph/source/chain.rb'
|
|
1861
|
-
- 'lib/solargraph/source/chain/call.rb'
|
|
1862
|
-
- 'lib/solargraph/source/change.rb'
|
|
1863
|
-
- 'lib/solargraph/source/cursor.rb'
|
|
1864
|
-
- 'lib/solargraph/source/source_chainer.rb'
|
|
1865
|
-
- 'lib/solargraph/source_map.rb'
|
|
1866
|
-
- 'lib/solargraph/source_map/clip.rb'
|
|
1867
|
-
- 'lib/solargraph/source_map/mapper.rb'
|
|
1868
|
-
- 'lib/solargraph/type_checker.rb'
|
|
1869
|
-
- 'lib/solargraph/workspace.rb'
|
|
1870
|
-
- 'lib/solargraph/workspace/config.rb'
|
|
1871
|
-
- 'lib/solargraph/yard_map/helpers.rb'
|
|
1872
|
-
- 'lib/solargraph/yard_map/mapper/to_method.rb'
|
|
931
|
+
Enabled: false
|
|
1873
932
|
|
|
1874
933
|
# This cop supports safe autocorrection (--autocorrect).
|
|
1875
934
|
# Configuration parameters: EnforcedStyle.
|
|
@@ -1900,68 +959,7 @@ Style/MapToSet:
|
|
|
1900
959
|
# Configuration parameters: EnforcedStyle.
|
|
1901
960
|
# SupportedStyles: require_parentheses, require_no_parentheses, require_no_parentheses_except_multiline
|
|
1902
961
|
Style/MethodDefParentheses:
|
|
1903
|
-
|
|
1904
|
-
- 'lib/solargraph.rb'
|
|
1905
|
-
- 'lib/solargraph/api_map.rb'
|
|
1906
|
-
- 'lib/solargraph/api_map/index.rb'
|
|
1907
|
-
- 'lib/solargraph/api_map/store.rb'
|
|
1908
|
-
- 'lib/solargraph/complex_type.rb'
|
|
1909
|
-
- 'lib/solargraph/complex_type/type_methods.rb'
|
|
1910
|
-
- 'lib/solargraph/complex_type/unique_type.rb'
|
|
1911
|
-
- 'lib/solargraph/convention.rb'
|
|
1912
|
-
- 'lib/solargraph/convention/data_definition.rb'
|
|
1913
|
-
- 'lib/solargraph/convention/data_definition/data_assignment_node.rb'
|
|
1914
|
-
- 'lib/solargraph/convention/data_definition/data_definition_node.rb'
|
|
1915
|
-
- 'lib/solargraph/convention/struct_definition.rb'
|
|
1916
|
-
- 'lib/solargraph/convention/struct_definition/struct_assignment_node.rb'
|
|
1917
|
-
- 'lib/solargraph/convention/struct_definition/struct_definition_node.rb'
|
|
1918
|
-
- 'lib/solargraph/diagnostics/rubocop_helpers.rb'
|
|
1919
|
-
- 'lib/solargraph/doc_map.rb'
|
|
1920
|
-
- 'lib/solargraph/equality.rb'
|
|
1921
|
-
- 'lib/solargraph/gem_pins.rb'
|
|
1922
|
-
- 'lib/solargraph/language_server/host/message_worker.rb'
|
|
1923
|
-
- 'lib/solargraph/language_server/host/sources.rb'
|
|
1924
|
-
- 'lib/solargraph/language_server/message/text_document/formatting.rb'
|
|
1925
|
-
- 'lib/solargraph/location.rb'
|
|
1926
|
-
- 'lib/solargraph/parser/comment_ripper.rb'
|
|
1927
|
-
- 'lib/solargraph/parser/flow_sensitive_typing.rb'
|
|
1928
|
-
- 'lib/solargraph/parser/node_methods.rb'
|
|
1929
|
-
- 'lib/solargraph/parser/node_processor/base.rb'
|
|
1930
|
-
- 'lib/solargraph/parser/parser_gem/flawed_builder.rb'
|
|
1931
|
-
- 'lib/solargraph/parser/parser_gem/node_chainer.rb'
|
|
1932
|
-
- 'lib/solargraph/parser/parser_gem/node_methods.rb'
|
|
1933
|
-
- 'lib/solargraph/parser/parser_gem/node_processors/args_node.rb'
|
|
1934
|
-
- 'lib/solargraph/pin/base.rb'
|
|
1935
|
-
- 'lib/solargraph/pin/base_variable.rb'
|
|
1936
|
-
- 'lib/solargraph/pin/block.rb'
|
|
1937
|
-
- 'lib/solargraph/pin/callable.rb'
|
|
1938
|
-
- 'lib/solargraph/pin/closure.rb'
|
|
1939
|
-
- 'lib/solargraph/pin/delegated_method.rb'
|
|
1940
|
-
- 'lib/solargraph/pin/local_variable.rb'
|
|
1941
|
-
- 'lib/solargraph/pin/method.rb'
|
|
1942
|
-
- 'lib/solargraph/pin/parameter.rb'
|
|
1943
|
-
- 'lib/solargraph/pin_cache.rb'
|
|
1944
|
-
- 'lib/solargraph/position.rb'
|
|
1945
|
-
- 'lib/solargraph/range.rb'
|
|
1946
|
-
- 'lib/solargraph/rbs_map/conversions.rb'
|
|
1947
|
-
- 'lib/solargraph/shell.rb'
|
|
1948
|
-
- 'lib/solargraph/source.rb'
|
|
1949
|
-
- 'lib/solargraph/source/chain/call.rb'
|
|
1950
|
-
- 'lib/solargraph/source/chain/constant.rb'
|
|
1951
|
-
- 'lib/solargraph/source_map.rb'
|
|
1952
|
-
- 'lib/solargraph/source_map/mapper.rb'
|
|
1953
|
-
- 'lib/solargraph/type_checker.rb'
|
|
1954
|
-
- 'lib/solargraph/type_checker/checks.rb'
|
|
1955
|
-
- 'lib/solargraph/yard_map/helpers.rb'
|
|
1956
|
-
- 'lib/solargraph/yardoc.rb'
|
|
1957
|
-
- 'spec/doc_map_spec.rb'
|
|
1958
|
-
- 'spec/fixtures/rdoc-lib/lib/example.rb'
|
|
1959
|
-
- 'spec/source_map_spec.rb'
|
|
1960
|
-
- 'spec/spec_helper.rb'
|
|
1961
|
-
- 'spec/type_checker/levels/normal_spec.rb'
|
|
1962
|
-
- 'spec/type_checker/levels/strict_spec.rb'
|
|
1963
|
-
- 'spec/type_checker/levels/strong_spec.rb'
|
|
1964
|
-
- 'spec/type_checker/levels/typed_spec.rb'
|
|
962
|
+
Enabled: false
|
|
1965
963
|
|
|
1966
964
|
Style/MultilineBlockChain:
|
|
1967
965
|
Exclude:
|
|
@@ -1972,37 +970,21 @@ Style/MultilineIfModifier:
|
|
|
1972
970
|
Exclude:
|
|
1973
971
|
- 'lib/solargraph/pin/callable.rb'
|
|
1974
972
|
|
|
1975
|
-
# This cop supports safe autocorrection (--autocorrect).
|
|
1976
|
-
Style/MultilineTernaryOperator:
|
|
1977
|
-
Exclude:
|
|
1978
|
-
- 'lib/solargraph/language_server/host.rb'
|
|
1979
|
-
|
|
1980
|
-
# This cop supports safe autocorrection (--autocorrect).
|
|
1981
|
-
# Configuration parameters: AllowMethodComparison, ComparisonsThreshold.
|
|
1982
|
-
Style/MultipleComparison:
|
|
1983
|
-
|
|
1984
|
-
- 'lib/solargraph/complex_type.rb'
|
|
1985
|
-
- 'lib/solargraph/complex_type/type_methods.rb'
|
|
1986
|
-
- 'lib/solargraph/parser/parser_gem/node_methods.rb'
|
|
1987
|
-
- 'lib/solargraph/parser/parser_gem/node_processors/send_node.rb'
|
|
1988
|
-
- 'lib/solargraph/pin/base.rb'
|
|
1989
|
-
- 'lib/solargraph/pin/method.rb'
|
|
1990
|
-
- 'lib/solargraph/pin/parameter.rb'
|
|
1991
|
-
- 'lib/solargraph/source.rb'
|
|
1992
|
-
- 'lib/solargraph/type_checker.rb'
|
|
973
|
+
# This cop supports safe autocorrection (--autocorrect).
|
|
974
|
+
Style/MultilineTernaryOperator:
|
|
975
|
+
Exclude:
|
|
976
|
+
- 'lib/solargraph/language_server/host.rb'
|
|
977
|
+
|
|
978
|
+
# This cop supports safe autocorrection (--autocorrect).
|
|
979
|
+
# Configuration parameters: AllowMethodComparison, ComparisonsThreshold.
|
|
980
|
+
Style/MultipleComparison:
|
|
981
|
+
Enabled: false
|
|
1993
982
|
|
|
1994
983
|
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
1995
984
|
# Configuration parameters: EnforcedStyle.
|
|
1996
985
|
# SupportedStyles: literals, strict
|
|
1997
986
|
Style/MutableConstant:
|
|
1998
|
-
|
|
1999
|
-
- 'lib/solargraph/diagnostics/rubocop.rb'
|
|
2000
|
-
- 'lib/solargraph/logging.rb'
|
|
2001
|
-
- 'lib/solargraph/parser/parser_gem/node_methods.rb'
|
|
2002
|
-
- 'lib/solargraph/rbs_map/conversions.rb'
|
|
2003
|
-
- 'lib/solargraph/rbs_map/core_fills.rb'
|
|
2004
|
-
- 'lib/solargraph/yard_map/mapper/to_method.rb'
|
|
2005
|
-
- 'spec/complex_type_spec.rb'
|
|
987
|
+
Enabled: false
|
|
2006
988
|
|
|
2007
989
|
# This cop supports safe autocorrection (--autocorrect).
|
|
2008
990
|
# Configuration parameters: EnforcedStyle.
|
|
@@ -2037,34 +1019,15 @@ Style/Next:
|
|
|
2037
1019
|
- 'lib/solargraph/type_checker/checks.rb'
|
|
2038
1020
|
|
|
2039
1021
|
# This cop supports safe autocorrection (--autocorrect).
|
|
2040
|
-
# Configuration parameters:
|
|
1022
|
+
# Configuration parameters: Strict, AllowedNumbers, AllowedPatterns.
|
|
2041
1023
|
Style/NumericLiterals:
|
|
2042
|
-
|
|
2043
|
-
- 'lib/solargraph/language_server/error_codes.rb'
|
|
2044
|
-
- 'spec/language_server/protocol_spec.rb'
|
|
1024
|
+
MinDigits: 6
|
|
2045
1025
|
|
|
2046
1026
|
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
2047
1027
|
# Configuration parameters: EnforcedStyle, AllowedMethods, AllowedPatterns.
|
|
2048
1028
|
# SupportedStyles: predicate, comparison
|
|
2049
1029
|
Style/NumericPredicate:
|
|
2050
|
-
|
|
2051
|
-
- 'spec/**/*'
|
|
2052
|
-
- 'lib/solargraph/api_map.rb'
|
|
2053
|
-
- 'lib/solargraph/api_map/index.rb'
|
|
2054
|
-
- 'lib/solargraph/api_map/store.rb'
|
|
2055
|
-
- 'lib/solargraph/complex_type.rb'
|
|
2056
|
-
- 'lib/solargraph/complex_type/type_methods.rb'
|
|
2057
|
-
- 'lib/solargraph/complex_type/unique_type.rb'
|
|
2058
|
-
- 'lib/solargraph/language_server/message/extended/check_gem_version.rb'
|
|
2059
|
-
- 'lib/solargraph/library.rb'
|
|
2060
|
-
- 'lib/solargraph/parser/comment_ripper.rb'
|
|
2061
|
-
- 'lib/solargraph/pin/delegated_method.rb'
|
|
2062
|
-
- 'lib/solargraph/pin/method.rb'
|
|
2063
|
-
- 'lib/solargraph/shell.rb'
|
|
2064
|
-
- 'lib/solargraph/source/chain/array.rb'
|
|
2065
|
-
- 'lib/solargraph/source/change.rb'
|
|
2066
|
-
- 'lib/solargraph/source/source_chainer.rb'
|
|
2067
|
-
- 'lib/solargraph/workspace.rb'
|
|
1030
|
+
Enabled: false
|
|
2068
1031
|
|
|
2069
1032
|
Style/OpenStructUse:
|
|
2070
1033
|
Exclude:
|
|
@@ -2073,14 +1036,7 @@ Style/OpenStructUse:
|
|
|
2073
1036
|
# Configuration parameters: AllowedMethods.
|
|
2074
1037
|
# AllowedMethods: respond_to_missing?
|
|
2075
1038
|
Style/OptionalBooleanParameter:
|
|
2076
|
-
|
|
2077
|
-
- 'lib/solargraph/api_map.rb'
|
|
2078
|
-
- 'lib/solargraph/language_server/message/text_document/completion.rb'
|
|
2079
|
-
- 'lib/solargraph/source/chain.rb'
|
|
2080
|
-
- 'lib/solargraph/source/chain/hash.rb'
|
|
2081
|
-
- 'lib/solargraph/source/chain/z_super.rb'
|
|
2082
|
-
- 'lib/solargraph/source/change.rb'
|
|
2083
|
-
- 'lib/solargraph/source/updater.rb'
|
|
1039
|
+
Enabled: false
|
|
2084
1040
|
|
|
2085
1041
|
# This cop supports safe autocorrection (--autocorrect).
|
|
2086
1042
|
# Configuration parameters: AllowSafeAssignment, AllowInMultilineConditions.
|
|
@@ -2131,21 +1087,12 @@ Style/RedundantFreeze:
|
|
|
2131
1087
|
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
2132
1088
|
Style/RedundantInterpolation:
|
|
2133
1089
|
Exclude:
|
|
2134
|
-
- 'lib/solargraph/api_map/store.rb'
|
|
2135
1090
|
- 'lib/solargraph/parser/parser_gem/node_chainer.rb'
|
|
2136
1091
|
- 'lib/solargraph/source_map/mapper.rb'
|
|
2137
1092
|
|
|
2138
1093
|
# This cop supports safe autocorrection (--autocorrect).
|
|
2139
1094
|
Style/RedundantParentheses:
|
|
2140
|
-
|
|
2141
|
-
- 'lib/solargraph/diagnostics/type_check.rb'
|
|
2142
|
-
- 'lib/solargraph/language_server/message/initialize.rb'
|
|
2143
|
-
- 'lib/solargraph/parser/parser_gem/node_chainer.rb'
|
|
2144
|
-
- 'lib/solargraph/pin/method.rb'
|
|
2145
|
-
- 'lib/solargraph/pin/parameter.rb'
|
|
2146
|
-
- 'lib/solargraph/pin/search.rb'
|
|
2147
|
-
- 'lib/solargraph/source.rb'
|
|
2148
|
-
- 'lib/solargraph/type_checker.rb'
|
|
1095
|
+
Enabled: false
|
|
2149
1096
|
|
|
2150
1097
|
# This cop supports safe autocorrection (--autocorrect).
|
|
2151
1098
|
Style/RedundantRegexpArgument:
|
|
@@ -2158,19 +1105,12 @@ Style/RedundantRegexpArgument:
|
|
|
2158
1105
|
|
|
2159
1106
|
# This cop supports safe autocorrection (--autocorrect).
|
|
2160
1107
|
Style/RedundantRegexpEscape:
|
|
2161
|
-
|
|
2162
|
-
- 'lib/solargraph/complex_type.rb'
|
|
2163
|
-
- 'lib/solargraph/diagnostics/rubocop.rb'
|
|
2164
|
-
- 'lib/solargraph/language_server/uri_helpers.rb'
|
|
2165
|
-
- 'lib/solargraph/shell.rb'
|
|
2166
|
-
- 'lib/solargraph/source_map/clip.rb'
|
|
2167
|
-
- 'lib/solargraph/source_map/mapper.rb'
|
|
1108
|
+
Enabled: false
|
|
2168
1109
|
|
|
2169
1110
|
# This cop supports safe autocorrection (--autocorrect).
|
|
2170
1111
|
# Configuration parameters: AllowMultipleReturnValues.
|
|
2171
1112
|
Style/RedundantReturn:
|
|
2172
1113
|
Exclude:
|
|
2173
|
-
- 'lib/solargraph/api_map.rb'
|
|
2174
1114
|
- 'lib/solargraph/complex_type/type_methods.rb'
|
|
2175
1115
|
- 'lib/solargraph/doc_map.rb'
|
|
2176
1116
|
- 'lib/solargraph/parser/parser_gem/node_methods.rb'
|
|
@@ -2178,15 +1118,7 @@ Style/RedundantReturn:
|
|
|
2178
1118
|
|
|
2179
1119
|
# This cop supports safe autocorrection (--autocorrect).
|
|
2180
1120
|
Style/RedundantSelf:
|
|
2181
|
-
|
|
2182
|
-
- 'lib/solargraph/api_map.rb'
|
|
2183
|
-
- 'lib/solargraph/equality.rb'
|
|
2184
|
-
- 'lib/solargraph/location.rb'
|
|
2185
|
-
- 'lib/solargraph/pin/base.rb'
|
|
2186
|
-
- 'lib/solargraph/pin/callable.rb'
|
|
2187
|
-
- 'lib/solargraph/pin/signature.rb'
|
|
2188
|
-
- 'lib/solargraph/source/chain.rb'
|
|
2189
|
-
- 'lib/solargraph/source/chain/link.rb'
|
|
1121
|
+
Enabled: false
|
|
2190
1122
|
|
|
2191
1123
|
# This cop supports safe autocorrection (--autocorrect).
|
|
2192
1124
|
# Configuration parameters: EnforcedStyle, AllowInnerSlashes.
|
|
@@ -2207,19 +1139,7 @@ Style/RescueStandardError:
|
|
|
2207
1139
|
# Configuration parameters: ConvertCodeThatCanStartToReturnNil, AllowedMethods, MaxChainLength.
|
|
2208
1140
|
# AllowedMethods: present?, blank?, presence, try, try!
|
|
2209
1141
|
Style/SafeNavigation:
|
|
2210
|
-
|
|
2211
|
-
- 'lib/solargraph/api_map/index.rb'
|
|
2212
|
-
- 'lib/solargraph/doc_map.rb'
|
|
2213
|
-
- 'lib/solargraph/language_server/message/completion_item/resolve.rb'
|
|
2214
|
-
- 'lib/solargraph/language_server/request.rb'
|
|
2215
|
-
- 'lib/solargraph/language_server/transport/data_reader.rb'
|
|
2216
|
-
- 'lib/solargraph/parser/parser_gem/node_processors/send_node.rb'
|
|
2217
|
-
- 'lib/solargraph/pin/base.rb'
|
|
2218
|
-
- 'lib/solargraph/pin/conversions.rb'
|
|
2219
|
-
- 'lib/solargraph/pin/method.rb'
|
|
2220
|
-
- 'lib/solargraph/pin_cache.rb'
|
|
2221
|
-
- 'lib/solargraph/range.rb'
|
|
2222
|
-
- 'lib/solargraph/type_checker.rb'
|
|
1142
|
+
Enabled: false
|
|
2223
1143
|
|
|
2224
1144
|
# Configuration parameters: Max.
|
|
2225
1145
|
Style/SafeNavigationChainLength:
|
|
@@ -2228,36 +1148,12 @@ Style/SafeNavigationChainLength:
|
|
|
2228
1148
|
|
|
2229
1149
|
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
2230
1150
|
Style/SlicingWithRange:
|
|
2231
|
-
|
|
2232
|
-
- 'lib/solargraph/api_map.rb'
|
|
2233
|
-
- 'lib/solargraph/complex_type/unique_type.rb'
|
|
2234
|
-
- 'lib/solargraph/convention/data_definition/data_definition_node.rb'
|
|
2235
|
-
- 'lib/solargraph/convention/struct_definition/struct_definition_node.rb'
|
|
2236
|
-
- 'lib/solargraph/diagnostics/rubocop_helpers.rb'
|
|
2237
|
-
- 'lib/solargraph/library.rb'
|
|
2238
|
-
- 'lib/solargraph/parser/parser_gem/node_chainer.rb'
|
|
2239
|
-
- 'lib/solargraph/parser/parser_gem/node_methods.rb'
|
|
2240
|
-
- 'lib/solargraph/parser/parser_gem/node_processors/send_node.rb'
|
|
2241
|
-
- 'lib/solargraph/pin/method.rb'
|
|
2242
|
-
- 'lib/solargraph/pin/namespace.rb'
|
|
2243
|
-
- 'lib/solargraph/source.rb'
|
|
2244
|
-
- 'lib/solargraph/source/chain/constant.rb'
|
|
2245
|
-
- 'lib/solargraph/source/change.rb'
|
|
2246
|
-
- 'lib/solargraph/source/cursor.rb'
|
|
2247
|
-
- 'lib/solargraph/source/source_chainer.rb'
|
|
2248
|
-
- 'lib/solargraph/source_map/mapper.rb'
|
|
2249
|
-
- 'lib/solargraph/type_checker/checks.rb'
|
|
1151
|
+
Enabled: false
|
|
2250
1152
|
|
|
2251
1153
|
# This cop supports safe autocorrection (--autocorrect).
|
|
2252
1154
|
# Configuration parameters: AllowModifier.
|
|
2253
1155
|
Style/SoleNestedConditional:
|
|
2254
|
-
|
|
2255
|
-
- 'lib/solargraph/complex_type/unique_type.rb'
|
|
2256
|
-
- 'lib/solargraph/parser/flow_sensitive_typing.rb'
|
|
2257
|
-
- 'lib/solargraph/pin/parameter.rb'
|
|
2258
|
-
- 'lib/solargraph/source.rb'
|
|
2259
|
-
- 'lib/solargraph/source/source_chainer.rb'
|
|
2260
|
-
- 'lib/solargraph/type_checker.rb'
|
|
1156
|
+
Enabled: false
|
|
2261
1157
|
|
|
2262
1158
|
# This cop supports safe autocorrection (--autocorrect).
|
|
2263
1159
|
Style/StderrPuts:
|
|
@@ -2268,114 +1164,13 @@ Style/StderrPuts:
|
|
|
2268
1164
|
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
2269
1165
|
# Configuration parameters: Mode.
|
|
2270
1166
|
Style/StringConcatenation:
|
|
2271
|
-
|
|
2272
|
-
- 'lib/solargraph/api_map.rb'
|
|
2273
|
-
- 'lib/solargraph/api_map/index.rb'
|
|
2274
|
-
- 'lib/solargraph/pin/base.rb'
|
|
2275
|
-
- 'lib/solargraph/pin/callable.rb'
|
|
2276
|
-
- 'lib/solargraph/pin/closure.rb'
|
|
2277
|
-
- 'lib/solargraph/pin/local_variable.rb'
|
|
2278
|
-
- 'lib/solargraph/pin/method.rb'
|
|
2279
|
-
- 'lib/solargraph/pin/namespace.rb'
|
|
2280
|
-
- 'solargraph.gemspec'
|
|
1167
|
+
Enabled: false
|
|
2281
1168
|
|
|
2282
1169
|
# This cop supports safe autocorrection (--autocorrect).
|
|
2283
1170
|
# Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
|
|
2284
1171
|
# SupportedStyles: single_quotes, double_quotes
|
|
2285
1172
|
Style/StringLiterals:
|
|
2286
|
-
|
|
2287
|
-
- 'Gemfile'
|
|
2288
|
-
- 'Rakefile'
|
|
2289
|
-
- 'lib/solargraph/api_map/index.rb'
|
|
2290
|
-
- 'lib/solargraph/complex_type.rb'
|
|
2291
|
-
- 'lib/solargraph/complex_type/unique_type.rb'
|
|
2292
|
-
- 'lib/solargraph/convention/struct_definition.rb'
|
|
2293
|
-
- 'lib/solargraph/doc_map.rb'
|
|
2294
|
-
- 'lib/solargraph/language_server/host.rb'
|
|
2295
|
-
- 'lib/solargraph/language_server/message/extended/document_gems.rb'
|
|
2296
|
-
- 'lib/solargraph/language_server/message/extended/download_core.rb'
|
|
2297
|
-
- 'lib/solargraph/language_server/message/initialize.rb'
|
|
2298
|
-
- 'lib/solargraph/language_server/message/text_document/completion.rb'
|
|
2299
|
-
- 'lib/solargraph/library.rb'
|
|
2300
|
-
- 'lib/solargraph/parser/parser_gem/class_methods.rb'
|
|
2301
|
-
- 'lib/solargraph/parser/parser_gem/node_methods.rb'
|
|
2302
|
-
- 'lib/solargraph/pin/base.rb'
|
|
2303
|
-
- 'lib/solargraph/pin/conversions.rb'
|
|
2304
|
-
- 'lib/solargraph/pin/method.rb'
|
|
2305
|
-
- 'lib/solargraph/pin/parameter.rb'
|
|
2306
|
-
- 'lib/solargraph/rbs_map/conversions.rb'
|
|
2307
|
-
- 'lib/solargraph/server_methods.rb'
|
|
2308
|
-
- 'lib/solargraph/shell.rb'
|
|
2309
|
-
- 'lib/solargraph/workspace.rb'
|
|
2310
|
-
- 'lib/solargraph/yard_map/mapper/to_method.rb'
|
|
2311
|
-
- 'lib/solargraph/yard_tags.rb'
|
|
2312
|
-
- 'solargraph.gemspec'
|
|
2313
|
-
- 'spec/api_map/cache_spec.rb'
|
|
2314
|
-
- 'spec/api_map/config_spec.rb'
|
|
2315
|
-
- 'spec/api_map/source_to_yard_spec.rb'
|
|
2316
|
-
- 'spec/complex_type_spec.rb'
|
|
2317
|
-
- 'spec/convention/struct_definition_spec.rb'
|
|
2318
|
-
- 'spec/diagnostics/base_spec.rb'
|
|
2319
|
-
- 'spec/diagnostics/require_not_found_spec.rb'
|
|
2320
|
-
- 'spec/diagnostics/rubocop_helpers_spec.rb'
|
|
2321
|
-
- 'spec/diagnostics/rubocop_spec.rb'
|
|
2322
|
-
- 'spec/diagnostics/type_check_spec.rb'
|
|
2323
|
-
- 'spec/diagnostics/update_errors_spec.rb'
|
|
2324
|
-
- 'spec/diagnostics_spec.rb'
|
|
2325
|
-
- 'spec/fixtures/rdoc-lib/rdoc-lib.gemspec'
|
|
2326
|
-
- 'spec/language_server/host/diagnoser_spec.rb'
|
|
2327
|
-
- 'spec/language_server/host/dispatch_spec.rb'
|
|
2328
|
-
- 'spec/language_server/host/message_worker_spec.rb'
|
|
2329
|
-
- 'spec/language_server/host_spec.rb'
|
|
2330
|
-
- 'spec/language_server/message/completion_item/resolve_spec.rb'
|
|
2331
|
-
- 'spec/language_server/message/extended/check_gem_version_spec.rb'
|
|
2332
|
-
- 'spec/language_server/message/initialize_spec.rb'
|
|
2333
|
-
- 'spec/language_server/message/text_document/rename_spec.rb'
|
|
2334
|
-
- 'spec/language_server/message_spec.rb'
|
|
2335
|
-
- 'spec/language_server/protocol_spec.rb'
|
|
2336
|
-
- 'spec/language_server/transport/adapter_spec.rb'
|
|
2337
|
-
- 'spec/language_server/transport/data_reader_spec.rb'
|
|
2338
|
-
- 'spec/library_spec.rb'
|
|
2339
|
-
- 'spec/logging_spec.rb'
|
|
2340
|
-
- 'spec/parser/node_chainer_spec.rb'
|
|
2341
|
-
- 'spec/parser/node_methods_spec.rb'
|
|
2342
|
-
- 'spec/parser_spec.rb'
|
|
2343
|
-
- 'spec/pin/base_spec.rb'
|
|
2344
|
-
- 'spec/pin/base_variable_spec.rb'
|
|
2345
|
-
- 'spec/pin/constant_spec.rb'
|
|
2346
|
-
- 'spec/pin/instance_variable_spec.rb'
|
|
2347
|
-
- 'spec/pin/keyword_spec.rb'
|
|
2348
|
-
- 'spec/pin/local_variable_spec.rb'
|
|
2349
|
-
- 'spec/pin/namespace_spec.rb'
|
|
2350
|
-
- 'spec/pin/symbol_spec.rb'
|
|
2351
|
-
- 'spec/position_spec.rb'
|
|
2352
|
-
- 'spec/rbs_map/conversions_spec.rb'
|
|
2353
|
-
- 'spec/rbs_map/core_map_spec.rb'
|
|
2354
|
-
- 'spec/rbs_map/stdlib_map_spec.rb'
|
|
2355
|
-
- 'spec/shell_spec.rb'
|
|
2356
|
-
- 'spec/source/chain/array_spec.rb'
|
|
2357
|
-
- 'spec/source/chain/call_spec.rb'
|
|
2358
|
-
- 'spec/source/chain/class_variable_spec.rb'
|
|
2359
|
-
- 'spec/source/chain/constant_spec.rb'
|
|
2360
|
-
- 'spec/source/chain/global_variable_spec.rb'
|
|
2361
|
-
- 'spec/source/chain/head_spec.rb'
|
|
2362
|
-
- 'spec/source/chain/instance_variable_spec.rb'
|
|
2363
|
-
- 'spec/source/chain/link_spec.rb'
|
|
2364
|
-
- 'spec/source/chain/literal_spec.rb'
|
|
2365
|
-
- 'spec/source/chain/z_super_spec.rb'
|
|
2366
|
-
- 'spec/source/chain_spec.rb'
|
|
2367
|
-
- 'spec/source/change_spec.rb'
|
|
2368
|
-
- 'spec/source/cursor_spec.rb'
|
|
2369
|
-
- 'spec/source/source_chainer_spec.rb'
|
|
2370
|
-
- 'spec/source/updater_spec.rb'
|
|
2371
|
-
- 'spec/source_map/clip_spec.rb'
|
|
2372
|
-
- 'spec/source_map/mapper_spec.rb'
|
|
2373
|
-
- 'spec/source_map_spec.rb'
|
|
2374
|
-
- 'spec/source_spec.rb'
|
|
2375
|
-
- 'spec/type_checker/levels/strict_spec.rb'
|
|
2376
|
-
- 'spec/workspace/config_spec.rb'
|
|
2377
|
-
- 'spec/workspace_spec.rb'
|
|
2378
|
-
- 'spec/yard_map/mapper/to_method_spec.rb'
|
|
1173
|
+
Enabled: false
|
|
2379
1174
|
|
|
2380
1175
|
# This cop supports safe autocorrection (--autocorrect).
|
|
2381
1176
|
Style/SuperArguments:
|
|
@@ -2389,35 +1184,13 @@ Style/SuperArguments:
|
|
|
2389
1184
|
# Configuration parameters: EnforcedStyle, MinSize.
|
|
2390
1185
|
# SupportedStyles: percent, brackets
|
|
2391
1186
|
Style/SymbolArray:
|
|
2392
|
-
|
|
2393
|
-
- 'lib/solargraph/api_map.rb'
|
|
2394
|
-
- 'lib/solargraph/parser/parser_gem/node_chainer.rb'
|
|
2395
|
-
- 'lib/solargraph/parser/parser_gem/node_methods.rb'
|
|
2396
|
-
- 'lib/solargraph/parser/parser_gem/node_processors/block_node.rb'
|
|
2397
|
-
- 'lib/solargraph/parser/parser_gem/node_processors/send_node.rb'
|
|
2398
|
-
- 'lib/solargraph/pin/method.rb'
|
|
2399
|
-
- 'lib/solargraph/pin/parameter.rb'
|
|
2400
|
-
- 'lib/solargraph/shell.rb'
|
|
2401
|
-
- 'lib/solargraph/source.rb'
|
|
2402
|
-
- 'lib/solargraph/source/chain/literal.rb'
|
|
2403
|
-
- 'lib/solargraph/source_map/clip.rb'
|
|
2404
|
-
- 'lib/solargraph/source_map/mapper.rb'
|
|
2405
|
-
- 'lib/solargraph/type_checker.rb'
|
|
2406
|
-
- 'spec/parser/node_methods_spec.rb'
|
|
2407
|
-
- 'spec/source_map/mapper_spec.rb'
|
|
1187
|
+
Enabled: false
|
|
2408
1188
|
|
|
2409
1189
|
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
2410
1190
|
# Configuration parameters: AllowMethodsWithArguments, AllowedMethods, AllowedPatterns, AllowComments.
|
|
2411
1191
|
# AllowedMethods: define_method
|
|
2412
1192
|
Style/SymbolProc:
|
|
2413
|
-
|
|
2414
|
-
- 'lib/solargraph/gem_pins.rb'
|
|
2415
|
-
- 'lib/solargraph/language_server/message/text_document/hover.rb'
|
|
2416
|
-
- 'lib/solargraph/language_server/message/text_document/signature_help.rb'
|
|
2417
|
-
- 'lib/solargraph/parser/flow_sensitive_typing.rb'
|
|
2418
|
-
- 'lib/solargraph/pin/base.rb'
|
|
2419
|
-
- 'lib/solargraph/pin/callable.rb'
|
|
2420
|
-
- 'lib/solargraph/pin/closure.rb'
|
|
1193
|
+
Enabled: false
|
|
2421
1194
|
|
|
2422
1195
|
# This cop supports safe autocorrection (--autocorrect).
|
|
2423
1196
|
# Configuration parameters: EnforcedStyle, AllowSafeAssignment.
|
|
@@ -2430,19 +1203,7 @@ Style/TernaryParentheses:
|
|
|
2430
1203
|
# Configuration parameters: EnforcedStyleForMultiline.
|
|
2431
1204
|
# SupportedStylesForMultiline: comma, consistent_comma, no_comma
|
|
2432
1205
|
Style/TrailingCommaInArguments:
|
|
2433
|
-
|
|
2434
|
-
- 'lib/solargraph/api_map.rb'
|
|
2435
|
-
- 'lib/solargraph/parser/node_processor.rb'
|
|
2436
|
-
- 'lib/solargraph/parser/parser_gem/node_processors/block_node.rb'
|
|
2437
|
-
- 'lib/solargraph/parser/parser_gem/node_processors/def_node.rb'
|
|
2438
|
-
- 'lib/solargraph/parser/parser_gem/node_processors/defs_node.rb'
|
|
2439
|
-
- 'lib/solargraph/parser/parser_gem/node_processors/sclass_node.rb'
|
|
2440
|
-
- 'lib/solargraph/parser/parser_gem/node_processors/until_node.rb'
|
|
2441
|
-
- 'lib/solargraph/parser/parser_gem/node_processors/while_node.rb'
|
|
2442
|
-
- 'lib/solargraph/pin/method.rb'
|
|
2443
|
-
- 'lib/solargraph/rbs_map/conversions.rb'
|
|
2444
|
-
- 'lib/solargraph/yard_map/mapper/to_method.rb'
|
|
2445
|
-
- 'lib/solargraph/yard_map/mapper/to_namespace.rb'
|
|
1206
|
+
Enabled: false
|
|
2446
1207
|
|
|
2447
1208
|
# This cop supports safe autocorrection (--autocorrect).
|
|
2448
1209
|
# Configuration parameters: EnforcedStyleForMultiline.
|
|
@@ -2456,13 +1217,7 @@ Style/TrailingCommaInArrayLiteral:
|
|
|
2456
1217
|
# Configuration parameters: EnforcedStyleForMultiline.
|
|
2457
1218
|
# SupportedStylesForMultiline: comma, consistent_comma, diff_comma, no_comma
|
|
2458
1219
|
Style/TrailingCommaInHashLiteral:
|
|
2459
|
-
|
|
2460
|
-
- 'lib/solargraph/pin/base_variable.rb'
|
|
2461
|
-
- 'lib/solargraph/pin/callable.rb'
|
|
2462
|
-
- 'lib/solargraph/pin/closure.rb'
|
|
2463
|
-
- 'lib/solargraph/pin/local_variable.rb'
|
|
2464
|
-
- 'lib/solargraph/pin/parameter.rb'
|
|
2465
|
-
- 'lib/solargraph/rbs_map/conversions.rb'
|
|
1220
|
+
Enabled: false
|
|
2466
1221
|
|
|
2467
1222
|
# This cop supports safe autocorrection (--autocorrect).
|
|
2468
1223
|
# Configuration parameters: ExactNameMatch, AllowPredicates, AllowDSLWriters, IgnoreClassMethods, AllowedMethods.
|
|
@@ -2481,20 +1236,7 @@ Style/WhileUntilModifier:
|
|
|
2481
1236
|
# Configuration parameters: EnforcedStyle, MinSize, WordRegex.
|
|
2482
1237
|
# SupportedStyles: percent, brackets
|
|
2483
1238
|
Style/WordArray:
|
|
2484
|
-
|
|
2485
|
-
- 'lib/solargraph/complex_type.rb'
|
|
2486
|
-
- 'lib/solargraph/complex_type/unique_type.rb'
|
|
2487
|
-
- 'lib/solargraph/diagnostics/type_check.rb'
|
|
2488
|
-
- 'lib/solargraph/language_server/message/text_document/formatting.rb'
|
|
2489
|
-
- 'spec/doc_map_spec.rb'
|
|
2490
|
-
- 'spec/parser/node_chainer_spec.rb'
|
|
2491
|
-
- 'spec/pin/method_spec.rb'
|
|
2492
|
-
- 'spec/source/cursor_spec.rb'
|
|
2493
|
-
- 'spec/source/source_chainer_spec.rb'
|
|
2494
|
-
- 'spec/source_map/clip_spec.rb'
|
|
2495
|
-
- 'spec/source_map/mapper_spec.rb'
|
|
2496
|
-
- 'spec/source_map_spec.rb'
|
|
2497
|
-
- 'spec/source_spec.rb'
|
|
1239
|
+
Enabled: false
|
|
2498
1240
|
|
|
2499
1241
|
# This cop supports safe autocorrection (--autocorrect).
|
|
2500
1242
|
Style/YAMLFileRead:
|
|
@@ -2504,8 +1246,6 @@ Style/YAMLFileRead:
|
|
|
2504
1246
|
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
2505
1247
|
Style/ZeroLengthPredicate:
|
|
2506
1248
|
Exclude:
|
|
2507
|
-
- 'lib/solargraph/api_map.rb'
|
|
2508
|
-
- 'lib/solargraph/api_map/index.rb'
|
|
2509
1249
|
- 'lib/solargraph/language_server/host.rb'
|
|
2510
1250
|
- 'lib/solargraph/pin/method.rb'
|
|
2511
1251
|
- 'lib/solargraph/source/chain/array.rb'
|
|
@@ -2522,106 +1262,18 @@ YARD/CollectionType:
|
|
|
2522
1262
|
# Configuration parameters: EnforcedStylePrototypeName.
|
|
2523
1263
|
# SupportedStylesPrototypeName: before, after
|
|
2524
1264
|
YARD/MismatchName:
|
|
2525
|
-
|
|
2526
|
-
- 'lib/solargraph/complex_type.rb'
|
|
2527
|
-
- 'lib/solargraph/complex_type/unique_type.rb'
|
|
2528
|
-
- 'lib/solargraph/language_server/host.rb'
|
|
2529
|
-
- 'lib/solargraph/language_server/host/dispatch.rb'
|
|
2530
|
-
- 'lib/solargraph/language_server/request.rb'
|
|
2531
|
-
- 'lib/solargraph/parser/parser_gem/node_methods.rb'
|
|
2532
|
-
- 'lib/solargraph/parser/region.rb'
|
|
2533
|
-
- 'lib/solargraph/pin/base.rb'
|
|
2534
|
-
- 'lib/solargraph/pin/base_variable.rb'
|
|
2535
|
-
- 'lib/solargraph/pin/block.rb'
|
|
2536
|
-
- 'lib/solargraph/pin/callable.rb'
|
|
2537
|
-
- 'lib/solargraph/pin/closure.rb'
|
|
2538
|
-
- 'lib/solargraph/pin/delegated_method.rb'
|
|
2539
|
-
- 'lib/solargraph/pin/method.rb'
|
|
2540
|
-
- 'lib/solargraph/pin/namespace.rb'
|
|
2541
|
-
- 'lib/solargraph/pin/parameter.rb'
|
|
2542
|
-
- 'lib/solargraph/pin/proxy_type.rb'
|
|
2543
|
-
- 'lib/solargraph/pin/reference.rb'
|
|
2544
|
-
- 'lib/solargraph/pin/symbol.rb'
|
|
2545
|
-
- 'lib/solargraph/pin/until.rb'
|
|
2546
|
-
- 'lib/solargraph/pin/while.rb'
|
|
2547
|
-
- 'lib/solargraph/pin_cache.rb'
|
|
2548
|
-
- 'lib/solargraph/source/chain/call.rb'
|
|
2549
|
-
- 'lib/solargraph/source/chain/z_super.rb'
|
|
2550
|
-
- 'lib/solargraph/type_checker.rb'
|
|
1265
|
+
Enabled: false
|
|
2551
1266
|
|
|
2552
1267
|
YARD/TagTypeSyntax:
|
|
2553
1268
|
Exclude:
|
|
1269
|
+
- 'lib/solargraph/api_map/constants.rb'
|
|
2554
1270
|
- 'lib/solargraph/language_server/host.rb'
|
|
2555
1271
|
- 'lib/solargraph/parser/comment_ripper.rb'
|
|
1272
|
+
- 'lib/solargraph/pin/method.rb'
|
|
2556
1273
|
- 'lib/solargraph/type_checker.rb'
|
|
2557
1274
|
|
|
2558
1275
|
# This cop supports safe autocorrection (--autocorrect).
|
|
2559
|
-
# Configuration parameters:
|
|
1276
|
+
# Configuration parameters: AllowHeredoc, AllowURI, AllowQualifiedName, URISchemes, IgnoreCopDirectives, AllowedPatterns, SplitStrings.
|
|
2560
1277
|
# URISchemes: http, https
|
|
2561
1278
|
Layout/LineLength:
|
|
2562
|
-
|
|
2563
|
-
- 'lib/solargraph/api_map.rb'
|
|
2564
|
-
- 'lib/solargraph/api_map/source_to_yard.rb'
|
|
2565
|
-
- 'lib/solargraph/api_map/store.rb'
|
|
2566
|
-
- 'lib/solargraph/complex_type.rb'
|
|
2567
|
-
- 'lib/solargraph/complex_type/unique_type.rb'
|
|
2568
|
-
- 'lib/solargraph/convention/data_definition.rb'
|
|
2569
|
-
- 'lib/solargraph/doc_map.rb'
|
|
2570
|
-
- 'lib/solargraph/gem_pins.rb'
|
|
2571
|
-
- 'lib/solargraph/language_server/host.rb'
|
|
2572
|
-
- 'lib/solargraph/language_server/message/extended/check_gem_version.rb'
|
|
2573
|
-
- 'lib/solargraph/language_server/message/extended/download_core.rb'
|
|
2574
|
-
- 'lib/solargraph/language_server/message/initialize.rb'
|
|
2575
|
-
- 'lib/solargraph/language_server/message/text_document/completion.rb'
|
|
2576
|
-
- 'lib/solargraph/language_server/message/text_document/definition.rb'
|
|
2577
|
-
- 'lib/solargraph/language_server/message/text_document/document_highlight.rb'
|
|
2578
|
-
- 'lib/solargraph/language_server/message/text_document/prepare_rename.rb'
|
|
2579
|
-
- 'lib/solargraph/language_server/message/text_document/references.rb'
|
|
2580
|
-
- 'lib/solargraph/language_server/message/text_document/rename.rb'
|
|
2581
|
-
- 'lib/solargraph/language_server/message/workspace/did_change_watched_files.rb'
|
|
2582
|
-
- 'lib/solargraph/library.rb'
|
|
2583
|
-
- 'lib/solargraph/parser/comment_ripper.rb'
|
|
2584
|
-
- 'lib/solargraph/parser/flow_sensitive_typing.rb'
|
|
2585
|
-
- 'lib/solargraph/parser/parser_gem/node_chainer.rb'
|
|
2586
|
-
- 'lib/solargraph/parser/parser_gem/node_methods.rb'
|
|
2587
|
-
- 'lib/solargraph/parser/parser_gem/node_processors/and_node.rb'
|
|
2588
|
-
- 'lib/solargraph/parser/parser_gem/node_processors/if_node.rb'
|
|
2589
|
-
- 'lib/solargraph/parser/parser_gem/node_processors/ivasgn_node.rb'
|
|
2590
|
-
- 'lib/solargraph/parser/parser_gem/node_processors/masgn_node.rb'
|
|
2591
|
-
- 'lib/solargraph/parser/parser_gem/node_processors/send_node.rb'
|
|
2592
|
-
- 'lib/solargraph/pin/base.rb'
|
|
2593
|
-
- 'lib/solargraph/pin/callable.rb'
|
|
2594
|
-
- 'lib/solargraph/pin/common.rb'
|
|
2595
|
-
- 'lib/solargraph/pin/documenting.rb'
|
|
2596
|
-
- 'lib/solargraph/pin/method.rb'
|
|
2597
|
-
- 'lib/solargraph/pin/parameter.rb'
|
|
2598
|
-
- 'lib/solargraph/rbs_map/conversions.rb'
|
|
2599
|
-
- 'lib/solargraph/rbs_map/core_fills.rb'
|
|
2600
|
-
- 'lib/solargraph/shell.rb'
|
|
2601
|
-
- 'lib/solargraph/source.rb'
|
|
2602
|
-
- 'lib/solargraph/source/chain.rb'
|
|
2603
|
-
- 'lib/solargraph/source/chain/call.rb'
|
|
2604
|
-
- 'lib/solargraph/source/chain/if.rb'
|
|
2605
|
-
- 'lib/solargraph/source/chain/instance_variable.rb'
|
|
2606
|
-
- 'lib/solargraph/source/chain/variable.rb'
|
|
2607
|
-
- 'lib/solargraph/source/cursor.rb'
|
|
2608
|
-
- 'lib/solargraph/source/encoding_fixes.rb'
|
|
2609
|
-
- 'lib/solargraph/source/source_chainer.rb'
|
|
2610
|
-
- 'lib/solargraph/source_map.rb'
|
|
2611
|
-
- 'lib/solargraph/source_map/clip.rb'
|
|
2612
|
-
- 'lib/solargraph/source_map/mapper.rb'
|
|
2613
|
-
- 'lib/solargraph/type_checker.rb'
|
|
2614
|
-
- 'lib/solargraph/workspace.rb'
|
|
2615
|
-
- 'lib/solargraph/workspace/config.rb'
|
|
2616
|
-
- 'lib/solargraph/yard_map/mapper/to_method.rb'
|
|
2617
|
-
- 'spec/api_map_spec.rb'
|
|
2618
|
-
- 'spec/complex_type_spec.rb'
|
|
2619
|
-
- 'spec/language_server/message/completion_item/resolve_spec.rb'
|
|
2620
|
-
- 'spec/language_server/message/extended/check_gem_version_spec.rb'
|
|
2621
|
-
- 'spec/language_server/message/text_document/definition_spec.rb'
|
|
2622
|
-
- 'spec/language_server/protocol_spec.rb'
|
|
2623
|
-
- 'spec/pin/parameter_spec.rb'
|
|
2624
|
-
- 'spec/source/chain_spec.rb'
|
|
2625
|
-
- 'spec/source_map/clip_spec.rb'
|
|
2626
|
-
- 'spec/source_map_spec.rb'
|
|
2627
|
-
- 'spec/workspace_spec.rb'
|
|
1279
|
+
Max: 244
|