Module: RuboCop::Cop::Style

Defined in:
lib/rubocop/cop/style/for.rb,
lib/rubocop/cop/style/not.rb,
lib/rubocop/cop/style/tab.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/style/alias.rb,
lib/rubocop/cop/style/and_or.rb,
lib/rubocop/cop/style/lambda.rb,
lib/rubocop/cop/style/encoding.rb,
lib/rubocop/cop/style/even_odd.rb,
lib/rubocop/cop/style/copyright.rb,
lib/rubocop/cop/style/end_block.rb,
lib/rubocop/cop/style/file_name.rb,
lib/rubocop/cop/style/flip_flop.rb,
lib/rubocop/cop/style/op_method.rb,
lib/rubocop/cop/style/semicolon.rb,
lib/rubocop/cop/style/when_then.rb,
lib/rubocop/cop/style/align_hash.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/word_array.rb,
lib/rubocop/cop/style/align_array.rb,
lib/rubocop/cop/style/begin_block.rb,
lib/rubocop/cop/style/class_check.rb,
lib/rubocop/cop/style/empty_lines.rb,
lib/rubocop/cop/style/end_of_line.rb,
lib/rubocop/cop/style/global_vars.rb,
lib/rubocop/cop/style/hash_syntax.rb,
lib/rubocop/cop/style/indent_hash.rb,
lib/rubocop/cop/style/lambda_call.rb,
lib/rubocop/cop/style/method_name.rb,
lib/rubocop/cop/style/option_hash.rb,
lib/rubocop/cop/style/symbol_proc.rb,
lib/rubocop/cop/style/unless_else.rb,
lib/rubocop/cop/style/dot_position.rb,
lib/rubocop/cop/style/empty_method.rb,
lib/rubocop/cop/style/guard_clause.rb,
lib/rubocop/cop/style/indent_array.rb,
lib/rubocop/cop/style/missing_else.rb,
lib/rubocop/cop/style/symbol_array.rb,
lib/rubocop/cop/style/case_equality.rb,
lib/rubocop/cop/style/class_methods.rb,
lib/rubocop/cop/style/constant_name.rb,
lib/rubocop/cop/style/documentation.rb,
lib/rubocop/cop/style/empty_literal.rb,
lib/rubocop/cop/style/extra_spacing.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/perl_backrefs.rb,
lib/rubocop/cop/style/variable_name.rb,
lib/rubocop/cop/style/ascii_comments.rb,
lib/rubocop/cop/style/block_comments.rb,
lib/rubocop/cop/style/else_alignment.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/nil_comparison.rb,
lib/rubocop/cop/style/predicate_name.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/command_literal.rb,
lib/rubocop/cop/style/double_negation.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/space_after_not.rb,
lib/rubocop/cop/style/string_literals.rb,
lib/rubocop/cop/style/variable_number.rb,
lib/rubocop/cop/style/align_parameters.rb,
lib/rubocop/cop/style/block_delimiters.rb,
lib/rubocop/cop/style/case_indentation.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/cop/style/ascii_identifiers.rb,
lib/rubocop/cop/style/block_end_newline.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/indent_assignment.rb,
lib/rubocop/cop/style/indentation_width.rb,
lib/rubocop/cop/style/multiline_if_then.rb,
lib/rubocop/cop/style/numeric_predicate.rb,
lib/rubocop/cop/style/space_after_colon.rb,
lib/rubocop/cop/style/space_after_comma.rb,
lib/rubocop/cop/style/trivial_accessors.rb,
lib/rubocop/cop/mixin/annotation_comment.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/space_before_comma.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/style/comment_indentation.rb,
lib/rubocop/cop/style/initial_indentation.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/space_inside_parens.rb,
lib/rubocop/cop/style/special_global_vars.rb,
lib/rubocop/cop/style/ternary_parentheses.rb,
lib/rubocop/cop/style/trailing_whitespace.rb,
lib/rubocop/cop/style/accessor_method_name.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/space_around_keyword.rb,
lib/rubocop/cop/style/space_before_comment.rb,
lib/rubocop/cop/style/trailing_blank_lines.rb,
lib/rubocop/cop/style/while_until_modifier.rb,
lib/rubocop/cop/style/auto_resource_cleanup.rb,
lib/rubocop/cop/style/bare_percent_literals.rb,
lib/rubocop/cop/style/leading_comment_space.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_parentheses.rb,
lib/rubocop/cop/style/space_after_semicolon.rb,
lib/rubocop/cop/style/space_inside_brackets.rb,
lib/rubocop/cop/style/zero_length_predicate.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/multiline_block_layout.rb,
lib/rubocop/cop/style/numeric_literal_prefix.rb,
lib/rubocop/cop/style/preferred_hash_methods.rb,
lib/rubocop/cop/style/space_around_operators.rb,
lib/rubocop/cop/style/space_before_first_arg.rb,
lib/rubocop/cop/style/space_before_semicolon.rb,
lib/rubocop/cop/style/unneeded_interpolation.rb,
lib/rubocop/cop/style/variable_interpolation.rb,
lib/rubocop/cop/mixin/empty_lines_around_body.rb,
lib/rubocop/cop/style/empty_line_between_defs.rb,
lib/rubocop/cop/style/indentation_consistency.rb,
lib/rubocop/cop/style/nested_ternary_operator.rb,
lib/rubocop/cop/style/rescue_ensure_alignment.rb,
lib/rubocop/cop/style/space_after_method_name.rb,
lib/rubocop/cop/style/space_in_lambda_literal.rb,
lib/rubocop/cop/style/single_line_block_params.rb,
lib/rubocop/cop/style/class_and_module_children.rb,
lib/rubocop/cop/style/space_before_block_braces.rb,
lib/rubocop/cop/style/space_inside_block_braces.rb,
lib/rubocop/cop/style/stabby_lambda_parentheses.rb,
lib/rubocop/cop/style/trailing_comma_in_literal.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/style/space_inside_range_literal.rb,
lib/rubocop/cop/style/access_modifier_indentation.rb,
lib/rubocop/cop/style/class_and_module_camel_case.rb,
lib/rubocop/cop/style/first_parameter_indentation.rb,
lib/rubocop/cop/style/multiline_assignment_layout.rb,
lib/rubocop/cop/style/multiline_hash_brace_layout.rb,
lib/rubocop/cop/style/trailing_comma_in_arguments.rb,
lib/rubocop/cop/style/multiline_array_brace_layout.rb,
lib/rubocop/cop/style/parentheses_around_condition.rb,
lib/rubocop/cop/style/trailing_underscore_variable.rb,
lib/rubocop/cop/style/braces_around_hash_parameters.rb,
lib/rubocop/cop/style/empty_lines_around_block_body.rb,
lib/rubocop/cop/style/empty_lines_around_class_body.rb,
lib/rubocop/cop/style/first_hash_element_line_break.rb,
lib/rubocop/cop/style/frozen_string_literal_comment.rb,
lib/rubocop/cop/style/method_called_on_do_end_block.rb,
lib/rubocop/cop/style/space_around_block_parameters.rb,
lib/rubocop/cop/style/empty_lines_around_method_body.rb,
lib/rubocop/cop/style/empty_lines_around_module_body.rb,
lib/rubocop/cop/style/first_array_element_line_break.rb,
lib/rubocop/cop/style/identical_conditional_branches.rb,
lib/rubocop/cop/style/closing_parenthesis_indentation.rb,
lib/rubocop/cop/style/if_unless_modifier_of_if_unless.rb,
lib/rubocop/cop/style/multiline_operation_indentation.rb,
lib/rubocop/cop/style/first_method_argument_line_break.rb,
lib/rubocop/cop/style/space_inside_hash_literal_braces.rb,
lib/rubocop/cop/style/string_literals_in_interpolation.rb,
lib/rubocop/cop/style/first_method_parameter_line_break.rb,
lib/rubocop/cop/style/method_call_with_args_parentheses.rb,
lib/rubocop/cop/style/multiline_method_call_indentation.rb,
lib/rubocop/cop/style/space_inside_string_interpolation.rb,
lib/rubocop/cop/style/empty_lines_around_access_modifier.rb,
lib/rubocop/cop/style/multiline_method_call_brace_layout.rb,
lib/rubocop/cop/style/space_inside_array_percent_literal.rb,
lib/rubocop/cop/style/method_call_without_args_parentheses.rb,
lib/rubocop/cop/style/space_inside_percent_literal_delimiters.rb,
lib/rubocop/cop/style/multiline_method_definition_brace_layout.rb,
lib/rubocop/cop/style/space_around_equals_in_parameter_default.rb

Defined Under Namespace

Modules: AnnotationComment, ConditionalAssignmentHelper, ConditionalCorrectorHelper, EmptyLinesAroundBody Classes: AccessModifierIndentation, AccessorMethodName, Alias, AlignArray, AlignHash, AlignParameters, AndOr, ArrayJoin, AsciiComments, AsciiIdentifiers, Attr, AutoResourceCleanup, BarePercentLiterals, BeginBlock, BlockComments, BlockDelimiters, BlockEndNewline, BracesAroundHashParameters, CaseCorrector, CaseEquality, CaseIndentation, CharacterLiteral, ClassAndModuleCamelCase, ClassAndModuleChildren, ClassCheck, ClassMethods, ClassVars, ClosingParenthesisIndentation, CollectionMethods, ColonMethodCall, CommandLiteral, CommentAnnotation, CommentIndentation, ConditionalAssignment, ConstantName, Copyright, DefWithParentheses, Documentation, DocumentationMethod, DotPosition, DoubleNegation, EachForSimpleLoop, EachWithObject, ElseAlignment, EmptyCaseCondition, EmptyElse, EmptyLineBetweenDefs, EmptyLines, EmptyLinesAroundAccessModifier, EmptyLinesAroundBlockBody, EmptyLinesAroundClassBody, EmptyLinesAroundMethodBody, EmptyLinesAroundModuleBody, EmptyLiteral, EmptyMethod, Encoding, EndBlock, EndOfLine, EvenOdd, ExtraSpacing, FileName, FirstArrayElementLineBreak, FirstHashElementLineBreak, FirstMethodArgumentLineBreak, FirstMethodParameterLineBreak, FirstParameterIndentation, FlipFlop, For, FormatString, FrozenStringLiteralComment, GlobalVars, GuardClause, HashSyntax, IdenticalConditionalBranches, IfCorrector, IfInsideElse, IfUnlessModifier, IfUnlessModifierOfIfUnless, IfWithSemicolon, ImplicitRuntimeError, IndentArray, IndentAssignment, IndentHash, IndentationConsistency, IndentationWidth, InfiniteLoop, InitialIndentation, InlineComment, Lambda, LambdaCall, LeadingCommentSpace, LineEndConcatenation, MethodCallWithArgsParentheses, MethodCallWithoutArgsParentheses, MethodCalledOnDoEndBlock, MethodDefParentheses, MethodMissing, MethodName, MissingElse, ModuleFunction, MultilineArrayBraceLayout, MultilineAssignmentLayout, MultilineBlockChain, MultilineBlockLayout, MultilineHashBraceLayout, MultilineIfModifier, MultilineIfThen, MultilineMemoization, MultilineMethodCallBraceLayout, MultilineMethodCallIndentation, MultilineMethodDefinitionBraceLayout, MultilineOperationIndentation, MultilineTernaryOperator, MutableConstant, NegatedIf, NegatedWhile, NestedModifier, NestedParenthesizedCalls, NestedTernaryOperator, Next, NilComparison, NonNilCheck, Not, NumericLiteralPrefix, NumericLiterals, NumericPredicate, OneLineConditional, OpMethod, OptionHash, OptionalArguments, ParallelAssignment, ParenthesesAroundCondition, PercentLiteralDelimiters, PercentQLiterals, PerlBackrefs, PredicateName, PreferredHashMethods, Proc, RaiseArgs, RedundantBegin, RedundantException, RedundantFreeze, RedundantParentheses, RedundantReturn, RedundantSelf, RegexpLiteral, RescueEnsureAlignment, RescueModifier, SafeNavigation, SelfAssignment, Semicolon, Send, SignalException, SingleLineBlockParams, SingleLineMethods, SpaceAfterColon, SpaceAfterComma, SpaceAfterMethodName, SpaceAfterNot, SpaceAfterSemicolon, SpaceAroundBlockParameters, SpaceAroundEqualsInParameterDefault, SpaceAroundKeyword, SpaceAroundOperators, SpaceBeforeBlockBraces, SpaceBeforeComma, SpaceBeforeComment, SpaceBeforeFirstArg, SpaceBeforeSemicolon, SpaceInLambdaLiteral, SpaceInsideArrayPercentLiteral, SpaceInsideBlockBraces, SpaceInsideBrackets, SpaceInsideHashLiteralBraces, SpaceInsideParens, SpaceInsidePercentLiteralDelimiters, SpaceInsideRangeLiteral, SpaceInsideStringInterpolation, SpecialGlobalVars, StabbyLambdaParentheses, StringLiterals, StringLiteralsInInterpolation, StringMethods, StructInheritance, SymbolArray, SymbolLiteral, SymbolProc, Tab, TernaryCorrector, TernaryParentheses, TrailingBlankLines, TrailingCommaInArguments, TrailingCommaInLiteral, TrailingUnderscoreVariable, TrailingWhitespace, TrivialAccessors, UnlessCorrector, UnlessElse, UnneededCapitalW, UnneededInterpolation, UnneededPercentQ, VariableInterpolation, VariableName, VariableNumber, WhenThen, WhileUntilDo, WhileUntilModifier, WordArray, ZeroLengthPredicate