Module: RuboCop::Cop::Lint

Defined in:
lib/rubocop/cop/lint/loop.rb,
lib/rubocop/cop/lint/void.rb,
lib/rubocop/cop/lint/syntax.rb,
lib/rubocop/cop/lint/to_json.rb,
lib/rubocop/cop/lint/debugger.rb,
lib/rubocop/cop/lint/rand_one.rb,
lib/rubocop/cop/lint/flip_flop.rb,
lib/rubocop/cop/lint/empty_file.rb,
lib/rubocop/cop/lint/empty_when.rb,
lib/rubocop/cop/lint/uri_regexp.rb,
lib/rubocop/cop/lint/else_layout.rb,
lib/rubocop/cop/lint/empty_block.rb,
lib/rubocop/cop/lint/empty_class.rb,
lib/rubocop/cop/lint/rescue_type.rb,
lib/rubocop/cop/lint/empty_ensure.rb,
lib/rubocop/cop/lint/ensure_return.rb,
lib/rubocop/cop/lint/missing_super.rb,
lib/rubocop/cop/lint/triple_quotes.rb,
lib/rubocop/cop/lint/useless_times.rb,
lib/rubocop/cop/lint/boolean_symbol.rb,
lib/rubocop/cop/lint/useless_rescue.rb,
lib/rubocop/cop/lint/ambiguous_range.rb,
lib/rubocop/cop/lint/big_decimal_new.rb,
lib/rubocop/cop/lint/raise_exception.rb,
lib/rubocop/cop/lint/self_assignment.rb,
lib/rubocop/cop/lint/unified_integer.rb,
lib/rubocop/cop/lint/useless_defined.rb,
lib/rubocop/cop/lint/duplicate_branch.rb,
lib/rubocop/cop/lint/empty_expression.rb,
lib/rubocop/cop/lint/empty_in_pattern.rb,
lib/rubocop/cop/lint/float_comparison.rb,
lib/rubocop/cop/lint/mixed_case_range.rb,
lib/rubocop/cop/lint/rescue_exception.rb,
lib/rubocop/cop/lint/unreachable_code.rb,
lib/rubocop/cop/lint/unreachable_loop.rb,
lib/rubocop/cop/mixin/unused_argument.rb,
lib/rubocop/cop/lint/duplicate_methods.rb,
lib/rubocop/cop/lint/duplicate_require.rb,
lib/rubocop/cop/lint/erb_new_arguments.rb,
lib/rubocop/cop/lint/inherit_exception.rb,
lib/rubocop/cop/lint/number_conversion.rb,
lib/rubocop/cop/lint/script_permission.rb,
lib/rubocop/cop/lint/shadowed_argument.rb,
lib/rubocop/cop/lint/symbol_conversion.rb,
lib/rubocop/cop/lint/to_enum_arguments.rb,
lib/rubocop/cop/lint/ambiguous_operator.rb,
lib/rubocop/cop/lint/duplicate_hash_key.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/constant_resolution.rb,
lib/rubocop/cop/lint/empty_interpolation.rb,
lib/rubocop/cop/lint/identity_comparison.rb,
lib/rubocop/cop/lint/interpolation_check.rb,
lib/rubocop/cop/lint/multiple_comparison.rb,
lib/rubocop/cop/lint/regexp_as_condition.rb,
lib/rubocop/cop/lint/require_parentheses.rb,
lib/rubocop/cop/lint/struct_new_override.rb,
lib/rubocop/cop/lint/uri_escape_unescape.rb,
lib/rubocop/cop/lint/useless_setter_call.rb,
lib/rubocop/cop/lint/ambiguous_assignment.rb,
lib/rubocop/cop/lint/deprecated_constants.rb,
lib/rubocop/cop/lint/literal_as_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/lint/suppressed_exception.rb,
lib/rubocop/cop/lint/duplicate_set_element.rb,
lib/rubocop/cop/lint/redundant_with_object.rb,
lib/rubocop/cop/lint/safe_navigation_chain.rb,
lib/rubocop/cop/lint/unused_block_argument.rb,
lib/rubocop/cop/lint/empty_conditional_body.rb,
lib/rubocop/cop/lint/nested_percent_literal.rb,
lib/rubocop/cop/lint/ordered_magic_comments.rb,
lib/rubocop/cop/lint/return_in_void_context.rb,
lib/rubocop/cop/lint/unexpected_block_arity.rb,
lib/rubocop/cop/lint/unused_method_argument.rb,
lib/rubocop/cop/lint/useless_ruby2_keywords.rb,
lib/rubocop/cop/lint/assignment_in_condition.rb,
lib/rubocop/cop/lint/duplicate_magic_comment.rb,
lib/rubocop/cop/lint/duplicate_match_pattern.rb,
lib/rubocop/cop/lint/out_of_range_regexp_ref.rb,
lib/rubocop/cop/lint/redundant_dir_glob_sort.rb,
lib/rubocop/cop/lint/useless_access_modifier.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/hash_compare_by_identity.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/send_with_mixin_argument.rb,
lib/rubocop/cop/lint/duplicate_elsif_condition.rb,
lib/rubocop/cop/lint/each_with_object_argument.rb,
lib/rubocop/cop/lint/format_parameter_mismatch.rb,
lib/rubocop/cop/lint/non_atomic_file_operation.rb,
lib/rubocop/cop/lint/or_assignment_to_constant.rb,
lib/rubocop/cop/lint/redundant_safe_navigation.rb,
lib/rubocop/cop/lint/redundant_splat_expansion.rb,
lib/rubocop/cop/lint/redundant_string_coercion.rb,
lib/rubocop/cop/lint/refinement_import_methods.rb,
lib/rubocop/cop/lint/require_range_parentheses.rb,
lib/rubocop/cop/lint/useless_method_definition.rb,
lib/rubocop/cop/lint/useless_numeric_operation.rb,
lib/rubocop/cop/lint/duplicate_rescue_exception.rb,
lib/rubocop/cop/lint/mixed_regexp_capture_types.rb,
lib/rubocop/cop/lint/require_relative_self_path.rb,
lib/rubocop/cop/lint/safe_navigation_with_empty.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/redundant_require_statement.rb,
lib/rubocop/cop/lint/safe_navigation_consistency.rb,
lib/rubocop/cop/lint/unescaped_bracket_in_regexp.rb,
lib/rubocop/cop/lint/useless_else_without_rescue.rb,
lib/rubocop/cop/lint/constant_definition_in_block.rb,
lib/rubocop/cop/lint/deprecated_open_ssl_constant.rb,
lib/rubocop/cop/lint/heredoc_method_call_position.rb,
lib/rubocop/cop/lint/lambda_without_literal_block.rb,
lib/rubocop/cop/lint/missing_cop_enable_directive.rb,
lib/rubocop/cop/lint/non_local_exit_from_iterator.rb,
lib/rubocop/cop/lint/redundant_regexp_quantifiers.rb,
lib/rubocop/cop/lint/ambiguous_operator_precedence.rb,
lib/rubocop/cop/lint/implicit_string_concatenation.rb,
lib/rubocop/cop/lint/it_without_arguments_in_block.rb,
lib/rubocop/cop/lint/no_return_in_begin_end_blocks.rb,
lib/rubocop/cop/lint/numbered_parameter_assignment.rb,
lib/rubocop/cop/lint/unmodified_reduce_accumulator.rb,
lib/rubocop/cop/lint/constant_overwritten_in_rescue.rb,
lib/rubocop/cop/lint/redundant_cop_enable_directive.rb,
lib/rubocop/cop/lint/shadowing_outer_local_variable.rb,
lib/rubocop/cop/lint/top_level_return_with_argument.rb,
lib/rubocop/cop/lint/literal_assignment_in_condition.rb,
lib/rubocop/cop/lint/non_deterministic_require_order.rb,
lib/rubocop/cop/lint/redundant_cop_disable_directive.rb,
lib/rubocop/cop/lint/parentheses_as_grouped_expression.rb,
lib/rubocop/cop/lint/underscore_prefixed_variable_name.rb,
lib/rubocop/cop/lint/disjunctive_assignment_in_constructor.rb,
lib/rubocop/cop/lint/numeric_operation_with_constant_result.rb,
lib/rubocop/cop/lint/binary_operator_with_identical_operands.rb,
lib/rubocop/cop/lint/trailing_comma_in_attribute_declaration.rb,
lib/rubocop/cop/lint/duplicate_regexp_character_class_element.rb,
lib/rubocop/cop/lint/hash_new_with_keyword_arguments_as_default.rb,
lib/rubocop/cop/lint/incompatible_io_select_with_fiber_scheduler.rb

Defined Under Namespace

Modules: UnusedArgument Classes: AmbiguousAssignment, AmbiguousBlockAssociation, AmbiguousOperator, AmbiguousOperatorPrecedence, AmbiguousRange, AmbiguousRegexpLiteral, AssignmentInCondition, BigDecimalNew, BinaryOperatorWithIdenticalOperands, BooleanSymbol, CircularArgumentReference, ConstantDefinitionInBlock, ConstantOverwrittenInRescue, ConstantResolution, Debugger, DeprecatedClassMethods, DeprecatedConstants, DeprecatedOpenSSLConstant, DisjunctiveAssignmentInConstructor, DuplicateBranch, DuplicateCaseCondition, DuplicateElsifCondition, DuplicateHashKey, DuplicateMagicComment, DuplicateMatchPattern, DuplicateMethods, DuplicateRegexpCharacterClassElement, DuplicateRequire, DuplicateRescueException, DuplicateSetElement, EachWithObjectArgument, ElseLayout, EmptyBlock, EmptyClass, EmptyConditionalBody, EmptyEnsure, EmptyExpression, EmptyFile, EmptyInPattern, EmptyInterpolation, EmptyWhen, EnsureReturn, ErbNewArguments, FlipFlop, FloatComparison, FloatOutOfRange, FormatParameterMismatch, HashCompareByIdentity, HashNewWithKeywordArgumentsAsDefault, HeredocMethodCallPosition, IdentityComparison, ImplicitStringConcatenation, IncompatibleIoSelectWithFiberScheduler, IneffectiveAccessModifier, InheritException, InterpolationCheck, ItWithoutArgumentsInBlock, LambdaWithoutLiteralBlock, LiteralAsCondition, LiteralAssignmentInCondition, LiteralInInterpolation, Loop, MissingCopEnableDirective, MissingSuper, MixedCaseRange, MixedRegexpCaptureTypes, MultipleComparison, NestedMethodDefinition, NestedPercentLiteral, NextWithoutAccumulator, NoReturnInBeginEndBlocks, NonAtomicFileOperation, NonDeterministicRequireOrder, NonLocalExitFromIterator, NumberConversion, NumberedParameterAssignment, NumericOperationWithConstantResult, OrAssignmentToConstant, OrderedMagicComments, OutOfRangeRegexpRef, ParenthesesAsGroupedExpression, PercentStringArray, PercentSymbolArray, RaiseException, RandOne, RedundantCopDisableDirective, RedundantCopEnableDirective, RedundantDirGlobSort, RedundantRegexpQuantifiers, RedundantRequireStatement, RedundantSafeNavigation, RedundantSplatExpansion, RedundantStringCoercion, RedundantWithIndex, RedundantWithObject, RefinementImportMethods, RegexpAsCondition, RequireParentheses, RequireRangeParentheses, RequireRelativeSelfPath, RescueException, RescueType, ReturnInVoidContext, SafeNavigationChain, SafeNavigationConsistency, SafeNavigationWithEmpty, ScriptPermission, SelfAssignment, SendWithMixinArgument, ShadowedArgument, ShadowedException, ShadowingOuterLocalVariable, StructNewOverride, SuppressedException, SymbolConversion, Syntax, ToEnumArguments, ToJSON, TopLevelReturnWithArgument, TrailingCommaInAttributeDeclaration, TripleQuotes, UnderscorePrefixedVariableName, UnescapedBracketInRegexp, UnexpectedBlockArity, UnifiedInteger, UnmodifiedReduceAccumulator, UnreachableCode, UnreachableLoop, UnusedBlockArgument, UnusedMethodArgument, UriEscapeUnescape, UriRegexp, UselessAccessModifier, UselessAssignment, UselessDefined, UselessElseWithoutRescue, UselessMethodDefinition, UselessNumericOperation, UselessRescue, UselessRuby2Keywords, UselessSetterCall, UselessTimes, Void