Update RBI files for rubocop.
This commit is contained in:
parent
de373dd056
commit
287b4888e6
@ -1451,6 +1451,16 @@ RuboCop::Cop::FrozenStringLiteral::FROZEN_STRING_LITERAL_TYPES = T.let(T.unsafe(
|
||||
module RuboCop::Cop::Gemspec
|
||||
end
|
||||
|
||||
class RuboCop::Cop::Gemspec::DateAssignment < ::RuboCop::Cop::Base
|
||||
include(::RuboCop::Cop::RangeHelp)
|
||||
extend(::RuboCop::Cop::AutoCorrector)
|
||||
|
||||
def gem_specification(param0 = T.unsafe(nil)); end
|
||||
def on_block(block_node); end
|
||||
end
|
||||
|
||||
RuboCop::Cop::Gemspec::DateAssignment::MSG = T.let(T.unsafe(nil), String)
|
||||
|
||||
class RuboCop::Cop::Gemspec::DuplicatedAssignment < ::RuboCop::Cop::Base
|
||||
include(::RuboCop::Cop::RangeHelp)
|
||||
|
||||
@ -4019,12 +4029,14 @@ end
|
||||
RuboCop::Cop::Lint::ConstantResolution::MSG = T.let(T.unsafe(nil), String)
|
||||
|
||||
class RuboCop::Cop::Lint::Debugger < ::RuboCop::Cop::Base
|
||||
def kernel?(param0 = T.unsafe(nil)); end
|
||||
def on_send(node); end
|
||||
def valid_receiver?(param0 = T.unsafe(nil), param1); end
|
||||
|
||||
private
|
||||
|
||||
def debugger_method?(name); end
|
||||
def debugger_receiver?(node); end
|
||||
def debugger_method?(send_node); end
|
||||
def debugger_methods; end
|
||||
def message(node); end
|
||||
end
|
||||
|
||||
@ -4089,7 +4101,7 @@ class RuboCop::Cop::Lint::DeprecatedOpenSSLConstant < ::RuboCop::Cop::Base
|
||||
|
||||
def algorithm_name(node); end
|
||||
def autocorrect(corrector, node); end
|
||||
def build_cipher_arguments(node, algorithm_name); end
|
||||
def build_cipher_arguments(node, algorithm_name, no_arguments); end
|
||||
def correction_range(node); end
|
||||
def message(node); end
|
||||
def openssl_class(node); end
|
||||
@ -4099,6 +4111,8 @@ end
|
||||
|
||||
RuboCop::Cop::Lint::DeprecatedOpenSSLConstant::MSG = T.let(T.unsafe(nil), String)
|
||||
|
||||
RuboCop::Cop::Lint::DeprecatedOpenSSLConstant::NO_ARG_ALGORITHM = T.let(T.unsafe(nil), Array)
|
||||
|
||||
class RuboCop::Cop::Lint::DisjunctiveAssignmentInConstructor < ::RuboCop::Cop::Base
|
||||
extend(::RuboCop::Cop::AutoCorrector)
|
||||
|
||||
@ -4208,9 +4222,9 @@ end
|
||||
|
||||
RuboCop::Cop::Lint::DuplicateRequire::MSG = T.let(T.unsafe(nil), String)
|
||||
|
||||
RuboCop::Cop::Lint::DuplicateRequire::REQUIRE_METHODS = T.let(T.unsafe(nil), Array)
|
||||
RuboCop::Cop::Lint::DuplicateRequire::REQUIRE_METHODS = T.let(T.unsafe(nil), Set)
|
||||
|
||||
RuboCop::Cop::Lint::DuplicateRequire::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
|
||||
RuboCop::Cop::Lint::DuplicateRequire::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Set)
|
||||
|
||||
class RuboCop::Cop::Lint::DuplicateRescueException < ::RuboCop::Cop::Base
|
||||
include(::RuboCop::Cop::RescueNode)
|
||||
@ -4687,6 +4701,8 @@ RuboCop::Cop::Lint::MultipleComparison::MSG = T.let(T.unsafe(nil), String)
|
||||
|
||||
RuboCop::Cop::Lint::MultipleComparison::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
|
||||
|
||||
RuboCop::Cop::Lint::MultipleComparison::SET_OPERATION_OPERATORS = T.let(T.unsafe(nil), Array)
|
||||
|
||||
class RuboCop::Cop::Lint::NestedMethodDefinition < ::RuboCop::Cop::Base
|
||||
def class_or_module_or_struct_new_call?(param0 = T.unsafe(nil)); end
|
||||
def eval_call?(param0 = T.unsafe(nil)); end
|
||||
@ -7765,8 +7781,10 @@ class RuboCop::Cop::Style::ConstantVisibility < ::RuboCop::Cop::Base
|
||||
private
|
||||
|
||||
def class_or_module_scope?(node); end
|
||||
def ignore_modules?; end
|
||||
def match_name?(name, constant_name); end
|
||||
def message(node); end
|
||||
def module?(node); end
|
||||
def visibility_declaration?(node); end
|
||||
end
|
||||
|
||||
@ -8148,6 +8166,8 @@ RuboCop::Cop::Style::EndlessMethod::MSG = T.let(T.unsafe(nil), String)
|
||||
RuboCop::Cop::Style::EndlessMethod::MSG_MULTI_LINE = T.let(T.unsafe(nil), String)
|
||||
|
||||
class RuboCop::Cop::Style::EvalWithLocation < ::RuboCop::Cop::Base
|
||||
extend(::RuboCop::Cop::AutoCorrector)
|
||||
|
||||
def line_with_offset?(param0 = T.unsafe(nil), param1, param2); end
|
||||
def on_send(node); end
|
||||
def valid_eval_receiver?(param0 = T.unsafe(nil)); end
|
||||
@ -8155,15 +8175,22 @@ class RuboCop::Cop::Style::EvalWithLocation < ::RuboCop::Cop::Base
|
||||
private
|
||||
|
||||
def add_offense_for_different_line(node, line_node, line_diff); end
|
||||
def add_offense_for_incorrect_line(method_name, line_node, sign, line_diff); end
|
||||
def add_offense_for_missing_line(node, code); end
|
||||
def add_offense_for_missing_location(node, code); end
|
||||
def add_offense_for_same_line(node, line_node); end
|
||||
def check_file(node, file_node); end
|
||||
def check_line(node, code); end
|
||||
def check_location(node, code); end
|
||||
def expected_line(sign, line_diff); end
|
||||
def file_and_line(node); end
|
||||
def message_incorrect_line(method_name, actual, sign, line_diff); end
|
||||
def register_offense(node); end
|
||||
def line_difference(line_node, code); end
|
||||
def missing_line(node, code); end
|
||||
def register_offense(node, &block); end
|
||||
def special_file_keyword?(node); end
|
||||
def special_line_keyword?(node); end
|
||||
def string_first_line(str_node); end
|
||||
def with_binding?(node); end
|
||||
def with_lineno?(node); end
|
||||
end
|
||||
|
||||
@ -8447,6 +8474,29 @@ class RuboCop::Cop::Style::HashAsLastArrayItem < ::RuboCop::Cop::Base
|
||||
def last_array_item?(array, node); end
|
||||
end
|
||||
|
||||
class RuboCop::Cop::Style::HashConversion < ::RuboCop::Cop::Base
|
||||
extend(::RuboCop::Cop::AutoCorrector)
|
||||
|
||||
def hash_from_array?(param0 = T.unsafe(nil)); end
|
||||
def on_send(node); end
|
||||
|
||||
private
|
||||
|
||||
def args_to_hash(args); end
|
||||
def multi_argument(node); end
|
||||
def single_argument(node); end
|
||||
end
|
||||
|
||||
RuboCop::Cop::Style::HashConversion::MSG_LITERAL_HASH_ARG = T.let(T.unsafe(nil), String)
|
||||
|
||||
RuboCop::Cop::Style::HashConversion::MSG_LITERAL_MULTI_ARG = T.let(T.unsafe(nil), String)
|
||||
|
||||
RuboCop::Cop::Style::HashConversion::MSG_SPLAT = T.let(T.unsafe(nil), String)
|
||||
|
||||
RuboCop::Cop::Style::HashConversion::MSG_TO_H = T.let(T.unsafe(nil), String)
|
||||
|
||||
RuboCop::Cop::Style::HashConversion::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
|
||||
|
||||
class RuboCop::Cop::Style::HashEachMethods < ::RuboCop::Cop::Base
|
||||
include(::RuboCop::Cop::Lint::UnusedArgument)
|
||||
extend(::RuboCop::Cop::AutoCorrector)
|
Loading…
x
Reference in New Issue
Block a user