Merge pull request #17174 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-1.63.4
This commit is contained in:
commit
4745329ebd
@ -37,7 +37,7 @@ GEM
|
|||||||
parser
|
parser
|
||||||
rainbow (~> 3.0)
|
rainbow (~> 3.0)
|
||||||
sorbet-runtime (>= 0.5)
|
sorbet-runtime (>= 0.5)
|
||||||
parser (3.3.0.5)
|
parser (3.3.1.0)
|
||||||
ast (~> 2.4.1)
|
ast (~> 2.4.1)
|
||||||
racc
|
racc
|
||||||
patchelf (1.5.1)
|
patchelf (1.5.1)
|
||||||
@ -76,7 +76,7 @@ GEM
|
|||||||
rspec-support (3.13.1)
|
rspec-support (3.13.1)
|
||||||
rspec_junit_formatter (0.6.0)
|
rspec_junit_formatter (0.6.0)
|
||||||
rspec-core (>= 2, < 4, != 2.12.0)
|
rspec-core (>= 2, < 4, != 2.12.0)
|
||||||
rubocop (1.63.3)
|
rubocop (1.63.4)
|
||||||
json (~> 2.3)
|
json (~> 2.3)
|
||||||
language_server-protocol (>= 3.17.0)
|
language_server-protocol (>= 3.17.0)
|
||||||
parallel (~> 1.10)
|
parallel (~> 1.10)
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -5092,7 +5092,7 @@ class RuboCop::Cop::Corrector < ::Parser::Source::TreeRewriter
|
|||||||
|
|
||||||
# Legacy
|
# Legacy
|
||||||
#
|
#
|
||||||
# source://parser/3.3.0.5/lib/parser/source/tree_rewriter.rb#252
|
# source://parser/3.3.1.0/lib/parser/source/tree_rewriter.rb#252
|
||||||
def rewrite; end
|
def rewrite; end
|
||||||
|
|
||||||
# Swaps sources at the given ranges.
|
# Swaps sources at the given ranges.
|
||||||
@ -41814,7 +41814,7 @@ class RuboCop::Cop::Style::MutableConstant < ::RuboCop::Cop::Base
|
|||||||
include ::RuboCop::Cop::ConfigurableEnforcedStyle
|
include ::RuboCop::Cop::ConfigurableEnforcedStyle
|
||||||
extend ::RuboCop::Cop::AutoCorrector
|
extend ::RuboCop::Cop::AutoCorrector
|
||||||
|
|
||||||
# source://rubocop-sorbet/0.8.1/lib/rubocop/cop/sorbet/mutable_constant_sorbet_aware_behaviour.rb#18
|
# source://rubocop-sorbet/0.8.2/lib/rubocop/cop/sorbet/mutable_constant_sorbet_aware_behaviour.rb#18
|
||||||
def on_assignment(value); end
|
def on_assignment(value); end
|
||||||
|
|
||||||
# source://rubocop//lib/rubocop/cop/style/mutable_constant.rb#127
|
# source://rubocop//lib/rubocop/cop/style/mutable_constant.rb#127
|
||||||
@ -41832,7 +41832,7 @@ class RuboCop::Cop::Style::MutableConstant < ::RuboCop::Cop::Base
|
|||||||
# source://rubocop//lib/rubocop/cop/style/mutable_constant.rb#217
|
# source://rubocop//lib/rubocop/cop/style/mutable_constant.rb#217
|
||||||
def splat_value(param0 = T.unsafe(nil)); end
|
def splat_value(param0 = T.unsafe(nil)); end
|
||||||
|
|
||||||
# source://rubocop-sorbet/0.8.1/lib/rubocop/cop/sorbet/mutable_constant_sorbet_aware_behaviour.rb#12
|
# source://rubocop-sorbet/0.8.2/lib/rubocop/cop/sorbet/mutable_constant_sorbet_aware_behaviour.rb#12
|
||||||
def t_let(param0 = T.unsafe(nil)); end
|
def t_let(param0 = T.unsafe(nil)); end
|
||||||
|
|
||||||
private
|
private
|
||||||
@ -45894,12 +45894,12 @@ class RuboCop::Cop::Style::RedundantLineContinuation < ::RuboCop::Cop::Base
|
|||||||
|
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/cop/style/redundant_line_continuation.rb#180
|
# source://rubocop//lib/rubocop/cop/style/redundant_line_continuation.rb#182
|
||||||
def argument_is_method?(node); end
|
def argument_is_method?(node); end
|
||||||
|
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/cop/style/redundant_line_continuation.rb#144
|
# source://rubocop//lib/rubocop/cop/style/redundant_line_continuation.rb#146
|
||||||
def argument_newline?(node); end
|
def argument_newline?(node); end
|
||||||
|
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
@ -45907,7 +45907,7 @@ class RuboCop::Cop::Style::RedundantLineContinuation < ::RuboCop::Cop::Base
|
|||||||
# source://rubocop//lib/rubocop/cop/style/redundant_line_continuation.rb#101
|
# source://rubocop//lib/rubocop/cop/style/redundant_line_continuation.rb#101
|
||||||
def ends_with_backslash_without_comment?(source_line); end
|
def ends_with_backslash_without_comment?(source_line); end
|
||||||
|
|
||||||
# source://rubocop//lib/rubocop/cop/style/redundant_line_continuation.rb#160
|
# source://rubocop//lib/rubocop/cop/style/redundant_line_continuation.rb#162
|
||||||
def find_node_for_line(line); end
|
def find_node_for_line(line); end
|
||||||
|
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
@ -45927,7 +45927,7 @@ class RuboCop::Cop::Style::RedundantLineContinuation < ::RuboCop::Cop::Base
|
|||||||
|
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/cop/style/redundant_line_continuation.rb#187
|
# source://rubocop//lib/rubocop/cop/style/redundant_line_continuation.rb#189
|
||||||
def method_call_with_arguments?(node); end
|
def method_call_with_arguments?(node); end
|
||||||
|
|
||||||
# A method call without parentheses such as the following cannot remove `\`:
|
# A method call without parentheses such as the following cannot remove `\`:
|
||||||
@ -45952,12 +45952,12 @@ class RuboCop::Cop::Style::RedundantLineContinuation < ::RuboCop::Cop::Base
|
|||||||
|
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/cop/style/redundant_line_continuation.rb#166
|
# source://rubocop//lib/rubocop/cop/style/redundant_line_continuation.rb#168
|
||||||
def same_line?(node, line); end
|
def same_line?(node, line); end
|
||||||
|
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/cop/style/redundant_line_continuation.rb#191
|
# source://rubocop//lib/rubocop/cop/style/redundant_line_continuation.rb#193
|
||||||
def start_with_arithmetic_operator?(source_line); end
|
def start_with_arithmetic_operator?(source_line); end
|
||||||
|
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
@ -55685,7 +55685,7 @@ class RuboCop::LSP::Routes
|
|||||||
|
|
||||||
# @api private
|
# @api private
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/lsp/routes.rb#170
|
# source://rubocop//lib/rubocop/lsp/routes.rb#168
|
||||||
def handle_method_missing(request); end
|
def handle_method_missing(request); end
|
||||||
|
|
||||||
# source://rubocop//lib/rubocop/lsp/routes.rb#67
|
# source://rubocop//lib/rubocop/lsp/routes.rb#67
|
||||||
@ -55693,39 +55693,39 @@ class RuboCop::LSP::Routes
|
|||||||
|
|
||||||
# @api private
|
# @api private
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/lsp/routes.rb#159
|
# source://rubocop//lib/rubocop/lsp/routes.rb#157
|
||||||
def handle_unsupported_method(request, method = T.unsafe(nil)); end
|
def handle_unsupported_method(request, method = T.unsafe(nil)); end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
# @api private
|
# @api private
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/lsp/routes.rb#208
|
# source://rubocop//lib/rubocop/lsp/routes.rb#206
|
||||||
def diagnostic(file_uri, text); end
|
def diagnostic(file_uri, text); end
|
||||||
|
|
||||||
# @api private
|
# @api private
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/lsp/routes.rb#178
|
# source://rubocop//lib/rubocop/lsp/routes.rb#176
|
||||||
def extract_initialization_options_from(request); end
|
def extract_initialization_options_from(request); end
|
||||||
|
|
||||||
# @api private
|
# @api private
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/lsp/routes.rb#188
|
# source://rubocop//lib/rubocop/lsp/routes.rb#186
|
||||||
def format_file(file_uri, command: T.unsafe(nil)); end
|
def format_file(file_uri, command: T.unsafe(nil)); end
|
||||||
|
|
||||||
# @api private
|
# @api private
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/lsp/routes.rb#222
|
# source://rubocop//lib/rubocop/lsp/routes.rb#220
|
||||||
def remove_file_protocol_from(uri); end
|
def remove_file_protocol_from(uri); end
|
||||||
|
|
||||||
# @api private
|
# @api private
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/lsp/routes.rb#226
|
# source://rubocop//lib/rubocop/lsp/routes.rb#224
|
||||||
def to_diagnostic(offense); end
|
def to_diagnostic(offense); end
|
||||||
|
|
||||||
# @api private
|
# @api private
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/lsp/routes.rb#238
|
# source://rubocop//lib/rubocop/lsp/routes.rb#236
|
||||||
def to_range(location); end
|
def to_range(location); end
|
||||||
|
|
||||||
class << self
|
class << self
|
||||||
@ -55872,13 +55872,13 @@ RuboCop::LSP::Severity::SEVERITIES = T.let(T.unsafe(nil), Hash)
|
|||||||
#
|
#
|
||||||
# @api private
|
# @api private
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/lockfile.rb#7
|
# source://rubocop//lib/rubocop/lockfile.rb#15
|
||||||
class RuboCop::Lockfile
|
class RuboCop::Lockfile
|
||||||
# @api private
|
# @api private
|
||||||
# @param lockfile_path [String, Pathname, nil]
|
# @param lockfile_path [String, Pathname, nil]
|
||||||
# @return [Lockfile] a new instance of Lockfile
|
# @return [Lockfile] a new instance of Lockfile
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/lockfile.rb#9
|
# source://rubocop//lib/rubocop/lockfile.rb#17
|
||||||
def initialize(lockfile_path = T.unsafe(nil)); end
|
def initialize(lockfile_path = T.unsafe(nil)); end
|
||||||
|
|
||||||
# Gems that the bundle directly depends on.
|
# Gems that the bundle directly depends on.
|
||||||
@ -55886,7 +55886,7 @@ class RuboCop::Lockfile
|
|||||||
# @api private
|
# @api private
|
||||||
# @return [Array<Bundler::Dependency>, nil]
|
# @return [Array<Bundler::Dependency>, nil]
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/lockfile.rb#17
|
# source://rubocop//lib/rubocop/lockfile.rb#29
|
||||||
def dependencies; end
|
def dependencies; end
|
||||||
|
|
||||||
# Returns the locked versions of gems from this lockfile.
|
# Returns the locked versions of gems from this lockfile.
|
||||||
@ -55895,7 +55895,7 @@ class RuboCop::Lockfile
|
|||||||
# @param include_transitive_dependencies: [Boolean] When false, only direct dependencies
|
# @param include_transitive_dependencies: [Boolean] When false, only direct dependencies
|
||||||
# are returned, i.e. those listed explicitly in the `Gemfile`.
|
# are returned, i.e. those listed explicitly in the `Gemfile`.
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/lockfile.rb#37
|
# source://rubocop//lib/rubocop/lockfile.rb#49
|
||||||
def gem_versions(include_transitive_dependencies: T.unsafe(nil)); end
|
def gem_versions(include_transitive_dependencies: T.unsafe(nil)); end
|
||||||
|
|
||||||
# All activated gems, including transitive dependencies.
|
# All activated gems, including transitive dependencies.
|
||||||
@ -55903,7 +55903,7 @@ class RuboCop::Lockfile
|
|||||||
# @api private
|
# @api private
|
||||||
# @return [Array<Bundler::Dependency>, nil]
|
# @return [Array<Bundler::Dependency>, nil]
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/lockfile.rb#25
|
# source://rubocop//lib/rubocop/lockfile.rb#37
|
||||||
def gems; end
|
def gems; end
|
||||||
|
|
||||||
# Whether this lockfile includes the named gem, directly or indirectly.
|
# Whether this lockfile includes the named gem, directly or indirectly.
|
||||||
@ -55912,7 +55912,7 @@ class RuboCop::Lockfile
|
|||||||
# @param name [String]
|
# @param name [String]
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/lockfile.rb#53
|
# source://rubocop//lib/rubocop/lockfile.rb#65
|
||||||
def includes_gem?(name); end
|
def includes_gem?(name); end
|
||||||
|
|
||||||
private
|
private
|
||||||
@ -55920,13 +55920,13 @@ class RuboCop::Lockfile
|
|||||||
# @api private
|
# @api private
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/lockfile.rb#73
|
# source://rubocop//lib/rubocop/lockfile.rb#85
|
||||||
def bundler_lock_parser_defined?; end
|
def bundler_lock_parser_defined?; end
|
||||||
|
|
||||||
# @api private
|
# @api private
|
||||||
# @return [Bundler::LockfileParser, nil]
|
# @return [Bundler::LockfileParser, nil]
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/lockfile.rb#60
|
# source://rubocop//lib/rubocop/lockfile.rb#72
|
||||||
def parser; end
|
def parser; end
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -57197,24 +57197,24 @@ RuboCop::ResultCache::NON_CHANGING = T.let(T.unsafe(nil), Array)
|
|||||||
class RuboCop::Runner
|
class RuboCop::Runner
|
||||||
# @return [Runner] a new instance of Runner
|
# @return [Runner] a new instance of Runner
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/runner.rb#62
|
# source://rubocop//lib/rubocop/runner.rb#63
|
||||||
def initialize(options, config_store); end
|
def initialize(options, config_store); end
|
||||||
|
|
||||||
# Sets the attribute aborting
|
# Sets the attribute aborting
|
||||||
#
|
#
|
||||||
# @param value the value to set the attribute aborting to.
|
# @param value the value to set the attribute aborting to.
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/runner.rb#60
|
# source://rubocop//lib/rubocop/runner.rb#61
|
||||||
def aborting=(_arg0); end
|
def aborting=(_arg0); end
|
||||||
|
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/runner.rb#86
|
# source://rubocop//lib/rubocop/runner.rb#87
|
||||||
def aborting?; end
|
def aborting?; end
|
||||||
|
|
||||||
# Returns the value of attribute errors.
|
# Returns the value of attribute errors.
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/runner.rb#59
|
# source://rubocop//lib/rubocop/runner.rb#60
|
||||||
def errors; end
|
def errors; end
|
||||||
|
|
||||||
# source://rubocop-md/1.2.2/lib/rubocop/markdown/rubocop_ext.rb#74
|
# source://rubocop-md/1.2.2/lib/rubocop/markdown/rubocop_ext.rb#74
|
||||||
@ -57229,113 +57229,113 @@ class RuboCop::Runner
|
|||||||
# source://rubocop-md/1.2.2/lib/rubocop/markdown/rubocop_ext.rb#62
|
# source://rubocop-md/1.2.2/lib/rubocop/markdown/rubocop_ext.rb#62
|
||||||
def inspect_file(*args); end
|
def inspect_file(*args); end
|
||||||
|
|
||||||
# source://rubocop//lib/rubocop/runner.rb#70
|
# source://rubocop//lib/rubocop/runner.rb#71
|
||||||
def run(paths); end
|
def run(paths); end
|
||||||
|
|
||||||
# Returns the value of attribute warnings.
|
# Returns the value of attribute warnings.
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/runner.rb#59
|
# source://rubocop//lib/rubocop/runner.rb#60
|
||||||
def warnings; end
|
def warnings; end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
# source://rubocop//lib/rubocop/runner.rb#199
|
# source://rubocop//lib/rubocop/runner.rb#200
|
||||||
def add_redundant_disables(file, offenses, source); end
|
def add_redundant_disables(file, offenses, source); end
|
||||||
|
|
||||||
# source://rubocop//lib/rubocop/runner.rb#173
|
# source://rubocop//lib/rubocop/runner.rb#174
|
||||||
def cached_result(file, team); end
|
def cached_result(file, team); end
|
||||||
|
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/runner.rb#253
|
# source://rubocop//lib/rubocop/runner.rb#254
|
||||||
def cached_run?; end
|
def cached_run?; end
|
||||||
|
|
||||||
# Check whether a run created source identical to a previous run, which
|
# Check whether a run created source identical to a previous run, which
|
||||||
# means that we definitely have an infinite loop.
|
# means that we definitely have an infinite loop.
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/runner.rb#331
|
# source://rubocop//lib/rubocop/runner.rb#332
|
||||||
def check_for_infinite_loop(processed_source, offenses_by_iteration); end
|
def check_for_infinite_loop(processed_source, offenses_by_iteration); end
|
||||||
|
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/runner.rb#225
|
# source://rubocop//lib/rubocop/runner.rb#226
|
||||||
def check_for_redundant_disables?(source); end
|
def check_for_redundant_disables?(source); end
|
||||||
|
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/runner.rb#426
|
# source://rubocop//lib/rubocop/runner.rb#427
|
||||||
def considered_failure?(offense); end
|
def considered_failure?(offense); end
|
||||||
|
|
||||||
# source://rubocop//lib/rubocop/runner.rb#459
|
# source://rubocop//lib/rubocop/runner.rb#460
|
||||||
def default_config(cop_name); end
|
def default_config(cop_name); end
|
||||||
|
|
||||||
# source://rubocop//lib/rubocop/runner.rb#275
|
# source://rubocop//lib/rubocop/runner.rb#276
|
||||||
def do_inspection_loop(file); end
|
def do_inspection_loop(file); end
|
||||||
|
|
||||||
# source://rubocop//lib/rubocop/runner.rb#136
|
# source://rubocop//lib/rubocop/runner.rb#137
|
||||||
def each_inspected_file(files); end
|
def each_inspected_file(files); end
|
||||||
|
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/runner.rb#239
|
# source://rubocop//lib/rubocop/runner.rb#240
|
||||||
def except_redundant_cop_disable_directive?; end
|
def except_redundant_cop_disable_directive?; end
|
||||||
|
|
||||||
# source://rubocop//lib/rubocop/runner.rb#360
|
# source://rubocop//lib/rubocop/runner.rb#361
|
||||||
def extract_ruby_sources(processed_source); end
|
def extract_ruby_sources(processed_source); end
|
||||||
|
|
||||||
# source://rubocop//lib/rubocop/runner.rb#165
|
# source://rubocop//lib/rubocop/runner.rb#166
|
||||||
def file_offenses(file); end
|
def file_offenses(file); end
|
||||||
|
|
||||||
# source://rubocop//lib/rubocop/runner.rb#243
|
# source://rubocop//lib/rubocop/runner.rb#244
|
||||||
def file_started(file); end
|
def file_started(file); end
|
||||||
|
|
||||||
# source://rubocop//lib/rubocop/runner.rb#406
|
# source://rubocop//lib/rubocop/runner.rb#407
|
||||||
def filter_cop_classes(cop_classes, config); end
|
def filter_cop_classes(cop_classes, config); end
|
||||||
|
|
||||||
# source://rubocop//lib/rubocop/runner.rb#107
|
# source://rubocop//lib/rubocop/runner.rb#108
|
||||||
def find_target_files(paths); end
|
def find_target_files(paths); end
|
||||||
|
|
||||||
# source://rubocop//lib/rubocop/runner.rb#417
|
# source://rubocop//lib/rubocop/runner.rb#418
|
||||||
def formatter_set; end
|
def formatter_set; end
|
||||||
|
|
||||||
# source://rubocop//lib/rubocop/runner.rb#118
|
# source://rubocop//lib/rubocop/runner.rb#119
|
||||||
def inspect_files(files); end
|
def inspect_files(files); end
|
||||||
|
|
||||||
# source://rubocop//lib/rubocop/runner.rb#306
|
# source://rubocop//lib/rubocop/runner.rb#307
|
||||||
def iterate_until_no_changes(source, offenses_by_iteration); end
|
def iterate_until_no_changes(source, offenses_by_iteration); end
|
||||||
|
|
||||||
# source://rubocop//lib/rubocop/runner.rb#151
|
# source://rubocop//lib/rubocop/runner.rb#152
|
||||||
def list_files(paths); end
|
def list_files(paths); end
|
||||||
|
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/runner.rb#455
|
# source://rubocop//lib/rubocop/runner.rb#456
|
||||||
def mark_as_safe_by_config?(config); end
|
def mark_as_safe_by_config?(config); end
|
||||||
|
|
||||||
# source://rubocop//lib/rubocop/runner.rb#463
|
# source://rubocop//lib/rubocop/runner.rb#464
|
||||||
def minimum_severity_to_fail; end
|
def minimum_severity_to_fail; end
|
||||||
|
|
||||||
# source://rubocop//lib/rubocop/runner.rb#367
|
# source://rubocop//lib/rubocop/runner.rb#368
|
||||||
def mobilize_team(processed_source); end
|
def mobilize_team(processed_source); end
|
||||||
|
|
||||||
# source://rubocop//lib/rubocop/runner.rb#372
|
# source://rubocop//lib/rubocop/runner.rb#373
|
||||||
def mobilized_cop_classes(config); end
|
def mobilized_cop_classes(config); end
|
||||||
|
|
||||||
# source://rubocop//lib/rubocop/runner.rb#435
|
# source://rubocop//lib/rubocop/runner.rb#436
|
||||||
def offenses_to_report(offenses); end
|
def offenses_to_report(offenses); end
|
||||||
|
|
||||||
# source://rubocop//lib/rubocop/runner.rb#155
|
# source://rubocop//lib/rubocop/runner.rb#156
|
||||||
def process_file(file); end
|
def process_file(file); end
|
||||||
|
|
||||||
# source://rubocop//lib/rubocop/runner.rb#396
|
# source://rubocop//lib/rubocop/runner.rb#397
|
||||||
def qualify_option_cop_names; end
|
def qualify_option_cop_names; end
|
||||||
|
|
||||||
# @yield [cop]
|
# @yield [cop]
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/runner.rb#231
|
# source://rubocop//lib/rubocop/runner.rb#232
|
||||||
def redundant_cop_disable_directive(file); end
|
def redundant_cop_disable_directive(file); end
|
||||||
|
|
||||||
# source://rubocop//lib/rubocop/runner.rb#265
|
# source://rubocop//lib/rubocop/runner.rb#266
|
||||||
def save_in_cache(cache, offenses); end
|
def save_in_cache(cache, offenses); end
|
||||||
|
|
||||||
# A Cop::Team instance is stateful and may change when inspecting.
|
# A Cop::Team instance is stateful and may change when inspecting.
|
||||||
@ -57343,41 +57343,41 @@ class RuboCop::Runner
|
|||||||
# otherwise dormant team that can be used for config- and option-
|
# otherwise dormant team that can be used for config- and option-
|
||||||
# level caching in ResultCache.
|
# level caching in ResultCache.
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/runner.rb#502
|
# source://rubocop//lib/rubocop/runner.rb#503
|
||||||
def standby_team(config); end
|
def standby_team(config); end
|
||||||
|
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/runner.rb#413
|
# source://rubocop//lib/rubocop/runner.rb#414
|
||||||
def style_guide_cops_only?(config); end
|
def style_guide_cops_only?(config); end
|
||||||
|
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/runner.rb#447
|
# source://rubocop//lib/rubocop/runner.rb#448
|
||||||
def supports_safe_autocorrect?(offense); end
|
def supports_safe_autocorrect?(offense); end
|
||||||
|
|
||||||
# @yield [team]
|
# @yield [team]
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/runner.rb#214
|
# source://rubocop//lib/rubocop/runner.rb#215
|
||||||
def team_for_redundant_disables(file, offenses, source); end
|
def team_for_redundant_disables(file, offenses, source); end
|
||||||
|
|
||||||
# Warms up the RuboCop cache by forking a suitable number of RuboCop
|
# Warms up the RuboCop cache by forking a suitable number of RuboCop
|
||||||
# instances that each inspects its allotted group of files.
|
# instances that each inspects its allotted group of files.
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/runner.rb#94
|
# source://rubocop//lib/rubocop/runner.rb#95
|
||||||
def warm_cache(target_files); end
|
def warm_cache(target_files); end
|
||||||
|
|
||||||
class << self
|
class << self
|
||||||
# @return [Array<#call>]
|
# @return [Array<#call>]
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/runner.rb#32
|
# source://rubocop//lib/rubocop/runner.rb#33
|
||||||
def ruby_extractors; end
|
def ruby_extractors; end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
# @return [#call]
|
# @return [#call]
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/runner.rb#39
|
# source://rubocop//lib/rubocop/runner.rb#40
|
||||||
def default_ruby_extractor; end
|
def default_ruby_extractor; end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -57400,12 +57400,12 @@ end
|
|||||||
|
|
||||||
# @api private
|
# @api private
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/runner.rb#52
|
# source://rubocop//lib/rubocop/runner.rb#53
|
||||||
RuboCop::Runner::MAX_ITERATIONS = T.let(T.unsafe(nil), Integer)
|
RuboCop::Runner::MAX_ITERATIONS = T.let(T.unsafe(nil), Integer)
|
||||||
|
|
||||||
# @api private
|
# @api private
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/runner.rb#55
|
# source://rubocop//lib/rubocop/runner.rb#56
|
||||||
RuboCop::Runner::REDUNDANT_COP_DISABLE_DIRECTIVE_RULES = T.let(T.unsafe(nil), Array)
|
RuboCop::Runner::REDUNDANT_COP_DISABLE_DIRECTIVE_RULES = T.let(T.unsafe(nil), Array)
|
||||||
|
|
||||||
# Take a string with embedded escapes, and convert the escapes as the Ruby
|
# Take a string with embedded escapes, and convert the escapes as the Ruby
|
@ -61,7 +61,7 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version
|
|||||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/parallel_tests-4.7.1/lib")
|
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/parallel_tests-4.7.1/lib")
|
||||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/racc-1.7.3")
|
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/racc-1.7.3")
|
||||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/racc-1.7.3/lib")
|
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/racc-1.7.3/lib")
|
||||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/parser-3.3.0.5/lib")
|
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/parser-3.3.1.0/lib")
|
||||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rainbow-3.1.1/lib")
|
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rainbow-3.1.1/lib")
|
||||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-runtime-0.5.11361/lib")
|
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-runtime-0.5.11361/lib")
|
||||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/parlour-8.1.0/lib")
|
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/parlour-8.1.0/lib")
|
||||||
@ -83,7 +83,7 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version
|
|||||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-ast-1.31.2/lib")
|
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-ast-1.31.2/lib")
|
||||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/ruby-progressbar-1.13.0/lib")
|
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/ruby-progressbar-1.13.0/lib")
|
||||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/unicode-display_width-2.5.0/lib")
|
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/unicode-display_width-2.5.0/lib")
|
||||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-1.63.3/lib")
|
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-1.63.4/lib")
|
||||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-capybara-2.20.0/lib")
|
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-capybara-2.20.0/lib")
|
||||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-factory_bot-2.25.1/lib")
|
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-factory_bot-2.25.1/lib")
|
||||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-md-1.2.2/lib")
|
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-md-1.2.2/lib")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user