Update RBI files for rubocop.
This commit is contained in:
parent
15458405ba
commit
a4761ab570
@ -67,6 +67,8 @@ RuboCop::CLI::Command::AutoGenerateConfig::PHASE_1_OVERRIDDEN = T.let(T.unsafe(n
|
|||||||
|
|
||||||
RuboCop::CLI::Command::AutoGenerateConfig::PHASE_2 = T.let(T.unsafe(nil), String)
|
RuboCop::CLI::Command::AutoGenerateConfig::PHASE_2 = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
|
RuboCop::CLI::Command::AutoGenerateConfig::YAML_OPTIONAL_DOC_START = T.let(T.unsafe(nil), Regexp)
|
||||||
|
|
||||||
class RuboCop::CLI::Command::Base
|
class RuboCop::CLI::Command::Base
|
||||||
def initialize(env); end
|
def initialize(env); end
|
||||||
|
|
||||||
@ -285,7 +287,7 @@ class RuboCop::Config
|
|||||||
def target_rails_version_from_bundler_lock_file; end
|
def target_rails_version_from_bundler_lock_file; end
|
||||||
|
|
||||||
class << self
|
class << self
|
||||||
def create(hash, path); end
|
def create(hash, path, check: T.unsafe(nil)); end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -314,7 +316,7 @@ class RuboCop::ConfigLoader
|
|||||||
def add_missing_namespaces(path, hash); end
|
def add_missing_namespaces(path, hash); end
|
||||||
def clear_options; end
|
def clear_options; end
|
||||||
def configuration_file_for(target_dir); end
|
def configuration_file_for(target_dir); end
|
||||||
def configuration_from_file(config_file); end
|
def configuration_from_file(config_file, check: T.unsafe(nil)); end
|
||||||
def debug; end
|
def debug; end
|
||||||
def debug=(_arg0); end
|
def debug=(_arg0); end
|
||||||
def debug?; end
|
def debug?; end
|
||||||
@ -327,7 +329,7 @@ class RuboCop::ConfigLoader
|
|||||||
def ignore_parent_exclusion; end
|
def ignore_parent_exclusion; end
|
||||||
def ignore_parent_exclusion=(_arg0); end
|
def ignore_parent_exclusion=(_arg0); end
|
||||||
def ignore_parent_exclusion?; end
|
def ignore_parent_exclusion?; end
|
||||||
def load_file(file); end
|
def load_file(file, check: T.unsafe(nil)); end
|
||||||
def load_yaml_configuration(absolute_path); end
|
def load_yaml_configuration(absolute_path); end
|
||||||
def loaded_features; end
|
def loaded_features; end
|
||||||
def merge(base_hash, derived_hash); end
|
def merge(base_hash, derived_hash); end
|
||||||
@ -551,6 +553,9 @@ class RuboCop::ConfigStore
|
|||||||
def for_pwd; end
|
def for_pwd; end
|
||||||
def force_default_config!; end
|
def force_default_config!; end
|
||||||
def options_config=(options_config); end
|
def options_config=(options_config); end
|
||||||
|
def unvalidated; end
|
||||||
|
def validated; end
|
||||||
|
def validated?; end
|
||||||
end
|
end
|
||||||
|
|
||||||
class RuboCop::ConfigValidator
|
class RuboCop::ConfigValidator
|
||||||
@ -4769,10 +4774,14 @@ class RuboCop::Cop::Lint::NumberConversion < ::RuboCop::Cop::Base
|
|||||||
|
|
||||||
def on_send(node); end
|
def on_send(node); end
|
||||||
def to_method(param0 = T.unsafe(nil)); end
|
def to_method(param0 = T.unsafe(nil)); end
|
||||||
|
def to_method_symbol(param0 = T.unsafe(nil)); end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
def correct_method(node, receiver); end
|
def correct_method(node, receiver); end
|
||||||
|
def correct_sym_method(to_method); end
|
||||||
|
def handle_as_symbol(node); end
|
||||||
|
def handle_conversion_method(node); end
|
||||||
def ignore_receiver?(receiver); end
|
def ignore_receiver?(receiver); end
|
||||||
def ignored_class?(name); end
|
def ignored_class?(name); end
|
||||||
def ignored_classes; end
|
def ignored_classes; end
|
||||||
@ -4781,9 +4790,27 @@ end
|
|||||||
|
|
||||||
RuboCop::Cop::Lint::NumberConversion::CONVERSION_METHOD_CLASS_MAPPING = T.let(T.unsafe(nil), Hash)
|
RuboCop::Cop::Lint::NumberConversion::CONVERSION_METHOD_CLASS_MAPPING = T.let(T.unsafe(nil), Hash)
|
||||||
|
|
||||||
|
RuboCop::Cop::Lint::NumberConversion::METHODS = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
RuboCop::Cop::Lint::NumberConversion::MSG = T.let(T.unsafe(nil), String)
|
RuboCop::Cop::Lint::NumberConversion::MSG = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
RuboCop::Cop::Lint::NumberConversion::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
|
class RuboCop::Cop::Lint::NumberedParameterAssignment < ::RuboCop::Cop::Base
|
||||||
|
def on_lvasgn(node); end
|
||||||
|
end
|
||||||
|
|
||||||
|
RuboCop::Cop::Lint::NumberedParameterAssignment::LVAR_MSG = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
|
RuboCop::Cop::Lint::NumberedParameterAssignment::NUMBERED_PARAMETER_RANGE = T.let(T.unsafe(nil), Range)
|
||||||
|
|
||||||
|
RuboCop::Cop::Lint::NumberedParameterAssignment::NUM_PARAM_MSG = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
|
class RuboCop::Cop::Lint::OrAssignmentToConstant < ::RuboCop::Cop::Base
|
||||||
|
extend(::RuboCop::Cop::AutoCorrector)
|
||||||
|
|
||||||
|
def on_or_asgn(node); end
|
||||||
|
end
|
||||||
|
|
||||||
|
RuboCop::Cop::Lint::OrAssignmentToConstant::MSG = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
class RuboCop::Cop::Lint::OrderedMagicComments < ::RuboCop::Cop::Base
|
class RuboCop::Cop::Lint::OrderedMagicComments < ::RuboCop::Cop::Base
|
||||||
include(::RuboCop::Cop::FrozenStringLiteral)
|
include(::RuboCop::Cop::FrozenStringLiteral)
|
||||||
@ -5329,6 +5356,26 @@ end
|
|||||||
|
|
||||||
RuboCop::Cop::Lint::SuppressedException::MSG = T.let(T.unsafe(nil), String)
|
RuboCop::Cop::Lint::SuppressedException::MSG = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
|
class RuboCop::Cop::Lint::SymbolConversion < ::RuboCop::Cop::Base
|
||||||
|
extend(::RuboCop::Cop::AutoCorrector)
|
||||||
|
|
||||||
|
def on_send(node); end
|
||||||
|
def on_sym(node); end
|
||||||
|
|
||||||
|
private
|
||||||
|
|
||||||
|
def correct_hash_key(node); end
|
||||||
|
def hash_key?(node); end
|
||||||
|
def in_alias?(node); end
|
||||||
|
def in_percent_literal_array?(node); end
|
||||||
|
def properly_quoted?(source, value); end
|
||||||
|
def register_offense(node, correction:, message: T.unsafe(nil)); end
|
||||||
|
end
|
||||||
|
|
||||||
|
RuboCop::Cop::Lint::SymbolConversion::MSG = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
|
RuboCop::Cop::Lint::SymbolConversion::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
|
||||||
|
|
||||||
class RuboCop::Cop::Lint::Syntax < ::RuboCop::Cop::Base
|
class RuboCop::Cop::Lint::Syntax < ::RuboCop::Cop::Base
|
||||||
def on_other_file; end
|
def on_other_file; end
|
||||||
|
|
||||||
@ -5386,6 +5433,18 @@ end
|
|||||||
|
|
||||||
RuboCop::Cop::Lint::TrailingCommaInAttributeDeclaration::MSG = T.let(T.unsafe(nil), String)
|
RuboCop::Cop::Lint::TrailingCommaInAttributeDeclaration::MSG = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
|
class RuboCop::Cop::Lint::TripleQuotes < ::RuboCop::Cop::Base
|
||||||
|
extend(::RuboCop::Cop::AutoCorrector)
|
||||||
|
|
||||||
|
def on_dstr(node); end
|
||||||
|
|
||||||
|
private
|
||||||
|
|
||||||
|
def empty_str_nodes(node); end
|
||||||
|
end
|
||||||
|
|
||||||
|
RuboCop::Cop::Lint::TripleQuotes::MSG = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
class RuboCop::Cop::Lint::UnderscorePrefixedVariableName < ::RuboCop::Cop::Base
|
class RuboCop::Cop::Lint::UnderscorePrefixedVariableName < ::RuboCop::Cop::Base
|
||||||
def after_leaving_scope(scope, _variable_table); end
|
def after_leaving_scope(scope, _variable_table); end
|
||||||
def check_variable(variable); end
|
def check_variable(variable); end
|
||||||
@ -6402,10 +6461,13 @@ class RuboCop::Cop::Naming::RescuedExceptionsVariableName < ::RuboCop::Cop::Base
|
|||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
|
def correct_node(corrector, node, offending_name, preferred_name); end
|
||||||
|
def correct_reassignment(corrector, node, offending_name, preferred_name); end
|
||||||
def message(node); end
|
def message(node); end
|
||||||
def offense_range(resbody); end
|
def offense_range(resbody); end
|
||||||
def preferred_name(variable_name); end
|
def preferred_name(variable_name); end
|
||||||
def variable_name(node); end
|
def variable_name(node); end
|
||||||
|
def variable_name_matches?(node, name); end
|
||||||
end
|
end
|
||||||
|
|
||||||
RuboCop::Cop::Naming::RescuedExceptionsVariableName::MSG = T.let(T.unsafe(nil), String)
|
RuboCop::Cop::Naming::RescuedExceptionsVariableName::MSG = T.let(T.unsafe(nil), String)
|
||||||
@ -7779,11 +7841,16 @@ class RuboCop::Cop::Style::DisableCopsWithinSourceCodeDirective < ::RuboCop::Cop
|
|||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
def rubocop_directive_comment?(comment); end
|
def allowed_cops; end
|
||||||
|
def any_cops_allowed?; end
|
||||||
|
def directive_cops(comment); end
|
||||||
|
def register_offense(comment, directive_cops, disallowed_cops); end
|
||||||
end
|
end
|
||||||
|
|
||||||
RuboCop::Cop::Style::DisableCopsWithinSourceCodeDirective::MSG = T.let(T.unsafe(nil), String)
|
RuboCop::Cop::Style::DisableCopsWithinSourceCodeDirective::MSG = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
|
RuboCop::Cop::Style::DisableCopsWithinSourceCodeDirective::MSG_FOR_COPS = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
class RuboCop::Cop::Style::DocumentDynamicEvalDefinition < ::RuboCop::Cop::Base
|
class RuboCop::Cop::Style::DocumentDynamicEvalDefinition < ::RuboCop::Cop::Base
|
||||||
def on_send(node); end
|
def on_send(node); end
|
||||||
|
|
||||||
@ -8079,16 +8146,19 @@ RuboCop::Cop::Style::EndlessMethod::MSG = T.let(T.unsafe(nil), String)
|
|||||||
RuboCop::Cop::Style::EndlessMethod::MSG_MULTI_LINE = 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
|
class RuboCop::Cop::Style::EvalWithLocation < ::RuboCop::Cop::Base
|
||||||
def eval_without_location?(param0 = T.unsafe(nil)); end
|
|
||||||
def line_with_offset?(param0 = T.unsafe(nil), param1, param2); end
|
def line_with_offset?(param0 = T.unsafe(nil), param1, param2); end
|
||||||
def on_send(node); end
|
def on_send(node); end
|
||||||
|
def valid_eval_receiver?(param0 = T.unsafe(nil)); end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
def add_offense_for_different_line(_node, line_node, line_diff); end
|
def add_offense_for_different_line(node, line_node, line_diff); end
|
||||||
def add_offense_for_same_line(_node, line_node); end
|
def add_offense_for_same_line(node, line_node); end
|
||||||
def message_incorrect_line(actual, sign, line_diff); end
|
def check_file(node, file_node); end
|
||||||
def on_with_lineno(node, code); end
|
def check_line(node, code); end
|
||||||
|
def file_and_line(node); end
|
||||||
|
def message_incorrect_line(method_name, actual, sign, line_diff); end
|
||||||
|
def register_offense(node); end
|
||||||
def special_file_keyword?(node); end
|
def special_file_keyword?(node); end
|
||||||
def special_line_keyword?(node); end
|
def special_line_keyword?(node); end
|
||||||
def string_first_line(str_node); end
|
def string_first_line(str_node); end
|
||||||
@ -8097,6 +8167,10 @@ end
|
|||||||
|
|
||||||
RuboCop::Cop::Style::EvalWithLocation::MSG = T.let(T.unsafe(nil), String)
|
RuboCop::Cop::Style::EvalWithLocation::MSG = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
|
RuboCop::Cop::Style::EvalWithLocation::MSG_EVAL = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
|
RuboCop::Cop::Style::EvalWithLocation::MSG_INCORRECT_FILE = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
RuboCop::Cop::Style::EvalWithLocation::MSG_INCORRECT_LINE = T.let(T.unsafe(nil), String)
|
RuboCop::Cop::Style::EvalWithLocation::MSG_INCORRECT_LINE = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
RuboCop::Cop::Style::EvalWithLocation::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
|
RuboCop::Cop::Style::EvalWithLocation::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
|
||||||
@ -8247,6 +8321,8 @@ RuboCop::Cop::Style::FormatString::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array
|
|||||||
|
|
||||||
class RuboCop::Cop::Style::FormatStringToken < ::RuboCop::Cop::Base
|
class RuboCop::Cop::Style::FormatStringToken < ::RuboCop::Cop::Base
|
||||||
include(::RuboCop::Cop::ConfigurableEnforcedStyle)
|
include(::RuboCop::Cop::ConfigurableEnforcedStyle)
|
||||||
|
include(::RuboCop::Cop::IgnoredMethods)
|
||||||
|
extend(::RuboCop::Cop::IgnoredMethods::Config)
|
||||||
|
|
||||||
def format_string_in_typical_context?(param0 = T.unsafe(nil)); end
|
def format_string_in_typical_context?(param0 = T.unsafe(nil)); end
|
||||||
def on_str(node); end
|
def on_str(node); end
|
||||||
@ -8255,6 +8331,7 @@ class RuboCop::Cop::Style::FormatStringToken < ::RuboCop::Cop::Base
|
|||||||
|
|
||||||
def allowed_unannotated?(detections); end
|
def allowed_unannotated?(detections); end
|
||||||
def collect_detections(node); end
|
def collect_detections(node); end
|
||||||
|
def format_string_token?(node); end
|
||||||
def max_unannotated_placeholders_allowed; end
|
def max_unannotated_placeholders_allowed; end
|
||||||
def message(detected_style); end
|
def message(detected_style); end
|
||||||
def message_text(style); end
|
def message_text(style); end
|
||||||
@ -8262,6 +8339,7 @@ class RuboCop::Cop::Style::FormatStringToken < ::RuboCop::Cop::Base
|
|||||||
def token_ranges(contents); end
|
def token_ranges(contents); end
|
||||||
def tokens(str_node, &block); end
|
def tokens(str_node, &block); end
|
||||||
def unannotated_format?(node, detected_style); end
|
def unannotated_format?(node, detected_style); end
|
||||||
|
def use_ignored_method?(node); end
|
||||||
end
|
end
|
||||||
|
|
||||||
class RuboCop::Cop::Style::FrozenStringLiteralComment < ::RuboCop::Cop::Base
|
class RuboCop::Cop::Style::FrozenStringLiteralComment < ::RuboCop::Cop::Base
|
||||||
@ -8527,6 +8605,7 @@ class RuboCop::Cop::Style::IfInsideElse < ::RuboCop::Cop::Base
|
|||||||
def correct_to_elsif_from_if_inside_else_form(corrector, node, condition); end
|
def correct_to_elsif_from_if_inside_else_form(corrector, node, condition); end
|
||||||
def correct_to_elsif_from_modifier_form(corrector, node); end
|
def correct_to_elsif_from_modifier_form(corrector, node); end
|
||||||
def find_end_range(node); end
|
def find_end_range(node); end
|
||||||
|
def if_condition_range(node, condition); end
|
||||||
end
|
end
|
||||||
|
|
||||||
RuboCop::Cop::Style::IfInsideElse::MSG = T.let(T.unsafe(nil), String)
|
RuboCop::Cop::Style::IfInsideElse::MSG = T.let(T.unsafe(nil), String)
|
||||||
@ -8574,6 +8653,24 @@ end
|
|||||||
|
|
||||||
RuboCop::Cop::Style::IfUnlessModifierOfIfUnless::MSG = T.let(T.unsafe(nil), String)
|
RuboCop::Cop::Style::IfUnlessModifierOfIfUnless::MSG = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
|
class RuboCop::Cop::Style::IfWithBooleanLiteralBranches < ::RuboCop::Cop::Base
|
||||||
|
extend(::RuboCop::Cop::AutoCorrector)
|
||||||
|
|
||||||
|
def double_negative?(param0 = T.unsafe(nil)); end
|
||||||
|
def if_with_boolean_literal_branches?(param0 = T.unsafe(nil)); end
|
||||||
|
def on_if(node); end
|
||||||
|
|
||||||
|
private
|
||||||
|
|
||||||
|
def assume_boolean_value?(condition); end
|
||||||
|
def opposite_condition?(node); end
|
||||||
|
def replacement_condition(node, condition); end
|
||||||
|
def require_parentheses?(condition); end
|
||||||
|
def return_boolean_value?(condition); end
|
||||||
|
end
|
||||||
|
|
||||||
|
RuboCop::Cop::Style::IfWithBooleanLiteralBranches::MSG = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
class RuboCop::Cop::Style::IfWithSemicolon < ::RuboCop::Cop::Base
|
class RuboCop::Cop::Style::IfWithSemicolon < ::RuboCop::Cop::Base
|
||||||
include(::RuboCop::Cop::OnNormalIfUnless)
|
include(::RuboCop::Cop::OnNormalIfUnless)
|
||||||
extend(::RuboCop::Cop::AutoCorrector)
|
extend(::RuboCop::Cop::AutoCorrector)
|
||||||
@ -9383,12 +9480,17 @@ class RuboCop::Cop::Style::NonNilCheck < ::RuboCop::Cop::Base
|
|||||||
def autocorrect_comparison(corrector, node); end
|
def autocorrect_comparison(corrector, node); end
|
||||||
def autocorrect_non_nil(corrector, node, inner_node); end
|
def autocorrect_non_nil(corrector, node, inner_node); end
|
||||||
def autocorrect_unless_nil(corrector, node, receiver); end
|
def autocorrect_unless_nil(corrector, node, receiver); end
|
||||||
def find_offense_node(node); end
|
|
||||||
def include_semantic_changes?; end
|
def include_semantic_changes?; end
|
||||||
def message(node); end
|
def message(node); end
|
||||||
|
def nil_comparison_style; end
|
||||||
|
def register_offense?(node); end
|
||||||
def unless_and_nil_check?(send_node); end
|
def unless_and_nil_check?(send_node); end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
RuboCop::Cop::Style::NonNilCheck::MSG_FOR_REDUNDANCY = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
|
RuboCop::Cop::Style::NonNilCheck::MSG_FOR_REPLACEMENT = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
RuboCop::Cop::Style::NonNilCheck::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
|
RuboCop::Cop::Style::NonNilCheck::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
|
||||||
|
|
||||||
class RuboCop::Cop::Style::Not < ::RuboCop::Cop::Base
|
class RuboCop::Cop::Style::Not < ::RuboCop::Cop::Base
|
||||||
@ -10579,12 +10681,15 @@ class RuboCop::Cop::Style::SoleNestedConditional < ::RuboCop::Cop::Base
|
|||||||
private
|
private
|
||||||
|
|
||||||
def allow_modifier?; end
|
def allow_modifier?; end
|
||||||
|
def arguments_range(node); end
|
||||||
def autocorrect(corrector, node, if_branch); end
|
def autocorrect(corrector, node, if_branch); end
|
||||||
def correct_for_basic_condition_style(corrector, node, if_branch, and_operator); end
|
def correct_for_basic_condition_style(corrector, node, if_branch, and_operator); end
|
||||||
def correct_for_comment(corrector, node, if_branch); end
|
def correct_for_comment(corrector, node, if_branch); end
|
||||||
def correct_for_guard_condition_style(corrector, node, if_branch, and_operator); end
|
def correct_for_guard_condition_style(corrector, node, if_branch, and_operator); end
|
||||||
|
def correct_outer_condition(corrector, condition); end
|
||||||
def offending_branch?(branch); end
|
def offending_branch?(branch); end
|
||||||
def replacement_condition(and_operator, condition); end
|
def replacement_condition(and_operator, condition); end
|
||||||
|
def requrie_parentheses?(condition); end
|
||||||
def wrap_condition?(node); end
|
def wrap_condition?(node); end
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -12312,7 +12417,10 @@ class RuboCop::MagicComment
|
|||||||
def frozen_string_literal; end
|
def frozen_string_literal; end
|
||||||
def frozen_string_literal?; end
|
def frozen_string_literal?; end
|
||||||
def frozen_string_literal_specified?; end
|
def frozen_string_literal_specified?; end
|
||||||
|
def shareable_constant_value; end
|
||||||
|
def shareable_constant_value_specified?; end
|
||||||
def valid_literal_value?; end
|
def valid_literal_value?; end
|
||||||
|
def valid_shareable_constant_value?; end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
@ -12338,6 +12446,7 @@ class RuboCop::MagicComment::EmacsComment < ::RuboCop::MagicComment::EditorComme
|
|||||||
private
|
private
|
||||||
|
|
||||||
def extract_frozen_string_literal; end
|
def extract_frozen_string_literal; end
|
||||||
|
def extract_shareable_constant_value; end
|
||||||
end
|
end
|
||||||
|
|
||||||
RuboCop::MagicComment::EmacsComment::FORMAT = T.let(T.unsafe(nil), Regexp)
|
RuboCop::MagicComment::EmacsComment::FORMAT = T.let(T.unsafe(nil), Regexp)
|
||||||
@ -12352,6 +12461,7 @@ class RuboCop::MagicComment::SimpleComment < ::RuboCop::MagicComment
|
|||||||
private
|
private
|
||||||
|
|
||||||
def extract_frozen_string_literal; end
|
def extract_frozen_string_literal; end
|
||||||
|
def extract_shareable_constant_value; end
|
||||||
end
|
end
|
||||||
|
|
||||||
RuboCop::MagicComment::TOKEN = T.let(T.unsafe(nil), Regexp)
|
RuboCop::MagicComment::TOKEN = T.let(T.unsafe(nil), Regexp)
|
||||||
@ -12359,6 +12469,7 @@ RuboCop::MagicComment::TOKEN = T.let(T.unsafe(nil), Regexp)
|
|||||||
class RuboCop::MagicComment::VimComment < ::RuboCop::MagicComment::EditorComment
|
class RuboCop::MagicComment::VimComment < ::RuboCop::MagicComment::EditorComment
|
||||||
def encoding; end
|
def encoding; end
|
||||||
def frozen_string_literal; end
|
def frozen_string_literal; end
|
||||||
|
def shareable_constant_value; end
|
||||||
end
|
end
|
||||||
|
|
||||||
RuboCop::MagicComment::VimComment::FORMAT = T.let(T.unsafe(nil), Regexp)
|
RuboCop::MagicComment::VimComment::FORMAT = T.let(T.unsafe(nil), Regexp)
|
@ -26819,7 +26819,7 @@ module RuboCop::RSpec::ExpectOffense
|
|||||||
|
|
||||||
def expect_no_offenses(source, file=T.unsafe(nil)); end
|
def expect_no_offenses(source, file=T.unsafe(nil)); end
|
||||||
|
|
||||||
def expect_offense(source, file=T.unsafe(nil), severity: T.unsafe(nil), **replacements); end
|
def expect_offense(source, file=T.unsafe(nil), severity: T.unsafe(nil), chomp: T.unsafe(nil), **replacements); end
|
||||||
|
|
||||||
def format_offense(source, **replacements); end
|
def format_offense(source, **replacements); end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user