Update RBI files for rubocop-sorbet.
This commit is contained in:
parent
fbb6c07228
commit
d55a8804e6
@ -1,9 +1,9 @@
|
|||||||
|
# typed: true
|
||||||
|
|
||||||
# DO NOT EDIT MANUALLY
|
# DO NOT EDIT MANUALLY
|
||||||
# This is an autogenerated file for types exported from the `rubocop-sorbet` gem.
|
# This is an autogenerated file for types exported from the `rubocop-sorbet` gem.
|
||||||
# Please instead update this file by running `bin/tapioca gem rubocop-sorbet`.
|
# Please instead update this file by running `bin/tapioca gem rubocop-sorbet`.
|
||||||
|
|
||||||
# typed: true
|
|
||||||
|
|
||||||
module RuboCop; end
|
module RuboCop; end
|
||||||
module RuboCop::Cop; end
|
module RuboCop::Cop; end
|
||||||
module RuboCop::Cop::Sorbet; end
|
module RuboCop::Cop::Sorbet; end
|
||||||
@ -76,10 +76,10 @@ class RuboCop::Cop::Sorbet::EnforceSignatures < ::RuboCop::Cop::Sorbet::Signatur
|
|||||||
|
|
||||||
def accessor?(param0 = T.unsafe(nil)); end
|
def accessor?(param0 = T.unsafe(nil)); end
|
||||||
def autocorrect(node); end
|
def autocorrect(node); end
|
||||||
def on_block(node); end
|
|
||||||
def on_def(node); end
|
def on_def(node); end
|
||||||
def on_defs(node); end
|
def on_defs(node); end
|
||||||
def on_send(node); end
|
def on_send(node); end
|
||||||
|
def on_signature(node); end
|
||||||
def scope(node); end
|
def scope(node); end
|
||||||
|
|
||||||
private
|
private
|
||||||
@ -104,6 +104,17 @@ class RuboCop::Cop::Sorbet::EnforceSignatures::SigSuggestion
|
|||||||
def generate_return; end
|
def generate_return; end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class RuboCop::Cop::Sorbet::EnforceSingleSigil < ::RuboCop::Cop::Sorbet::ValidSigil
|
||||||
|
include ::RuboCop::Cop::RangeHelp
|
||||||
|
|
||||||
|
def autocorrect(_node); end
|
||||||
|
def investigate(processed_source); end
|
||||||
|
|
||||||
|
protected
|
||||||
|
|
||||||
|
def extract_all_sigils(processed_source); end
|
||||||
|
end
|
||||||
|
|
||||||
class RuboCop::Cop::Sorbet::FalseSigil < ::RuboCop::Cop::Sorbet::HasSigil
|
class RuboCop::Cop::Sorbet::FalseSigil < ::RuboCop::Cop::Sorbet::HasSigil
|
||||||
def minimum_strictness; end
|
def minimum_strictness; end
|
||||||
end
|
end
|
||||||
@ -123,6 +134,7 @@ RuboCop::Cop::Sorbet::ForbidExtendTSigHelpersInShims::RESTRICT_ON_SEND = T.let(T
|
|||||||
class RuboCop::Cop::Sorbet::ForbidIncludeConstLiteral < ::RuboCop::Cop::Cop
|
class RuboCop::Cop::Sorbet::ForbidIncludeConstLiteral < ::RuboCop::Cop::Cop
|
||||||
def initialize(*_arg0); end
|
def initialize(*_arg0); end
|
||||||
|
|
||||||
|
def autocorrect(node); end
|
||||||
def not_lit_const_include?(param0 = T.unsafe(nil)); end
|
def not_lit_const_include?(param0 = T.unsafe(nil)); end
|
||||||
def on_send(node); end
|
def on_send(node); end
|
||||||
def used_names; end
|
def used_names; end
|
||||||
@ -131,13 +143,16 @@ end
|
|||||||
|
|
||||||
RuboCop::Cop::Sorbet::ForbidIncludeConstLiteral::MSG = T.let(T.unsafe(nil), String)
|
RuboCop::Cop::Sorbet::ForbidIncludeConstLiteral::MSG = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
class RuboCop::Cop::Sorbet::ForbidRBIOutsideOfSorbetDir < ::RuboCop::Cop::Cop
|
class RuboCop::Cop::Sorbet::ForbidRBIOutsideOfAllowedPaths < ::RuboCop::Cop::Cop
|
||||||
include ::RuboCop::Cop::RangeHelp
|
include ::RuboCop::Cop::RangeHelp
|
||||||
|
|
||||||
def investigate(processed_source); end
|
def investigate(processed_source); end
|
||||||
end
|
|
||||||
|
|
||||||
RuboCop::Cop::Sorbet::ForbidRBIOutsideOfSorbetDir::PATH_REGEXP = T.let(T.unsafe(nil), Regexp)
|
private
|
||||||
|
|
||||||
|
def allowed_paths; end
|
||||||
|
def message; end
|
||||||
|
end
|
||||||
|
|
||||||
class RuboCop::Cop::Sorbet::ForbidSuperclassConstLiteral < ::RuboCop::Cop::Cop
|
class RuboCop::Cop::Sorbet::ForbidSuperclassConstLiteral < ::RuboCop::Cop::Cop
|
||||||
def not_lit_const_superclass?(param0 = T.unsafe(nil)); end
|
def not_lit_const_superclass?(param0 = T.unsafe(nil)); end
|
||||||
@ -194,16 +209,6 @@ end
|
|||||||
|
|
||||||
RuboCop::Cop::Sorbet::OneAncestorPerLine::MSG = T.let(T.unsafe(nil), String)
|
RuboCop::Cop::Sorbet::OneAncestorPerLine::MSG = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
class RuboCop::Cop::Sorbet::ParametersOrderingInSignature < ::RuboCop::Cop::Sorbet::SignatureCop
|
|
||||||
def on_signature(node); end
|
|
||||||
def signature_params(param0); end
|
|
||||||
|
|
||||||
private
|
|
||||||
|
|
||||||
def check_for_inconsistent_param_ordering(sig_params_order, parameters); end
|
|
||||||
def extract_parameters(sig_params); end
|
|
||||||
end
|
|
||||||
|
|
||||||
class RuboCop::Cop::Sorbet::SignatureBuildOrder < ::RuboCop::Cop::Sorbet::SignatureCop
|
class RuboCop::Cop::Sorbet::SignatureBuildOrder < ::RuboCop::Cop::Sorbet::SignatureCop
|
||||||
def autocorrect(node); end
|
def autocorrect(node); end
|
||||||
def on_signature(node); end
|
def on_signature(node); end
|
||||||
@ -220,9 +225,12 @@ class RuboCop::Cop::Sorbet::SignatureBuildOrder::ModernBuilder < ::RuboCop::AST:
|
|||||||
RuboCop::Cop::Sorbet::SignatureBuildOrder::ORDER = T.let(T.unsafe(nil), Hash)
|
RuboCop::Cop::Sorbet::SignatureBuildOrder::ORDER = T.let(T.unsafe(nil), Hash)
|
||||||
|
|
||||||
class RuboCop::Cop::Sorbet::SignatureCop < ::RuboCop::Cop::Cop
|
class RuboCop::Cop::Sorbet::SignatureCop < ::RuboCop::Cop::Cop
|
||||||
|
def allowed_recv(recv); end
|
||||||
def on_block(node); end
|
def on_block(node); end
|
||||||
def on_signature(_); end
|
def on_signature(_); end
|
||||||
def signature?(param0 = T.unsafe(nil)); end
|
def signature?(param0 = T.unsafe(nil)); end
|
||||||
|
def with_runtime?(param0 = T.unsafe(nil)); end
|
||||||
|
def without_runtime?(param0 = T.unsafe(nil)); end
|
||||||
end
|
end
|
||||||
|
|
||||||
class RuboCop::Cop::Sorbet::SingleLineRbiClassModuleDefinitions < ::RuboCop::Cop::Cop
|
class RuboCop::Cop::Sorbet::SingleLineRbiClassModuleDefinitions < ::RuboCop::Cop::Cop
|
||||||
Loading…
x
Reference in New Issue
Block a user