Module: RuboCop
- Defined in:
- lib/rubocop/config.rb,
lib/rubocop/cli.rb,
lib/rubocop/error.rb,
lib/rubocop/token.rb,
lib/rubocop/runner.rb,
lib/rubocop/cop/cop.rb,
lib/rubocop/options.rb,
lib/rubocop/version.rb,
lib/rubocop/warning.rb,
lib/rubocop/ast/node.rb,
lib/rubocop/ast/sexp.rb,
lib/rubocop/cop/team.rb,
lib/rubocop/cop/util.rb,
lib/rubocop/platform.rb,
lib/rubocop/cop/badge.rb,
lib/rubocop/cop/force.rb,
lib/rubocop/path_util.rb,
lib/rubocop/rake_task.rb,
lib/rubocop/ast/builder.rb,
lib/rubocop/cached_data.rb,
lib/rubocop/cop/offense.rb,
lib/rubocop/string_util.rb,
lib/rubocop/config_store.rb,
lib/rubocop/cop/registry.rb,
lib/rubocop/cop/severity.rb,
lib/rubocop/node_pattern.rb,
lib/rubocop/result_cache.rb,
lib/rubocop/ast/traversal.rb,
lib/rubocop/config_loader.rb,
lib/rubocop/cop/corrector.rb,
lib/rubocop/cop/generator.rb,
lib/rubocop/cop/lint/loop.rb,
lib/rubocop/cop/lint/void.rb,
lib/rubocop/cop/style/dir.rb,
lib/rubocop/cop/style/for.rb,
lib/rubocop/cop/style/not.rb,
lib/rubocop/magic_comment.rb,
lib/rubocop/remote_config.rb,
lib/rubocop/target_finder.rb,
lib/rubocop/comment_config.rb,
lib/rubocop/cop/layout/tab.rb,
lib/rubocop/cop/rails/date.rb,
lib/rubocop/cop/rails/exit.rb,
lib/rubocop/cop/style/attr.rb,
lib/rubocop/cop/style/next.rb,
lib/rubocop/cop/style/proc.rb,
lib/rubocop/cop/style/send.rb,
lib/rubocop/cop/lint/syntax.rb,
lib/rubocop/cop/rails/blank.rb,
lib/rubocop/cop/style/alias.rb,
lib/rubocop/name_similarity.rb,
lib/rubocop/ast/node/if_node.rb,
lib/rubocop/ast/node/or_node.rb,
lib/rubocop/cop/commissioner.rb,
lib/rubocop/cop/ignored_node.rb,
lib/rubocop/cop/rails/output.rb,
lib/rubocop/cop/style/and_or.rb,
lib/rubocop/cop/style/lambda.rb,
lib/rubocop/processed_source.rb,
lib/rubocop/rspec/cop_helper.rb,
lib/rubocop/ast/node/and_node.rb,
lib/rubocop/ast/node/def_node.rb,
lib/rubocop/ast/node/for_node.rb,
lib/rubocop/cop/lint/debugger.rb,
lib/rubocop/cop/lint/rand_one.rb,
lib/rubocop/cop/rails/find_by.rb,
lib/rubocop/cop/rails/present.rb,
lib/rubocop/cop/security/eval.rb,
lib/rubocop/cop/style/min_max.rb,
lib/rubocop/ast/node/args_node.rb,
lib/rubocop/ast/node/case_node.rb,
lib/rubocop/ast/node/hash_node.rb,
lib/rubocop/ast/node/pair_node.rb,
lib/rubocop/ast/node/send_node.rb,
lib/rubocop/ast/node/when_node.rb,
lib/rubocop/cop/mixin/def_node.rb,
lib/rubocop/cop/rails/delegate.rb,
lib/rubocop/cop/style/encoding.rb,
lib/rubocop/cop/style/even_odd.rb,
lib/rubocop/cop/variable_force.rb,
lib/rubocop/string_interpreter.rb,
lib/rubocop/ast/node/array_node.rb,
lib/rubocop/ast/node/block_node.rb,
lib/rubocop/ast/node/super_node.rb,
lib/rubocop/ast/node/until_node.rb,
lib/rubocop/ast/node/while_node.rb,
lib/rubocop/ast/node/yield_node.rb,
lib/rubocop/cop/lint/empty_when.rb,
lib/rubocop/cop/lint/uri_regexp.rb,
lib/rubocop/cop/mixin/safe_mode.rb,
lib/rubocop/cop/rails/file_path.rb,
lib/rubocop/cop/rails/find_each.rb,
lib/rubocop/cop/rails/save_bang.rb,
lib/rubocop/cop/rails/time_zone.rb,
lib/rubocop/cop/style/copyright.rb,
lib/rubocop/cop/style/end_block.rb,
lib/rubocop/cop/style/flip_flop.rb,
lib/rubocop/cop/style/semicolon.rb,
lib/rubocop/cop/style/when_then.rb,
lib/rubocop/formatter/text_util.rb,
lib/rubocop/ast/node/ensure_node.rb,
lib/rubocop/ast/node/regexp_node.rb,
lib/rubocop/cop/lint/else_layout.rb,
lib/rubocop/cop/lint/rescue_type.rb,
lib/rubocop/cop/metrics/abc_size.rb,
lib/rubocop/cop/naming/file_name.rb,
lib/rubocop/cop/performance/size.rb,
lib/rubocop/cop/rails/scope_args.rb,
lib/rubocop/cop/rails/validation.rb,
lib/rubocop/cop/style/array_join.rb,
lib/rubocop/cop/style/class_vars.rb,
lib/rubocop/cop/style/empty_else.rb,
lib/rubocop/cop/style/negated_if.rb,
lib/rubocop/cop/style/raise_args.rb,
lib/rubocop/cop/style/return_nil.rb,
lib/rubocop/cop/style/word_array.rb,
lib/rubocop/rspec/expect_offense.rb,
lib/rubocop/ast/node/resbody_node.rb,
lib/rubocop/cop/autocorrect_logic.rb,
lib/rubocop/cop/layout/align_hash.rb,
lib/rubocop/cop/lint/empty_ensure.rb,
lib/rubocop/cop/message_annotator.rb,
lib/rubocop/cop/mixin/code_length.rb,
lib/rubocop/cop/mixin/duplication.rb,
lib/rubocop/cop/mixin/match_range.rb,
lib/rubocop/cop/mixin/parentheses.rb,
lib/rubocop/cop/mixin/rescue_node.rb,
lib/rubocop/cop/mixin/string_help.rb,
lib/rubocop/cop/performance/count.rb,
lib/rubocop/cop/style/begin_block.rb,
lib/rubocop/cop/style/class_check.rb,
lib/rubocop/cop/style/global_vars.rb,
lib/rubocop/cop/style/hash_syntax.rb,
lib/rubocop/cop/style/lambda_call.rb,
lib/rubocop/cop/style/option_hash.rb,
lib/rubocop/cop/style/symbol_proc.rb,
lib/rubocop/cop/style/unless_else.rb,
lib/rubocop/formatter/colorizable.rb,
lib/rubocop/config_loader_resolver.rb,
lib/rubocop/cop/layout/align_array.rb,
lib/rubocop/cop/layout/empty_lines.rb,
lib/rubocop/cop/layout/end_of_line.rb,
lib/rubocop/cop/layout/indent_hash.rb,
lib/rubocop/cop/lint/end_alignment.rb,
lib/rubocop/cop/lint/end_in_method.rb,
lib/rubocop/cop/lint/ensure_return.rb,
lib/rubocop/cop/mixin/array_syntax.rb,
lib/rubocop/cop/mixin/integer_node.rb,
lib/rubocop/cop/mixin/space_inside.rb,
lib/rubocop/cop/naming/method_name.rb,
lib/rubocop/cop/performance/caller.rb,
lib/rubocop/cop/performance/detect.rb,
lib/rubocop/cop/performance/sample.rb,
lib/rubocop/cop/security/json_load.rb,
lib/rubocop/cop/security/yaml_load.rb,
lib/rubocop/cop/style/empty_method.rb,
lib/rubocop/cop/style/guard_clause.rb,
lib/rubocop/cop/style/missing_else.rb,
lib/rubocop/cop/style/symbol_array.rb,
lib/rubocop/cop/layout/dot_position.rb,
lib/rubocop/cop/layout/indent_array.rb,
lib/rubocop/cop/lint/boolean_symbol.rb,
lib/rubocop/cop/lint/duplicated_key.rb,
lib/rubocop/cop/metrics/line_length.rb,
lib/rubocop/cop/mixin/percent_array.rb,
lib/rubocop/cop/performance/casecmp.rb,
lib/rubocop/cop/rails/action_filter.rb,
lib/rubocop/cop/rails/output_safety.rb,
lib/rubocop/cop/style/case_equality.rb,
lib/rubocop/cop/style/class_methods.rb,
lib/rubocop/cop/style/documentation.rb,
lib/rubocop/cop/style/empty_literal.rb,
lib/rubocop/cop/style/format_string.rb,
lib/rubocop/cop/style/infinite_loop.rb,
lib/rubocop/cop/style/negated_while.rb,
lib/rubocop/cop/style/non_nil_check.rb,
lib/rubocop/cop/style/or_assignment.rb,
lib/rubocop/cop/style/perl_backrefs.rb,
lib/rubocop/formatter/formatter_set.rb,
lib/rubocop/formatter/tap_formatter.rb,
lib/rubocop/cop/bundler/ordered_gems.rb,
lib/rubocop/cop/layout/extra_spacing.rb,
lib/rubocop/cop/lint/block_alignment.rb,
lib/rubocop/cop/lint/unified_integer.rb,
lib/rubocop/cop/metrics/block_length.rb,
lib/rubocop/cop/metrics/class_length.rb,
lib/rubocop/cop/mixin/array_min_size.rb,
lib/rubocop/cop/mixin/hash_alignment.rb,
lib/rubocop/cop/mixin/too_many_lines.rb,
lib/rubocop/cop/mixin/trailing_comma.rb,
lib/rubocop/cop/naming/constant_name.rb,
lib/rubocop/cop/naming/variable_name.rb,
lib/rubocop/cop/performance/end_with.rb,
lib/rubocop/cop/performance/flat_map.rb,
lib/rubocop/cop/style/ascii_comments.rb,
lib/rubocop/cop/style/block_comments.rb,
lib/rubocop/cop/style/if_inside_else.rb,
lib/rubocop/cop/style/inline_comment.rb,
lib/rubocop/cop/style/method_missing.rb,
lib/rubocop/cop/style/mixin_grouping.rb,
lib/rubocop/cop/style/nil_comparison.rb,
lib/rubocop/cop/style/redundant_self.rb,
lib/rubocop/cop/style/regexp_literal.rb,
lib/rubocop/cop/style/string_methods.rb,
lib/rubocop/cop/style/symbol_literal.rb,
lib/rubocop/cop/style/while_until_do.rb,
lib/rubocop/cop/style/yoda_condition.rb,
lib/rubocop/cop/variable_force/scope.rb,
lib/rubocop/formatter/base_formatter.rb,
lib/rubocop/formatter/html_formatter.rb,
lib/rubocop/formatter/json_formatter.rb,
lib/rubocop/cop/layout/else_alignment.rb,
lib/rubocop/cop/layout/indent_heredoc.rb,
lib/rubocop/cop/lint/empty_expression.rb,
lib/rubocop/cop/lint/multiple_compare.rb,
lib/rubocop/cop/lint/rescue_exception.rb,
lib/rubocop/cop/lint/unneeded_disable.rb,
lib/rubocop/cop/lint/unreachable_code.rb,
lib/rubocop/cop/metrics/block_nesting.rb,
lib/rubocop/cop/metrics/method_length.rb,
lib/rubocop/cop/metrics/module_length.rb,
lib/rubocop/cop/mixin/classish_length.rb,
lib/rubocop/cop/mixin/ignored_pattern.rb,
lib/rubocop/cop/mixin/min_body_length.rb,
lib/rubocop/cop/mixin/percent_literal.rb,
lib/rubocop/cop/mixin/safe_assignment.rb,
lib/rubocop/cop/mixin/unused_argument.rb,
lib/rubocop/cop/naming/predicate_name.rb,
lib/rubocop/cop/performance/times_map.rb,
lib/rubocop/cop/rails/application_job.rb,
lib/rubocop/cop/rails/dynamic_find_by.rb,
lib/rubocop/cop/rails/enum_uniqueness.rb,
lib/rubocop/cop/rails/not_null_column.rb,
lib/rubocop/cop/rails/request_referer.rb,
lib/rubocop/cop/rails/safe_navigation.rb,
lib/rubocop/cop/security/marshal_load.rb,
lib/rubocop/cop/style/command_literal.rb,
lib/rubocop/cop/style/double_negation.rb,
lib/rubocop/cop/style/inverse_methods.rb,
lib/rubocop/cop/style/module_function.rb,
lib/rubocop/cop/style/nested_modifier.rb,
lib/rubocop/cop/style/redundant_begin.rb,
lib/rubocop/cop/style/rescue_modifier.rb,
lib/rubocop/cop/style/safe_navigation.rb,
lib/rubocop/cop/style/self_assignment.rb,
lib/rubocop/cop/style/string_literals.rb,
lib/rubocop/cop/variable_force/branch.rb,
lib/rubocop/cop/bundler/duplicated_gem.rb,
lib/rubocop/cop/layout/space_after_not.rb,
lib/rubocop/cop/lint/def_end_alignment.rb,
lib/rubocop/cop/lint/duplicate_methods.rb,
lib/rubocop/cop/lint/handle_exceptions.rb,
lib/rubocop/cop/lint/inherit_exception.rb,
lib/rubocop/cop/lint/script_permission.rb,
lib/rubocop/cop/mixin/check_assignment.rb,
lib/rubocop/cop/mixin/configurable_max.rb,
lib/rubocop/cop/naming/variable_number.rb,
lib/rubocop/cop/performance/fixed_size.rb,
lib/rubocop/cop/performance/start_with.rb,
lib/rubocop/cop/style/block_delimiters.rb,
lib/rubocop/cop/style/each_with_object.rb,
lib/rubocop/cop/style/mutable_constant.rb,
lib/rubocop/cop/style/numeric_literals.rb,
lib/rubocop/cop/style/redundant_freeze.rb,
lib/rubocop/cop/style/redundant_return.rb,
lib/rubocop/cop/style/signal_exception.rb,
lib/rubocop/ast/node/keyword_splat_node.rb,
lib/rubocop/cop/layout/align_parameters.rb,
lib/rubocop/cop/layout/case_indentation.rb,
lib/rubocop/cop/lint/ambiguous_operator.rb,
lib/rubocop/cop/lint/condition_position.rb,
lib/rubocop/cop/lint/float_out_of_range.rb,
lib/rubocop/cop/lint/shadowed_exception.rb,
lib/rubocop/cop/lint/useless_assignment.rb,
lib/rubocop/cop/lint/useless_comparison.rb,
lib/rubocop/cop/metrics/parameter_lists.rb,
lib/rubocop/cop/mixin/method_complexity.rb,
lib/rubocop/cop/mixin/method_preference.rb,
lib/rubocop/cop/mixin/parser_diagnostic.rb,
lib/rubocop/cop/mixin/surrounding_space.rb,
lib/rubocop/cop/rails/uniq_before_pluck.rb,
lib/rubocop/cop/style/character_literal.rb,
lib/rubocop/cop/style/colon_method_call.rb,
lib/rubocop/cop/style/if_with_semicolon.rb,
lib/rubocop/cop/style/multiline_if_then.rb,
lib/rubocop/cop/style/numeric_predicate.rb,
lib/rubocop/cop/style/trivial_accessors.rb,
lib/rubocop/cop/variable_force/variable.rb,
lib/rubocop/ast/node/mixin/modifier_node.rb,
lib/rubocop/cop/layout/block_end_newline.rb,
lib/rubocop/cop/layout/indent_assignment.rb,
lib/rubocop/cop/layout/indentation_width.rb,
lib/rubocop/cop/layout/space_after_colon.rb,
lib/rubocop/cop/layout/space_after_comma.rb,
lib/rubocop/cop/lint/empty_interpolation.rb,
lib/rubocop/cop/lint/interpolation_check.rb,
lib/rubocop/cop/lint/require_parentheses.rb,
lib/rubocop/cop/lint/uri_escape_unescape.rb,
lib/rubocop/cop/lint/useless_setter_call.rb,
lib/rubocop/cop/mixin/annotation_comment.rb,
lib/rubocop/cop/mixin/enforce_superclass.rb,
lib/rubocop/cop/mixin/statement_modifier.rb,
lib/rubocop/cop/naming/ascii_identifiers.rb,
lib/rubocop/cop/performance/regexp_match.rb,
lib/rubocop/cop/performance/reverse_each.rb,
lib/rubocop/cop/rails/application_record.rb,
lib/rubocop/cop/style/collection_methods.rb,
lib/rubocop/cop/style/comment_annotation.rb,
lib/rubocop/cop/style/if_unless_modifier.rb,
lib/rubocop/cop/style/optional_arguments.rb,
lib/rubocop/cop/style/percent_q_literals.rb,
lib/rubocop/cop/style/struct_inheritance.rb,
lib/rubocop/cop/style/unneeded_capital_w.rb,
lib/rubocop/cop/style/unneeded_percent_q.rb,
lib/rubocop/cop/variable_force/reference.rb,
lib/rubocop/formatter/progress_formatter.rb,
lib/rubocop/cop/layout/space_before_comma.rb,
lib/rubocop/cop/lint/literal_in_condition.rb,
lib/rubocop/cop/lint/percent_string_array.rb,
lib/rubocop/cop/lint/percent_symbol_array.rb,
lib/rubocop/cop/lint/redundant_with_index.rb,
lib/rubocop/cop/mixin/configurable_naming.rb,
lib/rubocop/cop/mixin/on_normal_if_unless.rb,
lib/rubocop/cop/mixin/target_ruby_version.rb,
lib/rubocop/cop/performance/lstrip_rstrip.rb,
lib/rubocop/cop/performance/range_include.rb,
lib/rubocop/cop/style/format_string_token.rb,
lib/rubocop/cop/style/multiple_comparison.rb,
lib/rubocop/cop/style/parallel_assignment.rb,
lib/rubocop/cop/style/redundant_exception.rb,
lib/rubocop/cop/style/single_line_methods.rb,
lib/rubocop/cop/style/special_global_vars.rb,
lib/rubocop/cop/style/ternary_parentheses.rb,
lib/rubocop/cop/variable_force/assignment.rb,
lib/rubocop/cop/variable_force/branchable.rb,
lib/rubocop/formatter/file_list_formatter.rb,
lib/rubocop/ast/node/mixin/collection_node.rb,
lib/rubocop/cop/layout/comment_indentation.rb,
lib/rubocop/cop/layout/initial_indentation.rb,
lib/rubocop/cop/layout/space_inside_parens.rb,
lib/rubocop/cop/layout/trailing_whitespace.rb,
lib/rubocop/cop/lint/safe_navigation_chain.rb,
lib/rubocop/cop/lint/unused_block_argument.rb,
lib/rubocop/cop/mixin/negative_conditional.rb,
lib/rubocop/cop/mixin/string_literals_help.rb,
lib/rubocop/cop/mixin/target_rails_version.rb,
lib/rubocop/cop/rails/delegate_allow_blank.rb,
lib/rubocop/cop/rails/read_write_attribute.rb,
lib/rubocop/cop/rails/reversible_migration.rb,
lib/rubocop/cop/style/def_with_parentheses.rb,
lib/rubocop/cop/style/documentation_method.rb,
lib/rubocop/cop/style/each_for_simple_loop.rb,
lib/rubocop/cop/style/empty_case_condition.rb,
lib/rubocop/cop/style/one_line_conditional.rb,
lib/rubocop/cop/style/while_until_modifier.rb,
lib/rubocop/ast/node/mixin/conditional_node.rb,
lib/rubocop/cop/layout/space_around_keyword.rb,
lib/rubocop/cop/layout/space_before_comment.rb,
lib/rubocop/cop/layout/trailing_blank_lines.rb,
lib/rubocop/cop/lint/return_in_void_context.rb,
lib/rubocop/cop/lint/unused_method_argument.rb,
lib/rubocop/cop/mixin/autocorrect_alignment.rb,
lib/rubocop/cop/mixin/documentation_comment.rb,
lib/rubocop/cop/mixin/end_keyword_alignment.rb,
lib/rubocop/cop/mixin/frozen_string_literal.rb,
lib/rubocop/cop/naming/accessor_method_name.rb,
lib/rubocop/cop/performance/case_when_splat.rb,
lib/rubocop/cop/performance/redundant_match.rb,
lib/rubocop/cop/performance/redundant_merge.rb,
lib/rubocop/cop/performance/unfreeze_string.rb,
lib/rubocop/cop/rails/pluralization_grammar.rb,
lib/rubocop/cop/style/auto_resource_cleanup.rb,
lib/rubocop/cop/style/bare_percent_literals.rb,
lib/rubocop/cop/style/multiline_block_chain.rb,
lib/rubocop/cop/style/multiline_if_modifier.rb,
lib/rubocop/cop/style/multiline_memoization.rb,
lib/rubocop/cop/style/redundant_conditional.rb,
lib/rubocop/cop/style/redundant_parentheses.rb,
lib/rubocop/cop/style/zero_length_predicate.rb,
lib/rubocop/formatter/clang_style_formatter.rb,
lib/rubocop/formatter/emacs_style_formatter.rb,
lib/rubocop/formatter/simple_text_formatter.rb,
lib/rubocop/ast/node/mixin/hash_element_node.rb,
lib/rubocop/cop/layout/leading_comment_space.rb,
lib/rubocop/cop/layout/space_after_semicolon.rb,
lib/rubocop/cop/layout/space_inside_brackets.rb,
lib/rubocop/cop/lint/assignment_in_condition.rb,
lib/rubocop/cop/lint/useless_access_modifier.rb,
lib/rubocop/cop/metrics/perceived_complexity.rb,
lib/rubocop/cop/mixin/array_hash_indentation.rb,
lib/rubocop/cop/mixin/configurable_numbering.rb,
lib/rubocop/cop/rails/active_support_aliases.rb,
lib/rubocop/cop/rails/relative_date_constant.rb,
lib/rubocop/cop/style/conditional_assignment.rb,
lib/rubocop/cop/style/implicit_runtime_error.rb,
lib/rubocop/cop/style/line_end_concatenation.rb,
lib/rubocop/cop/style/method_def_parentheses.rb,
lib/rubocop/cop/style/numeric_literal_prefix.rb,
lib/rubocop/cop/style/preferred_hash_methods.rb,
lib/rubocop/cop/style/unneeded_interpolation.rb,
lib/rubocop/cop/style/variable_interpolation.rb,
lib/rubocop/formatter/fuubar_style_formatter.rb,
lib/rubocop/ast/node/mixin/parameterized_node.rb,
lib/rubocop/cop/layout/multiline_block_layout.rb,
lib/rubocop/cop/layout/space_around_operators.rb,
lib/rubocop/cop/layout/space_before_first_arg.rb,
lib/rubocop/cop/layout/space_before_semicolon.rb,
lib/rubocop/cop/lint/ambiguous_regexp_literal.rb,
lib/rubocop/cop/lint/deprecated_class_methods.rb,
lib/rubocop/cop/lint/duplicate_case_condition.rb,
lib/rubocop/cop/lint/literal_in_interpolation.rb,
lib/rubocop/cop/lint/nested_method_definition.rb,
lib/rubocop/cop/lint/next_without_accumulator.rb,
lib/rubocop/cop/lint/unneeded_splat_expansion.rb,
lib/rubocop/cop/metrics/cyclomatic_complexity.rb,
lib/rubocop/cop/mixin/configurable_formatting.rb,
lib/rubocop/cop/mixin/empty_lines_around_body.rb,
lib/rubocop/cop/mixin/space_after_punctuation.rb,
lib/rubocop/cop/naming/heredoc_delimiter_case.rb,
lib/rubocop/cop/performance/hash_each_methods.rb,
lib/rubocop/cop/performance/redundant_sort_by.rb,
lib/rubocop/cop/rails/has_and_belongs_to_many.rb,
lib/rubocop/cop/rails/skips_model_validations.rb,
lib/rubocop/cop/style/nested_ternary_operator.rb,
lib/rubocop/cop/variable_force/variable_table.rb,
lib/rubocop/formatter/offense_count_formatter.rb,
lib/rubocop/cop/layout/empty_line_between_defs.rb,
lib/rubocop/cop/layout/indentation_consistency.rb,
lib/rubocop/cop/layout/rescue_ensure_alignment.rb,
lib/rubocop/cop/layout/space_after_method_name.rb,
lib/rubocop/cop/layout/space_in_lambda_literal.rb,
lib/rubocop/cop/lint/each_with_object_argument.rb,
lib/rubocop/cop/lint/format_parameter_mismatch.rb,
lib/rubocop/cop/lint/invalid_character_literal.rb,
lib/rubocop/cop/mixin/first_element_line_break.rb,
lib/rubocop/cop/mixin/space_before_punctuation.rb,
lib/rubocop/cop/performance/compare_with_block.rb,
lib/rubocop/cop/performance/string_replacement.rb,
lib/rubocop/cop/performance/uri_default_parser.rb,
lib/rubocop/cop/style/single_line_block_params.rb,
lib/rubocop/formatter/disabled_lines_formatter.rb,
lib/rubocop/ast/node/mixin/binary_operator_node.rb,
lib/rubocop/ast/node/mixin/method_dispatch_node.rb,
lib/rubocop/cop/lint/rescue_without_error_class.rb,
lib/rubocop/cop/naming/heredoc_delimiter_naming.rb,
lib/rubocop/cop/rails/http_positional_arguments.rb,
lib/rubocop/cop/style/class_and_module_children.rb,
lib/rubocop/cop/style/stabby_lambda_parentheses.rb,
lib/rubocop/cop/style/trailing_comma_in_literal.rb,
lib/rubocop/formatter/disabled_config_formatter.rb,
lib/rubocop/formatter/worst_offenders_formatter.rb,
lib/rubocop/cop/bundler/insecure_protocol_source.rb,
lib/rubocop/cop/layout/space_before_block_braces.rb,
lib/rubocop/cop/layout/space_inside_block_braces.rb,
lib/rubocop/cop/lint/ambiguous_block_association.rb,
lib/rubocop/cop/lint/circular_argument_reference.rb,
lib/rubocop/cop/lint/ineffective_access_modifier.rb,
lib/rubocop/cop/lint/useless_else_without_rescue.rb,
lib/rubocop/cop/performance/redundant_block_call.rb,
lib/rubocop/cop/style/multiline_ternary_operator.rb,
lib/rubocop/cop/style/nested_parenthesized_calls.rb,
lib/rubocop/cop/style/percent_literal_delimiters.rb,
lib/rubocop/cop/layout/space_inside_range_literal.rb,
lib/rubocop/cop/lint/non_local_exit_from_iterator.rb,
lib/rubocop/cop/mixin/configurable_enforced_style.rb,
lib/rubocop/cop/performance/double_start_end_with.rb,
lib/rubocop/cop/style/trailing_comma_in_arguments.rb,
lib/rubocop/ast/node/mixin/predicate_operator_node.rb,
lib/rubocop/cop/layout/access_modifier_indentation.rb,
lib/rubocop/cop/layout/first_parameter_indentation.rb,
lib/rubocop/cop/layout/multiline_assignment_layout.rb,
lib/rubocop/cop/layout/multiline_hash_brace_layout.rb,
lib/rubocop/cop/lint/implicit_string_concatenation.rb,
lib/rubocop/cop/naming/class_and_module_camel_case.rb,
lib/rubocop/cop/style/parentheses_around_condition.rb,
lib/rubocop/cop/style/trailing_underscore_variable.rb,
lib/rubocop/cop/layout/multiline_array_brace_layout.rb,
lib/rubocop/cop/lint/shadowing_outer_local_variable.rb,
lib/rubocop/cop/mixin/preceding_following_alignment.rb,
lib/rubocop/cop/rails/has_many_or_has_one_dependent.rb,
lib/rubocop/cop/style/braces_around_hash_parameters.rb,
lib/rubocop/cop/style/frozen_string_literal_comment.rb,
lib/rubocop/cop/style/method_called_on_do_end_block.rb,
lib/rubocop/cop/internal_affairs/node_type_predicate.rb,
lib/rubocop/cop/layout/empty_lines_around_begin_body.rb,
lib/rubocop/cop/layout/empty_lines_around_block_body.rb,
lib/rubocop/cop/layout/empty_lines_around_class_body.rb,
lib/rubocop/cop/layout/first_hash_element_line_break.rb,
lib/rubocop/cop/layout/space_around_block_parameters.rb,
lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb,
lib/rubocop/cop/style/identical_conditional_branches.rb,
lib/rubocop/cop/layout/empty_line_after_magic_comment.rb,
lib/rubocop/cop/layout/empty_lines_around_method_body.rb,
lib/rubocop/cop/layout/empty_lines_around_module_body.rb,
lib/rubocop/cop/layout/first_array_element_line_break.rb,
lib/rubocop/cop/naming/binary_operator_parameter_name.rb,
lib/rubocop/cop/style/if_unless_modifier_of_if_unless.rb,
lib/rubocop/cop/layout/closing_parenthesis_indentation.rb,
lib/rubocop/cop/layout/multiline_operation_indentation.rb,
lib/rubocop/cop/lint/parentheses_as_grouped_expression.rb,
lib/rubocop/cop/lint/underscore_prefixed_variable_name.rb,
lib/rubocop/cop/mixin/multiline_expression_indentation.rb,
lib/rubocop/cop/style/string_literals_in_interpolation.rb,
lib/rubocop/ast/node/mixin/method_identifier_predicates.rb,
lib/rubocop/cop/layout/first_method_argument_line_break.rb,
lib/rubocop/cop/layout/space_inside_hash_literal_braces.rb,
lib/rubocop/cop/lint/string_conversion_in_interpolation.rb,
lib/rubocop/cop/style/method_call_with_args_parentheses.rb,
lib/rubocop/cop/layout/first_method_parameter_line_break.rb,
lib/rubocop/cop/layout/multiline_method_call_indentation.rb,
lib/rubocop/cop/layout/space_inside_string_interpolation.rb,
lib/rubocop/cop/internal_affairs/offense_location_keyword.rb,
lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb,
lib/rubocop/cop/layout/multiline_method_call_brace_layout.rb,
lib/rubocop/cop/layout/space_inside_array_percent_literal.rb,
lib/rubocop/cop/internal_affairs/useless_message_assertion.rb,
lib/rubocop/cop/style/method_call_without_args_parentheses.rb,
lib/rubocop/cop/internal_affairs/redundant_message_argument.rb,
lib/rubocop/cop/internal_affairs/redundant_location_argument.rb,
lib/rubocop/cop/layout/space_inside_percent_literal_delimiters.rb,
lib/rubocop/cop/layout/multiline_method_definition_brace_layout.rb,
lib/rubocop/cop/layout/space_around_equals_in_parameter_default.rb,
lib/rubocop/cop/layout/empty_lines_around_exception_handling_keywords.rb
Overview
rubocop:disable Metrics/LineLength
Defined Under Namespace
Modules: AST, ConfigLoaderResolver, Cop, Formatter, NameSimilarity, OptionsHelp, PathUtil, Platform, RSpec, StringUtil, Version Classes: CLI, CachedData, CommentConfig, Config, ConfigLoader, ConfigStore, Error, MagicComment, NodePattern, Options, OptionsValidator, ProcessedSource, RakeTask, RemoteConfig, ResultCache, Runner, StringInterpreter, TargetFinder, Token, ValidationError, Warning
Constant Summary collapse
- RUBY_EXTENSIONS =
%w[.rb .builder .fcgi .gemspec .god .jb .jbuilder .mspec .opal .pluginspec .podspec .rabl .rake .rbuild .rbw .rbx .ru .ruby .spec .thor .watchr].freeze
- RUBY_INTERPRETERS =
%w[ruby macruby rake jruby rbx].freeze
- RUBY_FILENAMES =
%w[.irbrc .pryrc Appraisals Berksfile Brewfile Buildfile Capfile Cheffile Dangerfile Deliverfile Fastfile Gemfile Guardfile Jarfile Mavenfile Podfile Puppetfile Rakefile Snapfile Thorfile Vagabondfile Vagrantfile buildfile].freeze