rubocop 0.75.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.txt +20 -0
- data/README.md +217 -0
- data/assets/logo.png +0 -0
- data/assets/output.html.erb +261 -0
- data/bin/console +10 -0
- data/bin/setup +7 -0
- data/config/default.yml +3939 -0
- data/exe/rubocop +17 -0
- data/lib/rubocop.rb +608 -0
- data/lib/rubocop/ast/builder.rb +81 -0
- data/lib/rubocop/ast/node.rb +640 -0
- data/lib/rubocop/ast/node/alias_node.rb +24 -0
- data/lib/rubocop/ast/node/and_node.rb +29 -0
- data/lib/rubocop/ast/node/args_node.rb +29 -0
- data/lib/rubocop/ast/node/array_node.rb +57 -0
- data/lib/rubocop/ast/node/block_node.rb +115 -0
- data/lib/rubocop/ast/node/break_node.rb +17 -0
- data/lib/rubocop/ast/node/case_node.rb +56 -0
- data/lib/rubocop/ast/node/class_node.rb +31 -0
- data/lib/rubocop/ast/node/def_node.rb +71 -0
- data/lib/rubocop/ast/node/defined_node.rb +17 -0
- data/lib/rubocop/ast/node/ensure_node.rb +17 -0
- data/lib/rubocop/ast/node/float_node.rb +12 -0
- data/lib/rubocop/ast/node/for_node.rb +53 -0
- data/lib/rubocop/ast/node/hash_node.rb +109 -0
- data/lib/rubocop/ast/node/if_node.rb +175 -0
- data/lib/rubocop/ast/node/int_node.rb +12 -0
- data/lib/rubocop/ast/node/keyword_splat_node.rb +45 -0
- data/lib/rubocop/ast/node/mixin/basic_literal_node.rb +16 -0
- data/lib/rubocop/ast/node/mixin/binary_operator_node.rb +43 -0
- data/lib/rubocop/ast/node/mixin/collection_node.rb +15 -0
- data/lib/rubocop/ast/node/mixin/conditional_node.rb +45 -0
- data/lib/rubocop/ast/node/mixin/hash_element_node.rb +125 -0
- data/lib/rubocop/ast/node/mixin/method_dispatch_node.rb +261 -0
- data/lib/rubocop/ast/node/mixin/method_identifier_predicates.rb +114 -0
- data/lib/rubocop/ast/node/mixin/modifier_node.rb +17 -0
- data/lib/rubocop/ast/node/mixin/numeric_node.rb +21 -0
- data/lib/rubocop/ast/node/mixin/parameterized_node.rb +61 -0
- data/lib/rubocop/ast/node/mixin/predicate_operator_node.rb +35 -0
- data/lib/rubocop/ast/node/module_node.rb +24 -0
- data/lib/rubocop/ast/node/or_node.rb +29 -0
- data/lib/rubocop/ast/node/pair_node.rb +63 -0
- data/lib/rubocop/ast/node/range_node.rb +18 -0
- data/lib/rubocop/ast/node/regexp_node.rb +35 -0
- data/lib/rubocop/ast/node/resbody_node.rb +24 -0
- data/lib/rubocop/ast/node/retry_node.rb +17 -0
- data/lib/rubocop/ast/node/self_class_node.rb +24 -0
- data/lib/rubocop/ast/node/send_node.rb +13 -0
- data/lib/rubocop/ast/node/str_node.rb +16 -0
- data/lib/rubocop/ast/node/super_node.rb +21 -0
- data/lib/rubocop/ast/node/symbol_node.rb +12 -0
- data/lib/rubocop/ast/node/until_node.rb +35 -0
- data/lib/rubocop/ast/node/when_node.rb +53 -0
- data/lib/rubocop/ast/node/while_node.rb +35 -0
- data/lib/rubocop/ast/node/yield_node.rb +21 -0
- data/lib/rubocop/ast/sexp.rb +16 -0
- data/lib/rubocop/ast/traversal.rb +183 -0
- data/lib/rubocop/cached_data.rb +58 -0
- data/lib/rubocop/cli.rb +343 -0
- data/lib/rubocop/comment_config.rb +201 -0
- data/lib/rubocop/config.rb +244 -0
- data/lib/rubocop/config_loader.rb +273 -0
- data/lib/rubocop/config_loader_resolver.rb +194 -0
- data/lib/rubocop/config_obsoletion.rb +213 -0
- data/lib/rubocop/config_store.rb +48 -0
- data/lib/rubocop/config_validator.rb +239 -0
- data/lib/rubocop/cop/autocorrect_logic.rb +103 -0
- data/lib/rubocop/cop/badge.rb +73 -0
- data/lib/rubocop/cop/bundler/duplicated_gem.rb +73 -0
- data/lib/rubocop/cop/bundler/gem_comment.rb +64 -0
- data/lib/rubocop/cop/bundler/insecure_protocol_source.rb +69 -0
- data/lib/rubocop/cop/bundler/ordered_gems.rb +73 -0
- data/lib/rubocop/cop/commissioner.rb +137 -0
- data/lib/rubocop/cop/cop.rb +271 -0
- data/lib/rubocop/cop/corrector.rb +171 -0
- data/lib/rubocop/cop/correctors/alignment_corrector.rb +146 -0
- data/lib/rubocop/cop/correctors/condition_corrector.rb +28 -0
- data/lib/rubocop/cop/correctors/each_to_for_corrector.rb +53 -0
- data/lib/rubocop/cop/correctors/empty_line_corrector.rb +26 -0
- data/lib/rubocop/cop/correctors/for_to_each_corrector.rb +73 -0
- data/lib/rubocop/cop/correctors/lambda_literal_to_method_corrector.rb +136 -0
- data/lib/rubocop/cop/correctors/line_break_corrector.rb +61 -0
- data/lib/rubocop/cop/correctors/multiline_literal_brace_corrector.rb +68 -0
- data/lib/rubocop/cop/correctors/ordered_gem_corrector.rb +44 -0
- data/lib/rubocop/cop/correctors/parentheses_corrector.rb +31 -0
- data/lib/rubocop/cop/correctors/percent_literal_corrector.rb +117 -0
- data/lib/rubocop/cop/correctors/punctuation_corrector.rb +29 -0
- data/lib/rubocop/cop/correctors/space_corrector.rb +49 -0
- data/lib/rubocop/cop/correctors/string_literal_corrector.rb +25 -0
- data/lib/rubocop/cop/correctors/unused_arg_corrector.rb +43 -0
- data/lib/rubocop/cop/force.rb +42 -0
- data/lib/rubocop/cop/gemspec/duplicated_assignment.rb +104 -0
- data/lib/rubocop/cop/gemspec/ordered_dependencies.rb +106 -0
- data/lib/rubocop/cop/gemspec/required_ruby_version.rb +85 -0
- data/lib/rubocop/cop/gemspec/ruby_version_globals_usage.rb +55 -0
- data/lib/rubocop/cop/generator.rb +223 -0
- data/lib/rubocop/cop/generator/configuration_injector.rb +66 -0
- data/lib/rubocop/cop/generator/require_file_injector.rb +78 -0
- data/lib/rubocop/cop/ignored_node.rb +38 -0
- data/lib/rubocop/cop/internal_affairs.rb +8 -0
- data/lib/rubocop/cop/internal_affairs/node_destructuring.rb +44 -0
- data/lib/rubocop/cop/internal_affairs/node_type_predicate.rb +44 -0
- data/lib/rubocop/cop/internal_affairs/offense_location_keyword.rb +54 -0
- data/lib/rubocop/cop/internal_affairs/redundant_location_argument.rb +48 -0
- data/lib/rubocop/cop/internal_affairs/redundant_message_argument.rb +73 -0
- data/lib/rubocop/cop/internal_affairs/useless_message_assertion.rb +52 -0
- data/lib/rubocop/cop/layout/access_modifier_indentation.rb +98 -0
- data/lib/rubocop/cop/layout/align_arguments.rb +93 -0
- data/lib/rubocop/cop/layout/align_array.rb +39 -0
- data/lib/rubocop/cop/layout/align_hash.rb +358 -0
- data/lib/rubocop/cop/layout/align_parameters.rb +118 -0
- data/lib/rubocop/cop/layout/block_alignment.rb +244 -0
- data/lib/rubocop/cop/layout/block_end_newline.rb +62 -0
- data/lib/rubocop/cop/layout/case_indentation.rb +161 -0
- data/lib/rubocop/cop/layout/class_structure.rb +340 -0
- data/lib/rubocop/cop/layout/closing_heredoc_indentation.rb +126 -0
- data/lib/rubocop/cop/layout/closing_parenthesis_indentation.rb +203 -0
- data/lib/rubocop/cop/layout/comment_indentation.rb +144 -0
- data/lib/rubocop/cop/layout/condition_position.rb +56 -0
- data/lib/rubocop/cop/layout/def_end_alignment.rb +74 -0
- data/lib/rubocop/cop/layout/dot_position.rb +105 -0
- data/lib/rubocop/cop/layout/else_alignment.rb +134 -0
- data/lib/rubocop/cop/layout/empty_comment.rb +160 -0
- data/lib/rubocop/cop/layout/empty_line_after_guard_clause.rb +157 -0
- data/lib/rubocop/cop/layout/empty_line_after_magic_comment.rb +64 -0
- data/lib/rubocop/cop/layout/empty_line_between_defs.rb +151 -0
- data/lib/rubocop/cop/layout/empty_lines.rb +76 -0
- data/lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb +215 -0
- data/lib/rubocop/cop/layout/empty_lines_around_arguments.rb +99 -0
- data/lib/rubocop/cop/layout/empty_lines_around_begin_body.rb +45 -0
- data/lib/rubocop/cop/layout/empty_lines_around_block_body.rb +41 -0
- data/lib/rubocop/cop/layout/empty_lines_around_class_body.rb +88 -0
- data/lib/rubocop/cop/layout/empty_lines_around_exception_handling_keywords.rb +136 -0
- data/lib/rubocop/cop/layout/empty_lines_around_method_body.rb +45 -0
- data/lib/rubocop/cop/layout/empty_lines_around_module_body.rb +62 -0
- data/lib/rubocop/cop/layout/end_alignment.rb +189 -0
- data/lib/rubocop/cop/layout/end_of_line.rb +87 -0
- data/lib/rubocop/cop/layout/extra_spacing.rb +201 -0
- data/lib/rubocop/cop/layout/first_array_element_line_break.rb +45 -0
- data/lib/rubocop/cop/layout/first_hash_element_line_break.rb +37 -0
- data/lib/rubocop/cop/layout/first_method_argument_line_break.rb +55 -0
- data/lib/rubocop/cop/layout/first_method_parameter_line_break.rb +46 -0
- data/lib/rubocop/cop/layout/heredoc_argument_closing_parenthesis.rb +289 -0
- data/lib/rubocop/cop/layout/indent_assignment.rb +55 -0
- data/lib/rubocop/cop/layout/indent_first_argument.rb +247 -0
- data/lib/rubocop/cop/layout/indent_first_array_element.rb +167 -0
- data/lib/rubocop/cop/layout/indent_first_hash_element.rb +184 -0
- data/lib/rubocop/cop/layout/indent_first_parameter.rb +100 -0
- data/lib/rubocop/cop/layout/indent_heredoc.rb +256 -0
- data/lib/rubocop/cop/layout/indentation_consistency.rb +202 -0
- data/lib/rubocop/cop/layout/indentation_width.rb +364 -0
- data/lib/rubocop/cop/layout/initial_indentation.rb +59 -0
- data/lib/rubocop/cop/layout/leading_blank_lines.rb +53 -0
- data/lib/rubocop/cop/layout/leading_comment_space.rb +88 -0
- data/lib/rubocop/cop/layout/multiline_array_brace_layout.rb +118 -0
- data/lib/rubocop/cop/layout/multiline_array_line_breaks.rb +39 -0
- data/lib/rubocop/cop/layout/multiline_assignment_layout.rb +95 -0
- data/lib/rubocop/cop/layout/multiline_block_layout.rb +146 -0
- data/lib/rubocop/cop/layout/multiline_hash_brace_layout.rb +122 -0
- data/lib/rubocop/cop/layout/multiline_hash_key_line_breaks.rb +50 -0
- data/lib/rubocop/cop/layout/multiline_method_argument_line_breaks.rb +54 -0
- data/lib/rubocop/cop/layout/multiline_method_call_brace_layout.rb +134 -0
- data/lib/rubocop/cop/layout/multiline_method_call_indentation.rb +220 -0
- data/lib/rubocop/cop/layout/multiline_method_definition_brace_layout.rb +131 -0
- data/lib/rubocop/cop/layout/multiline_operation_indentation.rb +114 -0
- data/lib/rubocop/cop/layout/rescue_ensure_alignment.rb +189 -0
- data/lib/rubocop/cop/layout/space_after_colon.rb +47 -0
- data/lib/rubocop/cop/layout/space_after_comma.rb +35 -0
- data/lib/rubocop/cop/layout/space_after_method_name.rb +42 -0
- data/lib/rubocop/cop/layout/space_after_not.rb +40 -0
- data/lib/rubocop/cop/layout/space_after_semicolon.rb +32 -0
- data/lib/rubocop/cop/layout/space_around_block_parameters.rb +169 -0
- data/lib/rubocop/cop/layout/space_around_equals_in_parameter_default.rb +92 -0
- data/lib/rubocop/cop/layout/space_around_keyword.rb +232 -0
- data/lib/rubocop/cop/layout/space_around_operators.rb +182 -0
- data/lib/rubocop/cop/layout/space_before_block_braces.rb +119 -0
- data/lib/rubocop/cop/layout/space_before_comma.rb +31 -0
- data/lib/rubocop/cop/layout/space_before_comment.rb +35 -0
- data/lib/rubocop/cop/layout/space_before_first_arg.rb +67 -0
- data/lib/rubocop/cop/layout/space_before_semicolon.rb +27 -0
- data/lib/rubocop/cop/layout/space_in_lambda_literal.rb +80 -0
- data/lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb +228 -0
- data/lib/rubocop/cop/layout/space_inside_array_percent_literal.rb +53 -0
- data/lib/rubocop/cop/layout/space_inside_block_braces.rb +248 -0
- data/lib/rubocop/cop/layout/space_inside_hash_literal_braces.rb +207 -0
- data/lib/rubocop/cop/layout/space_inside_parens.rb +113 -0
- data/lib/rubocop/cop/layout/space_inside_percent_literal_delimiters.rb +65 -0
- data/lib/rubocop/cop/layout/space_inside_range_literal.rb +63 -0
- data/lib/rubocop/cop/layout/space_inside_reference_brackets.rb +150 -0
- data/lib/rubocop/cop/layout/space_inside_string_interpolation.rb +65 -0
- data/lib/rubocop/cop/layout/tab.rb +75 -0
- data/lib/rubocop/cop/layout/trailing_blank_lines.rb +113 -0
- data/lib/rubocop/cop/layout/trailing_whitespace.rb +61 -0
- data/lib/rubocop/cop/lint/ambiguous_block_association.rb +62 -0
- data/lib/rubocop/cop/lint/ambiguous_operator.rb +55 -0
- data/lib/rubocop/cop/lint/ambiguous_regexp_literal.rb +43 -0
- data/lib/rubocop/cop/lint/assignment_in_condition.rb +97 -0
- data/lib/rubocop/cop/lint/big_decimal_new.rb +44 -0
- data/lib/rubocop/cop/lint/boolean_symbol.rb +38 -0
- data/lib/rubocop/cop/lint/circular_argument_reference.rb +72 -0
- data/lib/rubocop/cop/lint/debugger.rb +77 -0
- data/lib/rubocop/cop/lint/deprecated_class_methods.rb +111 -0
- data/lib/rubocop/cop/lint/disjunctive_assignment_in_constructor.rb +81 -0
- data/lib/rubocop/cop/lint/duplicate_case_condition.rb +53 -0
- data/lib/rubocop/cop/lint/duplicate_methods.rb +239 -0
- data/lib/rubocop/cop/lint/duplicated_key.rb +38 -0
- data/lib/rubocop/cop/lint/each_with_object_argument.rb +42 -0
- data/lib/rubocop/cop/lint/else_layout.rb +66 -0
- data/lib/rubocop/cop/lint/empty_ensure.rb +60 -0
- data/lib/rubocop/cop/lint/empty_expression.rb +42 -0
- data/lib/rubocop/cop/lint/empty_interpolation.rb +36 -0
- data/lib/rubocop/cop/lint/empty_when.rb +38 -0
- data/lib/rubocop/cop/lint/end_in_method.rb +40 -0
- data/lib/rubocop/cop/lint/ensure_return.rb +46 -0
- data/lib/rubocop/cop/lint/erb_new_arguments.rb +163 -0
- data/lib/rubocop/cop/lint/flip_flop.rb +32 -0
- data/lib/rubocop/cop/lint/float_out_of_range.rb +35 -0
- data/lib/rubocop/cop/lint/format_parameter_mismatch.rb +159 -0
- data/lib/rubocop/cop/lint/handle_exceptions.rb +95 -0
- data/lib/rubocop/cop/lint/heredoc_method_call_position.rb +156 -0
- data/lib/rubocop/cop/lint/implicit_string_concatenation.rb +101 -0
- data/lib/rubocop/cop/lint/ineffective_access_modifier.rb +127 -0
- data/lib/rubocop/cop/lint/inherit_exception.rb +100 -0
- data/lib/rubocop/cop/lint/interpolation_check.rb +40 -0
- data/lib/rubocop/cop/lint/literal_as_condition.rb +138 -0
- data/lib/rubocop/cop/lint/literal_in_interpolation.rb +98 -0
- data/lib/rubocop/cop/lint/loop.rb +63 -0
- data/lib/rubocop/cop/lint/missing_cop_enable_directive.rb +84 -0
- data/lib/rubocop/cop/lint/multiple_compare.rb +48 -0
- data/lib/rubocop/cop/lint/nested_method_definition.rb +104 -0
- data/lib/rubocop/cop/lint/nested_percent_literal.rb +51 -0
- data/lib/rubocop/cop/lint/next_without_accumulator.rb +50 -0
- data/lib/rubocop/cop/lint/non_local_exit_from_iterator.rb +83 -0
- data/lib/rubocop/cop/lint/number_conversion.rb +81 -0
- data/lib/rubocop/cop/lint/ordered_magic_comments.rb +86 -0
- data/lib/rubocop/cop/lint/parentheses_as_grouped_expression.rb +64 -0
- data/lib/rubocop/cop/lint/percent_string_array.rb +73 -0
- data/lib/rubocop/cop/lint/percent_symbol_array.rb +69 -0
- data/lib/rubocop/cop/lint/rand_one.rb +45 -0
- data/lib/rubocop/cop/lint/redundant_with_index.rb +82 -0
- data/lib/rubocop/cop/lint/redundant_with_object.rb +83 -0
- data/lib/rubocop/cop/lint/regexp_as_condition.rb +29 -0
- data/lib/rubocop/cop/lint/require_parentheses.rb +66 -0
- data/lib/rubocop/cop/lint/rescue_exception.rb +46 -0
- data/lib/rubocop/cop/lint/rescue_type.rb +94 -0
- data/lib/rubocop/cop/lint/return_in_void_context.rb +74 -0
- data/lib/rubocop/cop/lint/safe_navigation_chain.rb +66 -0
- data/lib/rubocop/cop/lint/safe_navigation_consistency.rb +94 -0
- data/lib/rubocop/cop/lint/safe_navigation_with_empty.rb +38 -0
- data/lib/rubocop/cop/lint/script_permission.rb +70 -0
- data/lib/rubocop/cop/lint/send_with_mixin_argument.rb +91 -0
- data/lib/rubocop/cop/lint/shadowed_argument.rb +182 -0
- data/lib/rubocop/cop/lint/shadowed_exception.rb +178 -0
- data/lib/rubocop/cop/lint/shadowing_outer_local_variable.rb +53 -0
- data/lib/rubocop/cop/lint/string_conversion_in_interpolation.rb +59 -0
- data/lib/rubocop/cop/lint/syntax.rb +59 -0
- data/lib/rubocop/cop/lint/to_json.rb +41 -0
- data/lib/rubocop/cop/lint/underscore_prefixed_variable_name.rb +82 -0
- data/lib/rubocop/cop/lint/unified_integer.rb +45 -0
- data/lib/rubocop/cop/lint/unneeded_cop_disable_directive.rb +263 -0
- data/lib/rubocop/cop/lint/unneeded_cop_enable_directive.rb +116 -0
- data/lib/rubocop/cop/lint/unneeded_require_statement.rb +50 -0
- data/lib/rubocop/cop/lint/unneeded_splat_expansion.rb +172 -0
- data/lib/rubocop/cop/lint/unreachable_code.rb +99 -0
- data/lib/rubocop/cop/lint/unused_block_argument.rb +165 -0
- data/lib/rubocop/cop/lint/unused_method_argument.rb +86 -0
- data/lib/rubocop/cop/lint/uri_escape_unescape.rb +76 -0
- data/lib/rubocop/cop/lint/uri_regexp.rb +73 -0
- data/lib/rubocop/cop/lint/useless_access_modifier.rb +240 -0
- data/lib/rubocop/cop/lint/useless_assignment.rb +129 -0
- data/lib/rubocop/cop/lint/useless_comparison.rb +28 -0
- data/lib/rubocop/cop/lint/useless_else_without_rescue.rb +49 -0
- data/lib/rubocop/cop/lint/useless_setter_call.rb +164 -0
- data/lib/rubocop/cop/lint/void.rb +151 -0
- data/lib/rubocop/cop/message_annotator.rb +129 -0
- data/lib/rubocop/cop/metrics/abc_size.rb +24 -0
- data/lib/rubocop/cop/metrics/block_length.rb +50 -0
- data/lib/rubocop/cop/metrics/block_nesting.rb +65 -0
- data/lib/rubocop/cop/metrics/class_length.rb +36 -0
- data/lib/rubocop/cop/metrics/cyclomatic_complexity.rb +32 -0
- data/lib/rubocop/cop/metrics/line_length.rb +321 -0
- data/lib/rubocop/cop/metrics/method_length.rb +36 -0
- data/lib/rubocop/cop/metrics/module_length.rb +36 -0
- data/lib/rubocop/cop/metrics/parameter_lists.rb +54 -0
- data/lib/rubocop/cop/metrics/perceived_complexity.rb +61 -0
- data/lib/rubocop/cop/metrics/utils/abc_size_calculator.rb +67 -0
- data/lib/rubocop/cop/migration/department_name.rb +44 -0
- data/lib/rubocop/cop/mixin/alignment.rb +74 -0
- data/lib/rubocop/cop/mixin/annotation_comment.rb +37 -0
- data/lib/rubocop/cop/mixin/array_min_size.rb +59 -0
- data/lib/rubocop/cop/mixin/array_syntax.rb +17 -0
- data/lib/rubocop/cop/mixin/check_assignment.rb +44 -0
- data/lib/rubocop/cop/mixin/check_line_breakable.rb +190 -0
- data/lib/rubocop/cop/mixin/classish_length.rb +37 -0
- data/lib/rubocop/cop/mixin/code_length.rb +38 -0
- data/lib/rubocop/cop/mixin/configurable_enforced_style.rb +98 -0
- data/lib/rubocop/cop/mixin/configurable_formatting.rb +47 -0
- data/lib/rubocop/cop/mixin/configurable_max.rb +23 -0
- data/lib/rubocop/cop/mixin/configurable_naming.rb +16 -0
- data/lib/rubocop/cop/mixin/configurable_numbering.rb +17 -0
- data/lib/rubocop/cop/mixin/def_node.rb +33 -0
- data/lib/rubocop/cop/mixin/documentation_comment.rb +52 -0
- data/lib/rubocop/cop/mixin/duplication.rb +46 -0
- data/lib/rubocop/cop/mixin/empty_lines_around_body.rb +172 -0
- data/lib/rubocop/cop/mixin/empty_parameter.rb +24 -0
- data/lib/rubocop/cop/mixin/end_keyword_alignment.rb +67 -0
- data/lib/rubocop/cop/mixin/enforce_superclass.rb +30 -0
- data/lib/rubocop/cop/mixin/first_element_line_break.rb +46 -0
- data/lib/rubocop/cop/mixin/frozen_string_literal.rb +53 -0
- data/lib/rubocop/cop/mixin/hash_alignment.rb +147 -0
- data/lib/rubocop/cop/mixin/heredoc.rb +32 -0
- data/lib/rubocop/cop/mixin/ignored_methods.rb +19 -0
- data/lib/rubocop/cop/mixin/ignored_pattern.rb +29 -0
- data/lib/rubocop/cop/mixin/integer_node.rb +14 -0
- data/lib/rubocop/cop/mixin/interpolation.rb +27 -0
- data/lib/rubocop/cop/mixin/match_range.rb +26 -0
- data/lib/rubocop/cop/mixin/method_complexity.rb +56 -0
- data/lib/rubocop/cop/mixin/method_preference.rb +31 -0
- data/lib/rubocop/cop/mixin/min_body_length.rb +21 -0
- data/lib/rubocop/cop/mixin/multiline_element_indentation.rb +86 -0
- data/lib/rubocop/cop/mixin/multiline_element_line_breaks.rb +33 -0
- data/lib/rubocop/cop/mixin/multiline_expression_indentation.rb +255 -0
- data/lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb +141 -0
- data/lib/rubocop/cop/mixin/negative_conditional.rb +32 -0
- data/lib/rubocop/cop/mixin/nil_methods.rb +25 -0
- data/lib/rubocop/cop/mixin/on_normal_if_unless.rb +14 -0
- data/lib/rubocop/cop/mixin/ordered_gem_node.rb +56 -0
- data/lib/rubocop/cop/mixin/parentheses.rb +17 -0
- data/lib/rubocop/cop/mixin/parser_diagnostic.rb +37 -0
- data/lib/rubocop/cop/mixin/percent_array.rb +52 -0
- data/lib/rubocop/cop/mixin/percent_literal.rb +38 -0
- data/lib/rubocop/cop/mixin/preceding_following_alignment.rb +181 -0
- data/lib/rubocop/cop/mixin/preferred_delimiters.rb +53 -0
- data/lib/rubocop/cop/mixin/range_help.rb +117 -0
- data/lib/rubocop/cop/mixin/rescue_node.rb +22 -0
- data/lib/rubocop/cop/mixin/safe_assignment.rb +23 -0
- data/lib/rubocop/cop/mixin/safe_mode.rb +24 -0
- data/lib/rubocop/cop/mixin/space_after_punctuation.rb +55 -0
- data/lib/rubocop/cop/mixin/space_before_punctuation.rb +49 -0
- data/lib/rubocop/cop/mixin/statement_modifier.rb +68 -0
- data/lib/rubocop/cop/mixin/string_help.rb +35 -0
- data/lib/rubocop/cop/mixin/string_literals_help.rb +23 -0
- data/lib/rubocop/cop/mixin/surrounding_space.rb +146 -0
- data/lib/rubocop/cop/mixin/target_ruby_version.rb +16 -0
- data/lib/rubocop/cop/mixin/too_many_lines.rb +35 -0
- data/lib/rubocop/cop/mixin/trailing_body.rb +26 -0
- data/lib/rubocop/cop/mixin/trailing_comma.rb +216 -0
- data/lib/rubocop/cop/mixin/uncommunicative_name.rb +111 -0
- data/lib/rubocop/cop/mixin/unused_argument.rb +33 -0
- data/lib/rubocop/cop/naming/accessor_method_name.rb +55 -0
- data/lib/rubocop/cop/naming/ascii_identifiers.rb +72 -0
- data/lib/rubocop/cop/naming/binary_operator_parameter_name.rb +43 -0
- data/lib/rubocop/cop/naming/class_and_module_camel_case.rb +33 -0
- data/lib/rubocop/cop/naming/constant_name.rb +81 -0
- data/lib/rubocop/cop/naming/file_name.rb +205 -0
- data/lib/rubocop/cop/naming/heredoc_delimiter_case.rb +62 -0
- data/lib/rubocop/cop/naming/heredoc_delimiter_naming.rb +55 -0
- data/lib/rubocop/cop/naming/memoized_instance_variable_name.rb +171 -0
- data/lib/rubocop/cop/naming/method_name.rb +53 -0
- data/lib/rubocop/cop/naming/predicate_name.rb +108 -0
- data/lib/rubocop/cop/naming/rescued_exceptions_variable_name.rb +112 -0
- data/lib/rubocop/cop/naming/uncommunicative_block_param_name.rb +49 -0
- data/lib/rubocop/cop/naming/uncommunicative_method_param_name.rb +58 -0
- data/lib/rubocop/cop/naming/variable_name.rb +52 -0
- data/lib/rubocop/cop/naming/variable_number.rb +61 -0
- data/lib/rubocop/cop/offense.rb +205 -0
- data/lib/rubocop/cop/registry.rb +211 -0
- data/lib/rubocop/cop/security/eval.rb +31 -0
- data/lib/rubocop/cop/security/json_load.rb +46 -0
- data/lib/rubocop/cop/security/marshal_load.rb +39 -0
- data/lib/rubocop/cop/security/open.rb +71 -0
- data/lib/rubocop/cop/security/yaml_load.rb +37 -0
- data/lib/rubocop/cop/severity.rb +77 -0
- data/lib/rubocop/cop/style/access_modifier_declarations.rb +112 -0
- data/lib/rubocop/cop/style/alias.rb +147 -0
- data/lib/rubocop/cop/style/and_or.rb +146 -0
- data/lib/rubocop/cop/style/array_join.rb +39 -0
- data/lib/rubocop/cop/style/ascii_comments.rb +61 -0
- data/lib/rubocop/cop/style/attr.rb +62 -0
- data/lib/rubocop/cop/style/auto_resource_cleanup.rb +51 -0
- data/lib/rubocop/cop/style/bare_percent_literals.rb +78 -0
- data/lib/rubocop/cop/style/begin_block.rb +22 -0
- data/lib/rubocop/cop/style/block_comments.rb +70 -0
- data/lib/rubocop/cop/style/block_delimiters.rb +331 -0
- data/lib/rubocop/cop/style/braces_around_hash_parameters.rb +209 -0
- data/lib/rubocop/cop/style/case_equality.rb +30 -0
- data/lib/rubocop/cop/style/character_literal.rb +53 -0
- data/lib/rubocop/cop/style/class_and_module_children.rb +151 -0
- data/lib/rubocop/cop/style/class_check.rb +59 -0
- data/lib/rubocop/cop/style/class_methods.rb +60 -0
- data/lib/rubocop/cop/style/class_vars.rb +48 -0
- data/lib/rubocop/cop/style/collection_methods.rb +77 -0
- data/lib/rubocop/cop/style/colon_method_call.rb +48 -0
- data/lib/rubocop/cop/style/colon_method_definition.rb +37 -0
- data/lib/rubocop/cop/style/command_literal.rb +187 -0
- data/lib/rubocop/cop/style/comment_annotation.rb +97 -0
- data/lib/rubocop/cop/style/commented_keyword.rb +73 -0
- data/lib/rubocop/cop/style/conditional_assignment.rb +668 -0
- data/lib/rubocop/cop/style/constant_visibility.rb +77 -0
- data/lib/rubocop/cop/style/copyright.rb +95 -0
- data/lib/rubocop/cop/style/date_time.rb +77 -0
- data/lib/rubocop/cop/style/def_with_parentheses.rb +57 -0
- data/lib/rubocop/cop/style/dir.rb +48 -0
- data/lib/rubocop/cop/style/documentation.rb +97 -0
- data/lib/rubocop/cop/style/documentation_method.rb +125 -0
- data/lib/rubocop/cop/style/double_cop_disable_directive.rb +55 -0
- data/lib/rubocop/cop/style/double_negation.rb +35 -0
- data/lib/rubocop/cop/style/each_for_simple_loop.rb +58 -0
- data/lib/rubocop/cop/style/each_with_object.rb +110 -0
- data/lib/rubocop/cop/style/empty_block_parameter.rb +48 -0
- data/lib/rubocop/cop/style/empty_case_condition.rb +107 -0
- data/lib/rubocop/cop/style/empty_else.rb +175 -0
- data/lib/rubocop/cop/style/empty_lambda_parameter.rb +45 -0
- data/lib/rubocop/cop/style/empty_literal.rb +123 -0
- data/lib/rubocop/cop/style/empty_method.rb +115 -0
- data/lib/rubocop/cop/style/encoding.rb +56 -0
- data/lib/rubocop/cop/style/end_block.rb +25 -0
- data/lib/rubocop/cop/style/eval_with_location.rb +148 -0
- data/lib/rubocop/cop/style/even_odd.rb +58 -0
- data/lib/rubocop/cop/style/expand_path_arguments.rb +194 -0
- data/lib/rubocop/cop/style/float_division.rb +94 -0
- data/lib/rubocop/cop/style/for.rb +88 -0
- data/lib/rubocop/cop/style/format_string.rb +124 -0
- data/lib/rubocop/cop/style/format_string_token.rb +119 -0
- data/lib/rubocop/cop/style/frozen_string_literal_comment.rb +149 -0
- data/lib/rubocop/cop/style/global_vars.rb +80 -0
- data/lib/rubocop/cop/style/guard_clause.rb +121 -0
- data/lib/rubocop/cop/style/hash_syntax.rb +214 -0
- data/lib/rubocop/cop/style/identical_conditional_branches.rb +130 -0
- data/lib/rubocop/cop/style/if_inside_else.rb +87 -0
- data/lib/rubocop/cop/style/if_unless_modifier.rb +127 -0
- data/lib/rubocop/cop/style/if_unless_modifier_of_if_unless.rb +39 -0
- data/lib/rubocop/cop/style/if_with_semicolon.rb +30 -0
- data/lib/rubocop/cop/style/implicit_runtime_error.rb +32 -0
- data/lib/rubocop/cop/style/infinite_loop.rb +127 -0
- data/lib/rubocop/cop/style/inline_comment.rb +34 -0
- data/lib/rubocop/cop/style/inverse_methods.rb +187 -0
- data/lib/rubocop/cop/style/ip_addresses.rb +76 -0
- data/lib/rubocop/cop/style/lambda.rb +131 -0
- data/lib/rubocop/cop/style/lambda_call.rb +93 -0
- data/lib/rubocop/cop/style/line_end_concatenation.rb +121 -0
- data/lib/rubocop/cop/style/method_call_with_args_parentheses.rb +388 -0
- data/lib/rubocop/cop/style/method_call_without_args_parentheses.rb +77 -0
- data/lib/rubocop/cop/style/method_called_on_do_end_block.rb +46 -0
- data/lib/rubocop/cop/style/method_def_parentheses.rb +158 -0
- data/lib/rubocop/cop/style/method_missing_super.rb +34 -0
- data/lib/rubocop/cop/style/min_max.rb +68 -0
- data/lib/rubocop/cop/style/missing_else.rb +180 -0
- data/lib/rubocop/cop/style/missing_respond_to_missing.rb +46 -0
- data/lib/rubocop/cop/style/mixin_grouping.rb +148 -0
- data/lib/rubocop/cop/style/mixin_usage.rb +90 -0
- data/lib/rubocop/cop/style/module_function.rb +104 -0
- data/lib/rubocop/cop/style/multiline_block_chain.rb +40 -0
- data/lib/rubocop/cop/style/multiline_if_modifier.rb +67 -0
- data/lib/rubocop/cop/style/multiline_if_then.rb +50 -0
- data/lib/rubocop/cop/style/multiline_memoization.rb +94 -0
- data/lib/rubocop/cop/style/multiline_method_signature.rb +61 -0
- data/lib/rubocop/cop/style/multiline_ternary_operator.rb +38 -0
- data/lib/rubocop/cop/style/multiline_when_then.rb +55 -0
- data/lib/rubocop/cop/style/multiple_comparison.rb +92 -0
- data/lib/rubocop/cop/style/mutable_constant.rb +174 -0
- data/lib/rubocop/cop/style/negated_if.rb +99 -0
- data/lib/rubocop/cop/style/negated_unless.rb +89 -0
- data/lib/rubocop/cop/style/negated_while.rb +48 -0
- data/lib/rubocop/cop/style/nested_modifier.rb +105 -0
- data/lib/rubocop/cop/style/nested_parenthesized_calls.rb +67 -0
- data/lib/rubocop/cop/style/nested_ternary_operator.rb +32 -0
- data/lib/rubocop/cop/style/next.rb +244 -0
- data/lib/rubocop/cop/style/nil_comparison.rb +75 -0
- data/lib/rubocop/cop/style/non_nil_check.rb +124 -0
- data/lib/rubocop/cop/style/not.rb +82 -0
- data/lib/rubocop/cop/style/numeric_literal_prefix.rb +124 -0
- data/lib/rubocop/cop/style/numeric_literals.rb +110 -0
- data/lib/rubocop/cop/style/numeric_predicate.rb +137 -0
- data/lib/rubocop/cop/style/one_line_conditional.rb +101 -0
- data/lib/rubocop/cop/style/option_hash.rb +55 -0
- data/lib/rubocop/cop/style/optional_arguments.rb +58 -0
- data/lib/rubocop/cop/style/or_assignment.rb +95 -0
- data/lib/rubocop/cop/style/parallel_assignment.rb +287 -0
- data/lib/rubocop/cop/style/parentheses_around_condition.rb +117 -0
- data/lib/rubocop/cop/style/percent_literal_delimiters.rb +127 -0
- data/lib/rubocop/cop/style/percent_q_literals.rb +73 -0
- data/lib/rubocop/cop/style/perl_backrefs.rb +38 -0
- data/lib/rubocop/cop/style/preferred_hash_methods.rb +75 -0
- data/lib/rubocop/cop/style/proc.rb +34 -0
- data/lib/rubocop/cop/style/raise_args.rb +145 -0
- data/lib/rubocop/cop/style/random_with_offset.rb +158 -0
- data/lib/rubocop/cop/style/redundant_begin.rb +91 -0
- data/lib/rubocop/cop/style/redundant_conditional.rb +97 -0
- data/lib/rubocop/cop/style/redundant_exception.rb +60 -0
- data/lib/rubocop/cop/style/redundant_freeze.rb +67 -0
- data/lib/rubocop/cop/style/redundant_parentheses.rb +231 -0
- data/lib/rubocop/cop/style/redundant_return.rb +173 -0
- data/lib/rubocop/cop/style/redundant_self.rb +171 -0
- data/lib/rubocop/cop/style/redundant_sort_by.rb +50 -0
- data/lib/rubocop/cop/style/regexp_literal.rb +228 -0
- data/lib/rubocop/cop/style/rescue_modifier.rb +73 -0
- data/lib/rubocop/cop/style/rescue_standard_error.rb +124 -0
- data/lib/rubocop/cop/style/return_nil.rb +89 -0
- data/lib/rubocop/cop/style/safe_navigation.rb +272 -0
- data/lib/rubocop/cop/style/sample.rb +144 -0
- data/lib/rubocop/cop/style/self_assignment.rb +97 -0
- data/lib/rubocop/cop/style/semicolon.rb +101 -0
- data/lib/rubocop/cop/style/send.rb +31 -0
- data/lib/rubocop/cop/style/signal_exception.rb +211 -0
- data/lib/rubocop/cop/style/single_line_block_params.rb +95 -0
- data/lib/rubocop/cop/style/single_line_methods.rb +83 -0
- data/lib/rubocop/cop/style/special_global_vars.rb +213 -0
- data/lib/rubocop/cop/style/stabby_lambda_parentheses.rb +86 -0
- data/lib/rubocop/cop/style/stderr_puts.rb +61 -0
- data/lib/rubocop/cop/style/string_hash_keys.rb +50 -0
- data/lib/rubocop/cop/style/string_literals.rb +129 -0
- data/lib/rubocop/cop/style/string_literals_in_interpolation.rb +49 -0
- data/lib/rubocop/cop/style/string_methods.rb +46 -0
- data/lib/rubocop/cop/style/strip.rb +46 -0
- data/lib/rubocop/cop/style/struct_inheritance.rb +39 -0
- data/lib/rubocop/cop/style/symbol_array.rb +119 -0
- data/lib/rubocop/cop/style/symbol_literal.rb +32 -0
- data/lib/rubocop/cop/style/symbol_proc.rb +110 -0
- data/lib/rubocop/cop/style/ternary_parentheses.rb +223 -0
- data/lib/rubocop/cop/style/trailing_body_on_class.rb +43 -0
- data/lib/rubocop/cop/style/trailing_body_on_method_definition.rb +54 -0
- data/lib/rubocop/cop/style/trailing_body_on_module.rb +43 -0
- data/lib/rubocop/cop/style/trailing_comma_in_arguments.rb +96 -0
- data/lib/rubocop/cop/style/trailing_comma_in_array_literal.rb +58 -0
- data/lib/rubocop/cop/style/trailing_comma_in_hash_literal.rb +56 -0
- data/lib/rubocop/cop/style/trailing_method_end_statement.rb +91 -0
- data/lib/rubocop/cop/style/trailing_underscore_variable.rb +161 -0
- data/lib/rubocop/cop/style/trivial_accessors.rb +191 -0
- data/lib/rubocop/cop/style/unless_else.rb +55 -0
- data/lib/rubocop/cop/style/unneeded_capital_w.rb +51 -0
- data/lib/rubocop/cop/style/unneeded_condition.rb +112 -0
- data/lib/rubocop/cop/style/unneeded_interpolation.rb +98 -0
- data/lib/rubocop/cop/style/unneeded_percent_q.rb +112 -0
- data/lib/rubocop/cop/style/unneeded_sort.rb +165 -0
- data/lib/rubocop/cop/style/unpack_first.rb +65 -0
- data/lib/rubocop/cop/style/variable_interpolation.rb +48 -0
- data/lib/rubocop/cop/style/when_then.rb +37 -0
- data/lib/rubocop/cop/style/while_until_do.rb +59 -0
- data/lib/rubocop/cop/style/while_until_modifier.rb +61 -0
- data/lib/rubocop/cop/style/word_array.rb +102 -0
- data/lib/rubocop/cop/style/yoda_condition.rb +141 -0
- data/lib/rubocop/cop/style/zero_length_predicate.rb +117 -0
- data/lib/rubocop/cop/team.rb +191 -0
- data/lib/rubocop/cop/util.rb +127 -0
- data/lib/rubocop/cop/utils/format_string.rb +128 -0
- data/lib/rubocop/cop/variable_force.rb +464 -0
- data/lib/rubocop/cop/variable_force/assignment.rb +96 -0
- data/lib/rubocop/cop/variable_force/branch.rb +322 -0
- data/lib/rubocop/cop/variable_force/branchable.rb +23 -0
- data/lib/rubocop/cop/variable_force/reference.rb +49 -0
- data/lib/rubocop/cop/variable_force/scope.rb +109 -0
- data/lib/rubocop/cop/variable_force/variable.rb +117 -0
- data/lib/rubocop/cop/variable_force/variable_table.rb +129 -0
- data/lib/rubocop/core_ext/string.rb +23 -0
- data/lib/rubocop/error.rb +34 -0
- data/lib/rubocop/file_finder.rb +42 -0
- data/lib/rubocop/formatter/auto_gen_config_formatter.rb +16 -0
- data/lib/rubocop/formatter/base_formatter.rb +123 -0
- data/lib/rubocop/formatter/clang_style_formatter.rb +59 -0
- data/lib/rubocop/formatter/colorizable.rb +41 -0
- data/lib/rubocop/formatter/disabled_config_formatter.rb +224 -0
- data/lib/rubocop/formatter/disabled_lines_formatter.rb +57 -0
- data/lib/rubocop/formatter/emacs_style_formatter.rb +37 -0
- data/lib/rubocop/formatter/file_list_formatter.rb +20 -0
- data/lib/rubocop/formatter/formatter_set.rb +106 -0
- data/lib/rubocop/formatter/fuubar_style_formatter.rb +80 -0
- data/lib/rubocop/formatter/html_formatter.rb +141 -0
- data/lib/rubocop/formatter/json_formatter.rb +80 -0
- data/lib/rubocop/formatter/offense_count_formatter.rb +74 -0
- data/lib/rubocop/formatter/pacman_formatter.rb +80 -0
- data/lib/rubocop/formatter/progress_formatter.rb +63 -0
- data/lib/rubocop/formatter/quiet_formatter.rb +13 -0
- data/lib/rubocop/formatter/simple_text_formatter.rb +138 -0
- data/lib/rubocop/formatter/tap_formatter.rb +84 -0
- data/lib/rubocop/formatter/text_util.rb +20 -0
- data/lib/rubocop/formatter/worst_offenders_formatter.rb +62 -0
- data/lib/rubocop/magic_comment.rb +214 -0
- data/lib/rubocop/name_similarity.rb +21 -0
- data/lib/rubocop/node_pattern.rb +799 -0
- data/lib/rubocop/options.rb +454 -0
- data/lib/rubocop/path_util.rb +85 -0
- data/lib/rubocop/platform.rb +11 -0
- data/lib/rubocop/processed_source.rb +216 -0
- data/lib/rubocop/rake_task.rb +79 -0
- data/lib/rubocop/remote_config.rb +106 -0
- data/lib/rubocop/result_cache.rb +191 -0
- data/lib/rubocop/rspec/cop_helper.rb +94 -0
- data/lib/rubocop/rspec/expect_offense.rb +240 -0
- data/lib/rubocop/rspec/host_environment_simulation_helper.rb +28 -0
- data/lib/rubocop/rspec/shared_contexts.rb +90 -0
- data/lib/rubocop/rspec/support.rb +13 -0
- data/lib/rubocop/runner.rb +358 -0
- data/lib/rubocop/string_interpreter.rb +57 -0
- data/lib/rubocop/string_util.rb +14 -0
- data/lib/rubocop/target_finder.rb +190 -0
- data/lib/rubocop/token.rb +114 -0
- data/lib/rubocop/version.rb +21 -0
- data/lib/rubocop/warning.rb +11 -0
- data/lib/rubocop/yaml_duplication_checker.rb +39 -0
- metadata +770 -0
metadata
ADDED
@@ -0,0 +1,770 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: rubocop
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.75.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Bozhidar Batsov
|
8
|
+
- Jonas Arvidsson
|
9
|
+
- Yuji Nakayama
|
10
|
+
autorequire:
|
11
|
+
bindir: exe
|
12
|
+
cert_chain: []
|
13
|
+
date: 2019-10-14 00:00:00.000000000 Z
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: jaro_winkler
|
17
|
+
requirement: !ruby/object:Gem::Requirement
|
18
|
+
requirements:
|
19
|
+
- - "~>"
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: 1.5.1
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
requirements:
|
26
|
+
- - "~>"
|
27
|
+
- !ruby/object:Gem::Version
|
28
|
+
version: 1.5.1
|
29
|
+
- !ruby/object:Gem::Dependency
|
30
|
+
name: parallel
|
31
|
+
requirement: !ruby/object:Gem::Requirement
|
32
|
+
requirements:
|
33
|
+
- - "~>"
|
34
|
+
- !ruby/object:Gem::Version
|
35
|
+
version: '1.10'
|
36
|
+
type: :runtime
|
37
|
+
prerelease: false
|
38
|
+
version_requirements: !ruby/object:Gem::Requirement
|
39
|
+
requirements:
|
40
|
+
- - "~>"
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: '1.10'
|
43
|
+
- !ruby/object:Gem::Dependency
|
44
|
+
name: parser
|
45
|
+
requirement: !ruby/object:Gem::Requirement
|
46
|
+
requirements:
|
47
|
+
- - ">="
|
48
|
+
- !ruby/object:Gem::Version
|
49
|
+
version: '2.6'
|
50
|
+
type: :runtime
|
51
|
+
prerelease: false
|
52
|
+
version_requirements: !ruby/object:Gem::Requirement
|
53
|
+
requirements:
|
54
|
+
- - ">="
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: '2.6'
|
57
|
+
- !ruby/object:Gem::Dependency
|
58
|
+
name: rainbow
|
59
|
+
requirement: !ruby/object:Gem::Requirement
|
60
|
+
requirements:
|
61
|
+
- - ">="
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: 2.2.2
|
64
|
+
- - "<"
|
65
|
+
- !ruby/object:Gem::Version
|
66
|
+
version: '4.0'
|
67
|
+
type: :runtime
|
68
|
+
prerelease: false
|
69
|
+
version_requirements: !ruby/object:Gem::Requirement
|
70
|
+
requirements:
|
71
|
+
- - ">="
|
72
|
+
- !ruby/object:Gem::Version
|
73
|
+
version: 2.2.2
|
74
|
+
- - "<"
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: '4.0'
|
77
|
+
- !ruby/object:Gem::Dependency
|
78
|
+
name: ruby-progressbar
|
79
|
+
requirement: !ruby/object:Gem::Requirement
|
80
|
+
requirements:
|
81
|
+
- - "~>"
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
version: '1.7'
|
84
|
+
type: :runtime
|
85
|
+
prerelease: false
|
86
|
+
version_requirements: !ruby/object:Gem::Requirement
|
87
|
+
requirements:
|
88
|
+
- - "~>"
|
89
|
+
- !ruby/object:Gem::Version
|
90
|
+
version: '1.7'
|
91
|
+
- !ruby/object:Gem::Dependency
|
92
|
+
name: unicode-display_width
|
93
|
+
requirement: !ruby/object:Gem::Requirement
|
94
|
+
requirements:
|
95
|
+
- - ">="
|
96
|
+
- !ruby/object:Gem::Version
|
97
|
+
version: 1.4.0
|
98
|
+
- - "<"
|
99
|
+
- !ruby/object:Gem::Version
|
100
|
+
version: '1.7'
|
101
|
+
type: :runtime
|
102
|
+
prerelease: false
|
103
|
+
version_requirements: !ruby/object:Gem::Requirement
|
104
|
+
requirements:
|
105
|
+
- - ">="
|
106
|
+
- !ruby/object:Gem::Version
|
107
|
+
version: 1.4.0
|
108
|
+
- - "<"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '1.7'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: bundler
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: 1.15.0
|
118
|
+
- - "<"
|
119
|
+
- !ruby/object:Gem::Version
|
120
|
+
version: '3.0'
|
121
|
+
type: :development
|
122
|
+
prerelease: false
|
123
|
+
version_requirements: !ruby/object:Gem::Requirement
|
124
|
+
requirements:
|
125
|
+
- - ">="
|
126
|
+
- !ruby/object:Gem::Version
|
127
|
+
version: 1.15.0
|
128
|
+
- - "<"
|
129
|
+
- !ruby/object:Gem::Version
|
130
|
+
version: '3.0'
|
131
|
+
description: |2
|
132
|
+
Automatic Ruby code style checking tool.
|
133
|
+
Aims to enforce the community-driven Ruby Style Guide.
|
134
|
+
email: rubocop@googlegroups.com
|
135
|
+
executables:
|
136
|
+
- rubocop
|
137
|
+
extensions: []
|
138
|
+
extra_rdoc_files:
|
139
|
+
- LICENSE.txt
|
140
|
+
- README.md
|
141
|
+
files:
|
142
|
+
- LICENSE.txt
|
143
|
+
- README.md
|
144
|
+
- assets/logo.png
|
145
|
+
- assets/output.html.erb
|
146
|
+
- bin/console
|
147
|
+
- bin/setup
|
148
|
+
- config/default.yml
|
149
|
+
- exe/rubocop
|
150
|
+
- lib/rubocop.rb
|
151
|
+
- lib/rubocop/ast/builder.rb
|
152
|
+
- lib/rubocop/ast/node.rb
|
153
|
+
- lib/rubocop/ast/node/alias_node.rb
|
154
|
+
- lib/rubocop/ast/node/and_node.rb
|
155
|
+
- lib/rubocop/ast/node/args_node.rb
|
156
|
+
- lib/rubocop/ast/node/array_node.rb
|
157
|
+
- lib/rubocop/ast/node/block_node.rb
|
158
|
+
- lib/rubocop/ast/node/break_node.rb
|
159
|
+
- lib/rubocop/ast/node/case_node.rb
|
160
|
+
- lib/rubocop/ast/node/class_node.rb
|
161
|
+
- lib/rubocop/ast/node/def_node.rb
|
162
|
+
- lib/rubocop/ast/node/defined_node.rb
|
163
|
+
- lib/rubocop/ast/node/ensure_node.rb
|
164
|
+
- lib/rubocop/ast/node/float_node.rb
|
165
|
+
- lib/rubocop/ast/node/for_node.rb
|
166
|
+
- lib/rubocop/ast/node/hash_node.rb
|
167
|
+
- lib/rubocop/ast/node/if_node.rb
|
168
|
+
- lib/rubocop/ast/node/int_node.rb
|
169
|
+
- lib/rubocop/ast/node/keyword_splat_node.rb
|
170
|
+
- lib/rubocop/ast/node/mixin/basic_literal_node.rb
|
171
|
+
- lib/rubocop/ast/node/mixin/binary_operator_node.rb
|
172
|
+
- lib/rubocop/ast/node/mixin/collection_node.rb
|
173
|
+
- lib/rubocop/ast/node/mixin/conditional_node.rb
|
174
|
+
- lib/rubocop/ast/node/mixin/hash_element_node.rb
|
175
|
+
- lib/rubocop/ast/node/mixin/method_dispatch_node.rb
|
176
|
+
- lib/rubocop/ast/node/mixin/method_identifier_predicates.rb
|
177
|
+
- lib/rubocop/ast/node/mixin/modifier_node.rb
|
178
|
+
- lib/rubocop/ast/node/mixin/numeric_node.rb
|
179
|
+
- lib/rubocop/ast/node/mixin/parameterized_node.rb
|
180
|
+
- lib/rubocop/ast/node/mixin/predicate_operator_node.rb
|
181
|
+
- lib/rubocop/ast/node/module_node.rb
|
182
|
+
- lib/rubocop/ast/node/or_node.rb
|
183
|
+
- lib/rubocop/ast/node/pair_node.rb
|
184
|
+
- lib/rubocop/ast/node/range_node.rb
|
185
|
+
- lib/rubocop/ast/node/regexp_node.rb
|
186
|
+
- lib/rubocop/ast/node/resbody_node.rb
|
187
|
+
- lib/rubocop/ast/node/retry_node.rb
|
188
|
+
- lib/rubocop/ast/node/self_class_node.rb
|
189
|
+
- lib/rubocop/ast/node/send_node.rb
|
190
|
+
- lib/rubocop/ast/node/str_node.rb
|
191
|
+
- lib/rubocop/ast/node/super_node.rb
|
192
|
+
- lib/rubocop/ast/node/symbol_node.rb
|
193
|
+
- lib/rubocop/ast/node/until_node.rb
|
194
|
+
- lib/rubocop/ast/node/when_node.rb
|
195
|
+
- lib/rubocop/ast/node/while_node.rb
|
196
|
+
- lib/rubocop/ast/node/yield_node.rb
|
197
|
+
- lib/rubocop/ast/sexp.rb
|
198
|
+
- lib/rubocop/ast/traversal.rb
|
199
|
+
- lib/rubocop/cached_data.rb
|
200
|
+
- lib/rubocop/cli.rb
|
201
|
+
- lib/rubocop/comment_config.rb
|
202
|
+
- lib/rubocop/config.rb
|
203
|
+
- lib/rubocop/config_loader.rb
|
204
|
+
- lib/rubocop/config_loader_resolver.rb
|
205
|
+
- lib/rubocop/config_obsoletion.rb
|
206
|
+
- lib/rubocop/config_store.rb
|
207
|
+
- lib/rubocop/config_validator.rb
|
208
|
+
- lib/rubocop/cop/autocorrect_logic.rb
|
209
|
+
- lib/rubocop/cop/badge.rb
|
210
|
+
- lib/rubocop/cop/bundler/duplicated_gem.rb
|
211
|
+
- lib/rubocop/cop/bundler/gem_comment.rb
|
212
|
+
- lib/rubocop/cop/bundler/insecure_protocol_source.rb
|
213
|
+
- lib/rubocop/cop/bundler/ordered_gems.rb
|
214
|
+
- lib/rubocop/cop/commissioner.rb
|
215
|
+
- lib/rubocop/cop/cop.rb
|
216
|
+
- lib/rubocop/cop/corrector.rb
|
217
|
+
- lib/rubocop/cop/correctors/alignment_corrector.rb
|
218
|
+
- lib/rubocop/cop/correctors/condition_corrector.rb
|
219
|
+
- lib/rubocop/cop/correctors/each_to_for_corrector.rb
|
220
|
+
- lib/rubocop/cop/correctors/empty_line_corrector.rb
|
221
|
+
- lib/rubocop/cop/correctors/for_to_each_corrector.rb
|
222
|
+
- lib/rubocop/cop/correctors/lambda_literal_to_method_corrector.rb
|
223
|
+
- lib/rubocop/cop/correctors/line_break_corrector.rb
|
224
|
+
- lib/rubocop/cop/correctors/multiline_literal_brace_corrector.rb
|
225
|
+
- lib/rubocop/cop/correctors/ordered_gem_corrector.rb
|
226
|
+
- lib/rubocop/cop/correctors/parentheses_corrector.rb
|
227
|
+
- lib/rubocop/cop/correctors/percent_literal_corrector.rb
|
228
|
+
- lib/rubocop/cop/correctors/punctuation_corrector.rb
|
229
|
+
- lib/rubocop/cop/correctors/space_corrector.rb
|
230
|
+
- lib/rubocop/cop/correctors/string_literal_corrector.rb
|
231
|
+
- lib/rubocop/cop/correctors/unused_arg_corrector.rb
|
232
|
+
- lib/rubocop/cop/force.rb
|
233
|
+
- lib/rubocop/cop/gemspec/duplicated_assignment.rb
|
234
|
+
- lib/rubocop/cop/gemspec/ordered_dependencies.rb
|
235
|
+
- lib/rubocop/cop/gemspec/required_ruby_version.rb
|
236
|
+
- lib/rubocop/cop/gemspec/ruby_version_globals_usage.rb
|
237
|
+
- lib/rubocop/cop/generator.rb
|
238
|
+
- lib/rubocop/cop/generator/configuration_injector.rb
|
239
|
+
- lib/rubocop/cop/generator/require_file_injector.rb
|
240
|
+
- lib/rubocop/cop/ignored_node.rb
|
241
|
+
- lib/rubocop/cop/internal_affairs.rb
|
242
|
+
- lib/rubocop/cop/internal_affairs/node_destructuring.rb
|
243
|
+
- lib/rubocop/cop/internal_affairs/node_type_predicate.rb
|
244
|
+
- lib/rubocop/cop/internal_affairs/offense_location_keyword.rb
|
245
|
+
- lib/rubocop/cop/internal_affairs/redundant_location_argument.rb
|
246
|
+
- lib/rubocop/cop/internal_affairs/redundant_message_argument.rb
|
247
|
+
- lib/rubocop/cop/internal_affairs/useless_message_assertion.rb
|
248
|
+
- lib/rubocop/cop/layout/access_modifier_indentation.rb
|
249
|
+
- lib/rubocop/cop/layout/align_arguments.rb
|
250
|
+
- lib/rubocop/cop/layout/align_array.rb
|
251
|
+
- lib/rubocop/cop/layout/align_hash.rb
|
252
|
+
- lib/rubocop/cop/layout/align_parameters.rb
|
253
|
+
- lib/rubocop/cop/layout/block_alignment.rb
|
254
|
+
- lib/rubocop/cop/layout/block_end_newline.rb
|
255
|
+
- lib/rubocop/cop/layout/case_indentation.rb
|
256
|
+
- lib/rubocop/cop/layout/class_structure.rb
|
257
|
+
- lib/rubocop/cop/layout/closing_heredoc_indentation.rb
|
258
|
+
- lib/rubocop/cop/layout/closing_parenthesis_indentation.rb
|
259
|
+
- lib/rubocop/cop/layout/comment_indentation.rb
|
260
|
+
- lib/rubocop/cop/layout/condition_position.rb
|
261
|
+
- lib/rubocop/cop/layout/def_end_alignment.rb
|
262
|
+
- lib/rubocop/cop/layout/dot_position.rb
|
263
|
+
- lib/rubocop/cop/layout/else_alignment.rb
|
264
|
+
- lib/rubocop/cop/layout/empty_comment.rb
|
265
|
+
- lib/rubocop/cop/layout/empty_line_after_guard_clause.rb
|
266
|
+
- lib/rubocop/cop/layout/empty_line_after_magic_comment.rb
|
267
|
+
- lib/rubocop/cop/layout/empty_line_between_defs.rb
|
268
|
+
- lib/rubocop/cop/layout/empty_lines.rb
|
269
|
+
- lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb
|
270
|
+
- lib/rubocop/cop/layout/empty_lines_around_arguments.rb
|
271
|
+
- lib/rubocop/cop/layout/empty_lines_around_begin_body.rb
|
272
|
+
- lib/rubocop/cop/layout/empty_lines_around_block_body.rb
|
273
|
+
- lib/rubocop/cop/layout/empty_lines_around_class_body.rb
|
274
|
+
- lib/rubocop/cop/layout/empty_lines_around_exception_handling_keywords.rb
|
275
|
+
- lib/rubocop/cop/layout/empty_lines_around_method_body.rb
|
276
|
+
- lib/rubocop/cop/layout/empty_lines_around_module_body.rb
|
277
|
+
- lib/rubocop/cop/layout/end_alignment.rb
|
278
|
+
- lib/rubocop/cop/layout/end_of_line.rb
|
279
|
+
- lib/rubocop/cop/layout/extra_spacing.rb
|
280
|
+
- lib/rubocop/cop/layout/first_array_element_line_break.rb
|
281
|
+
- lib/rubocop/cop/layout/first_hash_element_line_break.rb
|
282
|
+
- lib/rubocop/cop/layout/first_method_argument_line_break.rb
|
283
|
+
- lib/rubocop/cop/layout/first_method_parameter_line_break.rb
|
284
|
+
- lib/rubocop/cop/layout/heredoc_argument_closing_parenthesis.rb
|
285
|
+
- lib/rubocop/cop/layout/indent_assignment.rb
|
286
|
+
- lib/rubocop/cop/layout/indent_first_argument.rb
|
287
|
+
- lib/rubocop/cop/layout/indent_first_array_element.rb
|
288
|
+
- lib/rubocop/cop/layout/indent_first_hash_element.rb
|
289
|
+
- lib/rubocop/cop/layout/indent_first_parameter.rb
|
290
|
+
- lib/rubocop/cop/layout/indent_heredoc.rb
|
291
|
+
- lib/rubocop/cop/layout/indentation_consistency.rb
|
292
|
+
- lib/rubocop/cop/layout/indentation_width.rb
|
293
|
+
- lib/rubocop/cop/layout/initial_indentation.rb
|
294
|
+
- lib/rubocop/cop/layout/leading_blank_lines.rb
|
295
|
+
- lib/rubocop/cop/layout/leading_comment_space.rb
|
296
|
+
- lib/rubocop/cop/layout/multiline_array_brace_layout.rb
|
297
|
+
- lib/rubocop/cop/layout/multiline_array_line_breaks.rb
|
298
|
+
- lib/rubocop/cop/layout/multiline_assignment_layout.rb
|
299
|
+
- lib/rubocop/cop/layout/multiline_block_layout.rb
|
300
|
+
- lib/rubocop/cop/layout/multiline_hash_brace_layout.rb
|
301
|
+
- lib/rubocop/cop/layout/multiline_hash_key_line_breaks.rb
|
302
|
+
- lib/rubocop/cop/layout/multiline_method_argument_line_breaks.rb
|
303
|
+
- lib/rubocop/cop/layout/multiline_method_call_brace_layout.rb
|
304
|
+
- lib/rubocop/cop/layout/multiline_method_call_indentation.rb
|
305
|
+
- lib/rubocop/cop/layout/multiline_method_definition_brace_layout.rb
|
306
|
+
- lib/rubocop/cop/layout/multiline_operation_indentation.rb
|
307
|
+
- lib/rubocop/cop/layout/rescue_ensure_alignment.rb
|
308
|
+
- lib/rubocop/cop/layout/space_after_colon.rb
|
309
|
+
- lib/rubocop/cop/layout/space_after_comma.rb
|
310
|
+
- lib/rubocop/cop/layout/space_after_method_name.rb
|
311
|
+
- lib/rubocop/cop/layout/space_after_not.rb
|
312
|
+
- lib/rubocop/cop/layout/space_after_semicolon.rb
|
313
|
+
- lib/rubocop/cop/layout/space_around_block_parameters.rb
|
314
|
+
- lib/rubocop/cop/layout/space_around_equals_in_parameter_default.rb
|
315
|
+
- lib/rubocop/cop/layout/space_around_keyword.rb
|
316
|
+
- lib/rubocop/cop/layout/space_around_operators.rb
|
317
|
+
- lib/rubocop/cop/layout/space_before_block_braces.rb
|
318
|
+
- lib/rubocop/cop/layout/space_before_comma.rb
|
319
|
+
- lib/rubocop/cop/layout/space_before_comment.rb
|
320
|
+
- lib/rubocop/cop/layout/space_before_first_arg.rb
|
321
|
+
- lib/rubocop/cop/layout/space_before_semicolon.rb
|
322
|
+
- lib/rubocop/cop/layout/space_in_lambda_literal.rb
|
323
|
+
- lib/rubocop/cop/layout/space_inside_array_literal_brackets.rb
|
324
|
+
- lib/rubocop/cop/layout/space_inside_array_percent_literal.rb
|
325
|
+
- lib/rubocop/cop/layout/space_inside_block_braces.rb
|
326
|
+
- lib/rubocop/cop/layout/space_inside_hash_literal_braces.rb
|
327
|
+
- lib/rubocop/cop/layout/space_inside_parens.rb
|
328
|
+
- lib/rubocop/cop/layout/space_inside_percent_literal_delimiters.rb
|
329
|
+
- lib/rubocop/cop/layout/space_inside_range_literal.rb
|
330
|
+
- lib/rubocop/cop/layout/space_inside_reference_brackets.rb
|
331
|
+
- lib/rubocop/cop/layout/space_inside_string_interpolation.rb
|
332
|
+
- lib/rubocop/cop/layout/tab.rb
|
333
|
+
- lib/rubocop/cop/layout/trailing_blank_lines.rb
|
334
|
+
- lib/rubocop/cop/layout/trailing_whitespace.rb
|
335
|
+
- lib/rubocop/cop/lint/ambiguous_block_association.rb
|
336
|
+
- lib/rubocop/cop/lint/ambiguous_operator.rb
|
337
|
+
- lib/rubocop/cop/lint/ambiguous_regexp_literal.rb
|
338
|
+
- lib/rubocop/cop/lint/assignment_in_condition.rb
|
339
|
+
- lib/rubocop/cop/lint/big_decimal_new.rb
|
340
|
+
- lib/rubocop/cop/lint/boolean_symbol.rb
|
341
|
+
- lib/rubocop/cop/lint/circular_argument_reference.rb
|
342
|
+
- lib/rubocop/cop/lint/debugger.rb
|
343
|
+
- lib/rubocop/cop/lint/deprecated_class_methods.rb
|
344
|
+
- lib/rubocop/cop/lint/disjunctive_assignment_in_constructor.rb
|
345
|
+
- lib/rubocop/cop/lint/duplicate_case_condition.rb
|
346
|
+
- lib/rubocop/cop/lint/duplicate_methods.rb
|
347
|
+
- lib/rubocop/cop/lint/duplicated_key.rb
|
348
|
+
- lib/rubocop/cop/lint/each_with_object_argument.rb
|
349
|
+
- lib/rubocop/cop/lint/else_layout.rb
|
350
|
+
- lib/rubocop/cop/lint/empty_ensure.rb
|
351
|
+
- lib/rubocop/cop/lint/empty_expression.rb
|
352
|
+
- lib/rubocop/cop/lint/empty_interpolation.rb
|
353
|
+
- lib/rubocop/cop/lint/empty_when.rb
|
354
|
+
- lib/rubocop/cop/lint/end_in_method.rb
|
355
|
+
- lib/rubocop/cop/lint/ensure_return.rb
|
356
|
+
- lib/rubocop/cop/lint/erb_new_arguments.rb
|
357
|
+
- lib/rubocop/cop/lint/flip_flop.rb
|
358
|
+
- lib/rubocop/cop/lint/float_out_of_range.rb
|
359
|
+
- lib/rubocop/cop/lint/format_parameter_mismatch.rb
|
360
|
+
- lib/rubocop/cop/lint/handle_exceptions.rb
|
361
|
+
- lib/rubocop/cop/lint/heredoc_method_call_position.rb
|
362
|
+
- lib/rubocop/cop/lint/implicit_string_concatenation.rb
|
363
|
+
- lib/rubocop/cop/lint/ineffective_access_modifier.rb
|
364
|
+
- lib/rubocop/cop/lint/inherit_exception.rb
|
365
|
+
- lib/rubocop/cop/lint/interpolation_check.rb
|
366
|
+
- lib/rubocop/cop/lint/literal_as_condition.rb
|
367
|
+
- lib/rubocop/cop/lint/literal_in_interpolation.rb
|
368
|
+
- lib/rubocop/cop/lint/loop.rb
|
369
|
+
- lib/rubocop/cop/lint/missing_cop_enable_directive.rb
|
370
|
+
- lib/rubocop/cop/lint/multiple_compare.rb
|
371
|
+
- lib/rubocop/cop/lint/nested_method_definition.rb
|
372
|
+
- lib/rubocop/cop/lint/nested_percent_literal.rb
|
373
|
+
- lib/rubocop/cop/lint/next_without_accumulator.rb
|
374
|
+
- lib/rubocop/cop/lint/non_local_exit_from_iterator.rb
|
375
|
+
- lib/rubocop/cop/lint/number_conversion.rb
|
376
|
+
- lib/rubocop/cop/lint/ordered_magic_comments.rb
|
377
|
+
- lib/rubocop/cop/lint/parentheses_as_grouped_expression.rb
|
378
|
+
- lib/rubocop/cop/lint/percent_string_array.rb
|
379
|
+
- lib/rubocop/cop/lint/percent_symbol_array.rb
|
380
|
+
- lib/rubocop/cop/lint/rand_one.rb
|
381
|
+
- lib/rubocop/cop/lint/redundant_with_index.rb
|
382
|
+
- lib/rubocop/cop/lint/redundant_with_object.rb
|
383
|
+
- lib/rubocop/cop/lint/regexp_as_condition.rb
|
384
|
+
- lib/rubocop/cop/lint/require_parentheses.rb
|
385
|
+
- lib/rubocop/cop/lint/rescue_exception.rb
|
386
|
+
- lib/rubocop/cop/lint/rescue_type.rb
|
387
|
+
- lib/rubocop/cop/lint/return_in_void_context.rb
|
388
|
+
- lib/rubocop/cop/lint/safe_navigation_chain.rb
|
389
|
+
- lib/rubocop/cop/lint/safe_navigation_consistency.rb
|
390
|
+
- lib/rubocop/cop/lint/safe_navigation_with_empty.rb
|
391
|
+
- lib/rubocop/cop/lint/script_permission.rb
|
392
|
+
- lib/rubocop/cop/lint/send_with_mixin_argument.rb
|
393
|
+
- lib/rubocop/cop/lint/shadowed_argument.rb
|
394
|
+
- lib/rubocop/cop/lint/shadowed_exception.rb
|
395
|
+
- lib/rubocop/cop/lint/shadowing_outer_local_variable.rb
|
396
|
+
- lib/rubocop/cop/lint/string_conversion_in_interpolation.rb
|
397
|
+
- lib/rubocop/cop/lint/syntax.rb
|
398
|
+
- lib/rubocop/cop/lint/to_json.rb
|
399
|
+
- lib/rubocop/cop/lint/underscore_prefixed_variable_name.rb
|
400
|
+
- lib/rubocop/cop/lint/unified_integer.rb
|
401
|
+
- lib/rubocop/cop/lint/unneeded_cop_disable_directive.rb
|
402
|
+
- lib/rubocop/cop/lint/unneeded_cop_enable_directive.rb
|
403
|
+
- lib/rubocop/cop/lint/unneeded_require_statement.rb
|
404
|
+
- lib/rubocop/cop/lint/unneeded_splat_expansion.rb
|
405
|
+
- lib/rubocop/cop/lint/unreachable_code.rb
|
406
|
+
- lib/rubocop/cop/lint/unused_block_argument.rb
|
407
|
+
- lib/rubocop/cop/lint/unused_method_argument.rb
|
408
|
+
- lib/rubocop/cop/lint/uri_escape_unescape.rb
|
409
|
+
- lib/rubocop/cop/lint/uri_regexp.rb
|
410
|
+
- lib/rubocop/cop/lint/useless_access_modifier.rb
|
411
|
+
- lib/rubocop/cop/lint/useless_assignment.rb
|
412
|
+
- lib/rubocop/cop/lint/useless_comparison.rb
|
413
|
+
- lib/rubocop/cop/lint/useless_else_without_rescue.rb
|
414
|
+
- lib/rubocop/cop/lint/useless_setter_call.rb
|
415
|
+
- lib/rubocop/cop/lint/void.rb
|
416
|
+
- lib/rubocop/cop/message_annotator.rb
|
417
|
+
- lib/rubocop/cop/metrics/abc_size.rb
|
418
|
+
- lib/rubocop/cop/metrics/block_length.rb
|
419
|
+
- lib/rubocop/cop/metrics/block_nesting.rb
|
420
|
+
- lib/rubocop/cop/metrics/class_length.rb
|
421
|
+
- lib/rubocop/cop/metrics/cyclomatic_complexity.rb
|
422
|
+
- lib/rubocop/cop/metrics/line_length.rb
|
423
|
+
- lib/rubocop/cop/metrics/method_length.rb
|
424
|
+
- lib/rubocop/cop/metrics/module_length.rb
|
425
|
+
- lib/rubocop/cop/metrics/parameter_lists.rb
|
426
|
+
- lib/rubocop/cop/metrics/perceived_complexity.rb
|
427
|
+
- lib/rubocop/cop/metrics/utils/abc_size_calculator.rb
|
428
|
+
- lib/rubocop/cop/migration/department_name.rb
|
429
|
+
- lib/rubocop/cop/mixin/alignment.rb
|
430
|
+
- lib/rubocop/cop/mixin/annotation_comment.rb
|
431
|
+
- lib/rubocop/cop/mixin/array_min_size.rb
|
432
|
+
- lib/rubocop/cop/mixin/array_syntax.rb
|
433
|
+
- lib/rubocop/cop/mixin/check_assignment.rb
|
434
|
+
- lib/rubocop/cop/mixin/check_line_breakable.rb
|
435
|
+
- lib/rubocop/cop/mixin/classish_length.rb
|
436
|
+
- lib/rubocop/cop/mixin/code_length.rb
|
437
|
+
- lib/rubocop/cop/mixin/configurable_enforced_style.rb
|
438
|
+
- lib/rubocop/cop/mixin/configurable_formatting.rb
|
439
|
+
- lib/rubocop/cop/mixin/configurable_max.rb
|
440
|
+
- lib/rubocop/cop/mixin/configurable_naming.rb
|
441
|
+
- lib/rubocop/cop/mixin/configurable_numbering.rb
|
442
|
+
- lib/rubocop/cop/mixin/def_node.rb
|
443
|
+
- lib/rubocop/cop/mixin/documentation_comment.rb
|
444
|
+
- lib/rubocop/cop/mixin/duplication.rb
|
445
|
+
- lib/rubocop/cop/mixin/empty_lines_around_body.rb
|
446
|
+
- lib/rubocop/cop/mixin/empty_parameter.rb
|
447
|
+
- lib/rubocop/cop/mixin/end_keyword_alignment.rb
|
448
|
+
- lib/rubocop/cop/mixin/enforce_superclass.rb
|
449
|
+
- lib/rubocop/cop/mixin/first_element_line_break.rb
|
450
|
+
- lib/rubocop/cop/mixin/frozen_string_literal.rb
|
451
|
+
- lib/rubocop/cop/mixin/hash_alignment.rb
|
452
|
+
- lib/rubocop/cop/mixin/heredoc.rb
|
453
|
+
- lib/rubocop/cop/mixin/ignored_methods.rb
|
454
|
+
- lib/rubocop/cop/mixin/ignored_pattern.rb
|
455
|
+
- lib/rubocop/cop/mixin/integer_node.rb
|
456
|
+
- lib/rubocop/cop/mixin/interpolation.rb
|
457
|
+
- lib/rubocop/cop/mixin/match_range.rb
|
458
|
+
- lib/rubocop/cop/mixin/method_complexity.rb
|
459
|
+
- lib/rubocop/cop/mixin/method_preference.rb
|
460
|
+
- lib/rubocop/cop/mixin/min_body_length.rb
|
461
|
+
- lib/rubocop/cop/mixin/multiline_element_indentation.rb
|
462
|
+
- lib/rubocop/cop/mixin/multiline_element_line_breaks.rb
|
463
|
+
- lib/rubocop/cop/mixin/multiline_expression_indentation.rb
|
464
|
+
- lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb
|
465
|
+
- lib/rubocop/cop/mixin/negative_conditional.rb
|
466
|
+
- lib/rubocop/cop/mixin/nil_methods.rb
|
467
|
+
- lib/rubocop/cop/mixin/on_normal_if_unless.rb
|
468
|
+
- lib/rubocop/cop/mixin/ordered_gem_node.rb
|
469
|
+
- lib/rubocop/cop/mixin/parentheses.rb
|
470
|
+
- lib/rubocop/cop/mixin/parser_diagnostic.rb
|
471
|
+
- lib/rubocop/cop/mixin/percent_array.rb
|
472
|
+
- lib/rubocop/cop/mixin/percent_literal.rb
|
473
|
+
- lib/rubocop/cop/mixin/preceding_following_alignment.rb
|
474
|
+
- lib/rubocop/cop/mixin/preferred_delimiters.rb
|
475
|
+
- lib/rubocop/cop/mixin/range_help.rb
|
476
|
+
- lib/rubocop/cop/mixin/rescue_node.rb
|
477
|
+
- lib/rubocop/cop/mixin/safe_assignment.rb
|
478
|
+
- lib/rubocop/cop/mixin/safe_mode.rb
|
479
|
+
- lib/rubocop/cop/mixin/space_after_punctuation.rb
|
480
|
+
- lib/rubocop/cop/mixin/space_before_punctuation.rb
|
481
|
+
- lib/rubocop/cop/mixin/statement_modifier.rb
|
482
|
+
- lib/rubocop/cop/mixin/string_help.rb
|
483
|
+
- lib/rubocop/cop/mixin/string_literals_help.rb
|
484
|
+
- lib/rubocop/cop/mixin/surrounding_space.rb
|
485
|
+
- lib/rubocop/cop/mixin/target_ruby_version.rb
|
486
|
+
- lib/rubocop/cop/mixin/too_many_lines.rb
|
487
|
+
- lib/rubocop/cop/mixin/trailing_body.rb
|
488
|
+
- lib/rubocop/cop/mixin/trailing_comma.rb
|
489
|
+
- lib/rubocop/cop/mixin/uncommunicative_name.rb
|
490
|
+
- lib/rubocop/cop/mixin/unused_argument.rb
|
491
|
+
- lib/rubocop/cop/naming/accessor_method_name.rb
|
492
|
+
- lib/rubocop/cop/naming/ascii_identifiers.rb
|
493
|
+
- lib/rubocop/cop/naming/binary_operator_parameter_name.rb
|
494
|
+
- lib/rubocop/cop/naming/class_and_module_camel_case.rb
|
495
|
+
- lib/rubocop/cop/naming/constant_name.rb
|
496
|
+
- lib/rubocop/cop/naming/file_name.rb
|
497
|
+
- lib/rubocop/cop/naming/heredoc_delimiter_case.rb
|
498
|
+
- lib/rubocop/cop/naming/heredoc_delimiter_naming.rb
|
499
|
+
- lib/rubocop/cop/naming/memoized_instance_variable_name.rb
|
500
|
+
- lib/rubocop/cop/naming/method_name.rb
|
501
|
+
- lib/rubocop/cop/naming/predicate_name.rb
|
502
|
+
- lib/rubocop/cop/naming/rescued_exceptions_variable_name.rb
|
503
|
+
- lib/rubocop/cop/naming/uncommunicative_block_param_name.rb
|
504
|
+
- lib/rubocop/cop/naming/uncommunicative_method_param_name.rb
|
505
|
+
- lib/rubocop/cop/naming/variable_name.rb
|
506
|
+
- lib/rubocop/cop/naming/variable_number.rb
|
507
|
+
- lib/rubocop/cop/offense.rb
|
508
|
+
- lib/rubocop/cop/registry.rb
|
509
|
+
- lib/rubocop/cop/security/eval.rb
|
510
|
+
- lib/rubocop/cop/security/json_load.rb
|
511
|
+
- lib/rubocop/cop/security/marshal_load.rb
|
512
|
+
- lib/rubocop/cop/security/open.rb
|
513
|
+
- lib/rubocop/cop/security/yaml_load.rb
|
514
|
+
- lib/rubocop/cop/severity.rb
|
515
|
+
- lib/rubocop/cop/style/access_modifier_declarations.rb
|
516
|
+
- lib/rubocop/cop/style/alias.rb
|
517
|
+
- lib/rubocop/cop/style/and_or.rb
|
518
|
+
- lib/rubocop/cop/style/array_join.rb
|
519
|
+
- lib/rubocop/cop/style/ascii_comments.rb
|
520
|
+
- lib/rubocop/cop/style/attr.rb
|
521
|
+
- lib/rubocop/cop/style/auto_resource_cleanup.rb
|
522
|
+
- lib/rubocop/cop/style/bare_percent_literals.rb
|
523
|
+
- lib/rubocop/cop/style/begin_block.rb
|
524
|
+
- lib/rubocop/cop/style/block_comments.rb
|
525
|
+
- lib/rubocop/cop/style/block_delimiters.rb
|
526
|
+
- lib/rubocop/cop/style/braces_around_hash_parameters.rb
|
527
|
+
- lib/rubocop/cop/style/case_equality.rb
|
528
|
+
- lib/rubocop/cop/style/character_literal.rb
|
529
|
+
- lib/rubocop/cop/style/class_and_module_children.rb
|
530
|
+
- lib/rubocop/cop/style/class_check.rb
|
531
|
+
- lib/rubocop/cop/style/class_methods.rb
|
532
|
+
- lib/rubocop/cop/style/class_vars.rb
|
533
|
+
- lib/rubocop/cop/style/collection_methods.rb
|
534
|
+
- lib/rubocop/cop/style/colon_method_call.rb
|
535
|
+
- lib/rubocop/cop/style/colon_method_definition.rb
|
536
|
+
- lib/rubocop/cop/style/command_literal.rb
|
537
|
+
- lib/rubocop/cop/style/comment_annotation.rb
|
538
|
+
- lib/rubocop/cop/style/commented_keyword.rb
|
539
|
+
- lib/rubocop/cop/style/conditional_assignment.rb
|
540
|
+
- lib/rubocop/cop/style/constant_visibility.rb
|
541
|
+
- lib/rubocop/cop/style/copyright.rb
|
542
|
+
- lib/rubocop/cop/style/date_time.rb
|
543
|
+
- lib/rubocop/cop/style/def_with_parentheses.rb
|
544
|
+
- lib/rubocop/cop/style/dir.rb
|
545
|
+
- lib/rubocop/cop/style/documentation.rb
|
546
|
+
- lib/rubocop/cop/style/documentation_method.rb
|
547
|
+
- lib/rubocop/cop/style/double_cop_disable_directive.rb
|
548
|
+
- lib/rubocop/cop/style/double_negation.rb
|
549
|
+
- lib/rubocop/cop/style/each_for_simple_loop.rb
|
550
|
+
- lib/rubocop/cop/style/each_with_object.rb
|
551
|
+
- lib/rubocop/cop/style/empty_block_parameter.rb
|
552
|
+
- lib/rubocop/cop/style/empty_case_condition.rb
|
553
|
+
- lib/rubocop/cop/style/empty_else.rb
|
554
|
+
- lib/rubocop/cop/style/empty_lambda_parameter.rb
|
555
|
+
- lib/rubocop/cop/style/empty_literal.rb
|
556
|
+
- lib/rubocop/cop/style/empty_method.rb
|
557
|
+
- lib/rubocop/cop/style/encoding.rb
|
558
|
+
- lib/rubocop/cop/style/end_block.rb
|
559
|
+
- lib/rubocop/cop/style/eval_with_location.rb
|
560
|
+
- lib/rubocop/cop/style/even_odd.rb
|
561
|
+
- lib/rubocop/cop/style/expand_path_arguments.rb
|
562
|
+
- lib/rubocop/cop/style/float_division.rb
|
563
|
+
- lib/rubocop/cop/style/for.rb
|
564
|
+
- lib/rubocop/cop/style/format_string.rb
|
565
|
+
- lib/rubocop/cop/style/format_string_token.rb
|
566
|
+
- lib/rubocop/cop/style/frozen_string_literal_comment.rb
|
567
|
+
- lib/rubocop/cop/style/global_vars.rb
|
568
|
+
- lib/rubocop/cop/style/guard_clause.rb
|
569
|
+
- lib/rubocop/cop/style/hash_syntax.rb
|
570
|
+
- lib/rubocop/cop/style/identical_conditional_branches.rb
|
571
|
+
- lib/rubocop/cop/style/if_inside_else.rb
|
572
|
+
- lib/rubocop/cop/style/if_unless_modifier.rb
|
573
|
+
- lib/rubocop/cop/style/if_unless_modifier_of_if_unless.rb
|
574
|
+
- lib/rubocop/cop/style/if_with_semicolon.rb
|
575
|
+
- lib/rubocop/cop/style/implicit_runtime_error.rb
|
576
|
+
- lib/rubocop/cop/style/infinite_loop.rb
|
577
|
+
- lib/rubocop/cop/style/inline_comment.rb
|
578
|
+
- lib/rubocop/cop/style/inverse_methods.rb
|
579
|
+
- lib/rubocop/cop/style/ip_addresses.rb
|
580
|
+
- lib/rubocop/cop/style/lambda.rb
|
581
|
+
- lib/rubocop/cop/style/lambda_call.rb
|
582
|
+
- lib/rubocop/cop/style/line_end_concatenation.rb
|
583
|
+
- lib/rubocop/cop/style/method_call_with_args_parentheses.rb
|
584
|
+
- lib/rubocop/cop/style/method_call_without_args_parentheses.rb
|
585
|
+
- lib/rubocop/cop/style/method_called_on_do_end_block.rb
|
586
|
+
- lib/rubocop/cop/style/method_def_parentheses.rb
|
587
|
+
- lib/rubocop/cop/style/method_missing_super.rb
|
588
|
+
- lib/rubocop/cop/style/min_max.rb
|
589
|
+
- lib/rubocop/cop/style/missing_else.rb
|
590
|
+
- lib/rubocop/cop/style/missing_respond_to_missing.rb
|
591
|
+
- lib/rubocop/cop/style/mixin_grouping.rb
|
592
|
+
- lib/rubocop/cop/style/mixin_usage.rb
|
593
|
+
- lib/rubocop/cop/style/module_function.rb
|
594
|
+
- lib/rubocop/cop/style/multiline_block_chain.rb
|
595
|
+
- lib/rubocop/cop/style/multiline_if_modifier.rb
|
596
|
+
- lib/rubocop/cop/style/multiline_if_then.rb
|
597
|
+
- lib/rubocop/cop/style/multiline_memoization.rb
|
598
|
+
- lib/rubocop/cop/style/multiline_method_signature.rb
|
599
|
+
- lib/rubocop/cop/style/multiline_ternary_operator.rb
|
600
|
+
- lib/rubocop/cop/style/multiline_when_then.rb
|
601
|
+
- lib/rubocop/cop/style/multiple_comparison.rb
|
602
|
+
- lib/rubocop/cop/style/mutable_constant.rb
|
603
|
+
- lib/rubocop/cop/style/negated_if.rb
|
604
|
+
- lib/rubocop/cop/style/negated_unless.rb
|
605
|
+
- lib/rubocop/cop/style/negated_while.rb
|
606
|
+
- lib/rubocop/cop/style/nested_modifier.rb
|
607
|
+
- lib/rubocop/cop/style/nested_parenthesized_calls.rb
|
608
|
+
- lib/rubocop/cop/style/nested_ternary_operator.rb
|
609
|
+
- lib/rubocop/cop/style/next.rb
|
610
|
+
- lib/rubocop/cop/style/nil_comparison.rb
|
611
|
+
- lib/rubocop/cop/style/non_nil_check.rb
|
612
|
+
- lib/rubocop/cop/style/not.rb
|
613
|
+
- lib/rubocop/cop/style/numeric_literal_prefix.rb
|
614
|
+
- lib/rubocop/cop/style/numeric_literals.rb
|
615
|
+
- lib/rubocop/cop/style/numeric_predicate.rb
|
616
|
+
- lib/rubocop/cop/style/one_line_conditional.rb
|
617
|
+
- lib/rubocop/cop/style/option_hash.rb
|
618
|
+
- lib/rubocop/cop/style/optional_arguments.rb
|
619
|
+
- lib/rubocop/cop/style/or_assignment.rb
|
620
|
+
- lib/rubocop/cop/style/parallel_assignment.rb
|
621
|
+
- lib/rubocop/cop/style/parentheses_around_condition.rb
|
622
|
+
- lib/rubocop/cop/style/percent_literal_delimiters.rb
|
623
|
+
- lib/rubocop/cop/style/percent_q_literals.rb
|
624
|
+
- lib/rubocop/cop/style/perl_backrefs.rb
|
625
|
+
- lib/rubocop/cop/style/preferred_hash_methods.rb
|
626
|
+
- lib/rubocop/cop/style/proc.rb
|
627
|
+
- lib/rubocop/cop/style/raise_args.rb
|
628
|
+
- lib/rubocop/cop/style/random_with_offset.rb
|
629
|
+
- lib/rubocop/cop/style/redundant_begin.rb
|
630
|
+
- lib/rubocop/cop/style/redundant_conditional.rb
|
631
|
+
- lib/rubocop/cop/style/redundant_exception.rb
|
632
|
+
- lib/rubocop/cop/style/redundant_freeze.rb
|
633
|
+
- lib/rubocop/cop/style/redundant_parentheses.rb
|
634
|
+
- lib/rubocop/cop/style/redundant_return.rb
|
635
|
+
- lib/rubocop/cop/style/redundant_self.rb
|
636
|
+
- lib/rubocop/cop/style/redundant_sort_by.rb
|
637
|
+
- lib/rubocop/cop/style/regexp_literal.rb
|
638
|
+
- lib/rubocop/cop/style/rescue_modifier.rb
|
639
|
+
- lib/rubocop/cop/style/rescue_standard_error.rb
|
640
|
+
- lib/rubocop/cop/style/return_nil.rb
|
641
|
+
- lib/rubocop/cop/style/safe_navigation.rb
|
642
|
+
- lib/rubocop/cop/style/sample.rb
|
643
|
+
- lib/rubocop/cop/style/self_assignment.rb
|
644
|
+
- lib/rubocop/cop/style/semicolon.rb
|
645
|
+
- lib/rubocop/cop/style/send.rb
|
646
|
+
- lib/rubocop/cop/style/signal_exception.rb
|
647
|
+
- lib/rubocop/cop/style/single_line_block_params.rb
|
648
|
+
- lib/rubocop/cop/style/single_line_methods.rb
|
649
|
+
- lib/rubocop/cop/style/special_global_vars.rb
|
650
|
+
- lib/rubocop/cop/style/stabby_lambda_parentheses.rb
|
651
|
+
- lib/rubocop/cop/style/stderr_puts.rb
|
652
|
+
- lib/rubocop/cop/style/string_hash_keys.rb
|
653
|
+
- lib/rubocop/cop/style/string_literals.rb
|
654
|
+
- lib/rubocop/cop/style/string_literals_in_interpolation.rb
|
655
|
+
- lib/rubocop/cop/style/string_methods.rb
|
656
|
+
- lib/rubocop/cop/style/strip.rb
|
657
|
+
- lib/rubocop/cop/style/struct_inheritance.rb
|
658
|
+
- lib/rubocop/cop/style/symbol_array.rb
|
659
|
+
- lib/rubocop/cop/style/symbol_literal.rb
|
660
|
+
- lib/rubocop/cop/style/symbol_proc.rb
|
661
|
+
- lib/rubocop/cop/style/ternary_parentheses.rb
|
662
|
+
- lib/rubocop/cop/style/trailing_body_on_class.rb
|
663
|
+
- lib/rubocop/cop/style/trailing_body_on_method_definition.rb
|
664
|
+
- lib/rubocop/cop/style/trailing_body_on_module.rb
|
665
|
+
- lib/rubocop/cop/style/trailing_comma_in_arguments.rb
|
666
|
+
- lib/rubocop/cop/style/trailing_comma_in_array_literal.rb
|
667
|
+
- lib/rubocop/cop/style/trailing_comma_in_hash_literal.rb
|
668
|
+
- lib/rubocop/cop/style/trailing_method_end_statement.rb
|
669
|
+
- lib/rubocop/cop/style/trailing_underscore_variable.rb
|
670
|
+
- lib/rubocop/cop/style/trivial_accessors.rb
|
671
|
+
- lib/rubocop/cop/style/unless_else.rb
|
672
|
+
- lib/rubocop/cop/style/unneeded_capital_w.rb
|
673
|
+
- lib/rubocop/cop/style/unneeded_condition.rb
|
674
|
+
- lib/rubocop/cop/style/unneeded_interpolation.rb
|
675
|
+
- lib/rubocop/cop/style/unneeded_percent_q.rb
|
676
|
+
- lib/rubocop/cop/style/unneeded_sort.rb
|
677
|
+
- lib/rubocop/cop/style/unpack_first.rb
|
678
|
+
- lib/rubocop/cop/style/variable_interpolation.rb
|
679
|
+
- lib/rubocop/cop/style/when_then.rb
|
680
|
+
- lib/rubocop/cop/style/while_until_do.rb
|
681
|
+
- lib/rubocop/cop/style/while_until_modifier.rb
|
682
|
+
- lib/rubocop/cop/style/word_array.rb
|
683
|
+
- lib/rubocop/cop/style/yoda_condition.rb
|
684
|
+
- lib/rubocop/cop/style/zero_length_predicate.rb
|
685
|
+
- lib/rubocop/cop/team.rb
|
686
|
+
- lib/rubocop/cop/util.rb
|
687
|
+
- lib/rubocop/cop/utils/format_string.rb
|
688
|
+
- lib/rubocop/cop/variable_force.rb
|
689
|
+
- lib/rubocop/cop/variable_force/assignment.rb
|
690
|
+
- lib/rubocop/cop/variable_force/branch.rb
|
691
|
+
- lib/rubocop/cop/variable_force/branchable.rb
|
692
|
+
- lib/rubocop/cop/variable_force/reference.rb
|
693
|
+
- lib/rubocop/cop/variable_force/scope.rb
|
694
|
+
- lib/rubocop/cop/variable_force/variable.rb
|
695
|
+
- lib/rubocop/cop/variable_force/variable_table.rb
|
696
|
+
- lib/rubocop/core_ext/string.rb
|
697
|
+
- lib/rubocop/error.rb
|
698
|
+
- lib/rubocop/file_finder.rb
|
699
|
+
- lib/rubocop/formatter/auto_gen_config_formatter.rb
|
700
|
+
- lib/rubocop/formatter/base_formatter.rb
|
701
|
+
- lib/rubocop/formatter/clang_style_formatter.rb
|
702
|
+
- lib/rubocop/formatter/colorizable.rb
|
703
|
+
- lib/rubocop/formatter/disabled_config_formatter.rb
|
704
|
+
- lib/rubocop/formatter/disabled_lines_formatter.rb
|
705
|
+
- lib/rubocop/formatter/emacs_style_formatter.rb
|
706
|
+
- lib/rubocop/formatter/file_list_formatter.rb
|
707
|
+
- lib/rubocop/formatter/formatter_set.rb
|
708
|
+
- lib/rubocop/formatter/fuubar_style_formatter.rb
|
709
|
+
- lib/rubocop/formatter/html_formatter.rb
|
710
|
+
- lib/rubocop/formatter/json_formatter.rb
|
711
|
+
- lib/rubocop/formatter/offense_count_formatter.rb
|
712
|
+
- lib/rubocop/formatter/pacman_formatter.rb
|
713
|
+
- lib/rubocop/formatter/progress_formatter.rb
|
714
|
+
- lib/rubocop/formatter/quiet_formatter.rb
|
715
|
+
- lib/rubocop/formatter/simple_text_formatter.rb
|
716
|
+
- lib/rubocop/formatter/tap_formatter.rb
|
717
|
+
- lib/rubocop/formatter/text_util.rb
|
718
|
+
- lib/rubocop/formatter/worst_offenders_formatter.rb
|
719
|
+
- lib/rubocop/magic_comment.rb
|
720
|
+
- lib/rubocop/name_similarity.rb
|
721
|
+
- lib/rubocop/node_pattern.rb
|
722
|
+
- lib/rubocop/options.rb
|
723
|
+
- lib/rubocop/path_util.rb
|
724
|
+
- lib/rubocop/platform.rb
|
725
|
+
- lib/rubocop/processed_source.rb
|
726
|
+
- lib/rubocop/rake_task.rb
|
727
|
+
- lib/rubocop/remote_config.rb
|
728
|
+
- lib/rubocop/result_cache.rb
|
729
|
+
- lib/rubocop/rspec/cop_helper.rb
|
730
|
+
- lib/rubocop/rspec/expect_offense.rb
|
731
|
+
- lib/rubocop/rspec/host_environment_simulation_helper.rb
|
732
|
+
- lib/rubocop/rspec/shared_contexts.rb
|
733
|
+
- lib/rubocop/rspec/support.rb
|
734
|
+
- lib/rubocop/runner.rb
|
735
|
+
- lib/rubocop/string_interpreter.rb
|
736
|
+
- lib/rubocop/string_util.rb
|
737
|
+
- lib/rubocop/target_finder.rb
|
738
|
+
- lib/rubocop/token.rb
|
739
|
+
- lib/rubocop/version.rb
|
740
|
+
- lib/rubocop/warning.rb
|
741
|
+
- lib/rubocop/yaml_duplication_checker.rb
|
742
|
+
homepage: https://github.com/rubocop-hq/rubocop
|
743
|
+
licenses:
|
744
|
+
- MIT
|
745
|
+
metadata:
|
746
|
+
homepage_uri: https://www.rubocop.org/
|
747
|
+
changelog_uri: https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md
|
748
|
+
source_code_uri: https://github.com/rubocop-hq/rubocop/
|
749
|
+
documentation_uri: https://docs.rubocop.org/
|
750
|
+
bug_tracker_uri: https://github.com/rubocop-hq/rubocop/issues
|
751
|
+
post_install_message:
|
752
|
+
rdoc_options: []
|
753
|
+
require_paths:
|
754
|
+
- lib
|
755
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
756
|
+
requirements:
|
757
|
+
- - ">="
|
758
|
+
- !ruby/object:Gem::Version
|
759
|
+
version: 2.3.0
|
760
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
761
|
+
requirements:
|
762
|
+
- - ">="
|
763
|
+
- !ruby/object:Gem::Version
|
764
|
+
version: '0'
|
765
|
+
requirements: []
|
766
|
+
rubygems_version: 3.0.3
|
767
|
+
signing_key:
|
768
|
+
specification_version: 4
|
769
|
+
summary: Automatic Ruby code style checking tool.
|
770
|
+
test_files: []
|