Update RBI files for rubocop-rails.
This commit is contained in:
parent
c25fb4eb35
commit
19b23dfd11
@ -1256,6 +1256,7 @@ class RuboCop::Cop::Rails::ReadWriteAttribute < ::RuboCop::Cop::Base
|
|||||||
|
|
||||||
def message(node); end
|
def message(node); end
|
||||||
def read_attribute_replacement(node); end
|
def read_attribute_replacement(node); end
|
||||||
|
def within_shadowing_method?(node); end
|
||||||
def write_attribute_replacement(node); end
|
def write_attribute_replacement(node); end
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -1313,8 +1314,15 @@ class RuboCop::Cop::Rails::RedundantPresenceValidationOnBelongsTo < ::RuboCop::C
|
|||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
|
def add_offense_and_correct(node, all_keys, keys, options, presence); end
|
||||||
def belongs_to_for(model_class_node, key); end
|
def belongs_to_for(model_class_node, key); end
|
||||||
def remove_presence_validation(corrector, node, options, presence); end
|
def extract_validation_for_keys(corrector, node, keys, options); end
|
||||||
|
def message_for(keys); end
|
||||||
|
def non_optional_belongs_to(node, keys); end
|
||||||
|
def remove_keys_from_validation(corrector, node, keys); end
|
||||||
|
def remove_presence_option(corrector, presence); end
|
||||||
|
def remove_validation(corrector, node); end
|
||||||
|
def validation_range(node); end
|
||||||
end
|
end
|
||||||
|
|
||||||
RuboCop::Cop::Rails::RedundantPresenceValidationOnBelongsTo::MSG = T.let(T.unsafe(nil), String)
|
RuboCop::Cop::Rails::RedundantPresenceValidationOnBelongsTo::MSG = T.let(T.unsafe(nil), String)
|
||||||
@ -5132,7 +5132,7 @@ end
|
|||||||
module RuboCop::AST::NodePattern::Sets
|
module RuboCop::AST::NodePattern::Sets
|
||||||
SET_BLANK_EMPTY = ::T.let(nil, ::T.untyped)
|
SET_BLANK_EMPTY = ::T.let(nil, ::T.untyped)
|
||||||
SET_BUILD_RECOMMENDED_TEST_OPTIONAL = ::T.let(nil, ::T.untyped)
|
SET_BUILD_RECOMMENDED_TEST_OPTIONAL = ::T.let(nil, ::T.untyped)
|
||||||
SET_CHANGE_COLUMN_EXECUTE_REMOVE_BELONGS_TO_REMOVE_REFERENCE = ::T.let(nil, ::T.untyped)
|
SET_CHANGE_COLUMN_EXECUTE = ::T.let(nil, ::T.untyped)
|
||||||
SET_DEPENDS_ON_USES_FROM_MACOS = ::T.let(nil, ::T.untyped)
|
SET_DEPENDS_ON_USES_FROM_MACOS = ::T.let(nil, ::T.untyped)
|
||||||
SET_INCLUDE_WITH_WITHOUT = ::T.let(nil, ::T.untyped)
|
SET_INCLUDE_WITH_WITHOUT = ::T.let(nil, ::T.untyped)
|
||||||
SET_ROOT_PUBLIC_PATH = ::T.let(nil, ::T.untyped)
|
SET_ROOT_PUBLIC_PATH = ::T.let(nil, ::T.untyped)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user