.hound.yml revision f09ce94d110b0171dae5bc8625d28afcbfc79091
9525de78b38c8ab2b8fac7ab24e40a8382e60ec1Tim ReddehaseAllCops:
9525de78b38c8ab2b8fac7ab24e40a8382e60ec1Tim Reddehase Exclude:
9525de78b38c8ab2b8fac7ab24e40a8382e60ec1Tim Reddehase - 'test/**/*'
9525de78b38c8ab2b8fac7ab24e40a8382e60ec1Tim Reddehase - 'spec/**/*'
9525de78b38c8ab2b8fac7ab24e40a8382e60ec1Tim Reddehase - 'features/**/*'
9525de78b38c8ab2b8fac7ab24e40a8382e60ec1Tim Reddehase - 'script/**/*'
9525de78b38c8ab2b8fac7ab24e40a8382e60ec1Tim Reddehase
f09ce94d110b0171dae5bc8625d28afcbfc79091Tim ReddehaseShowCopNames: true
f09ce94d110b0171dae5bc8625d28afcbfc79091Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase# These are all the cops that are enabled in the default configuration.
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/AccessModifierIndentation:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: Check indentation of private/protected visibility modifiers.
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/AccessorMethodName:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: Check the naming of accessor methods for get_/set_.
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/Alias:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Use alias_method instead of alias.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/AlignArray:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: >-
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Align the elements of an array literal if they span more than
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase one line.
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/AlignHash:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: >-
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Align the elements of a hash literal if they span more than
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase one line.
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/AlignParameters:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: >-
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Align the parameters of a method call if they span more
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase than one line.
9525de78b38c8ab2b8fac7ab24e40a8382e60ec1Tim Reddehase Enabled: false
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/AndOr:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Use &&/|| instead of and/or.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/ArrayJoin:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Use Array#join instead of Array#*.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/AsciiComments:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Use only ascii symbols in comments.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/AsciiIdentifiers:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Use only ascii symbols in identifiers.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/Attr:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Checks for uses of Module#attr.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/BeginBlock:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Avoid the use of BEGIN blocks.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/BarePercentLiterals:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Checks if usage of %() or %Q() matches configuration.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/BlockComments:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Do not use block comments.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/BlockEndNewline:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Put end statement of multiline block on its own line.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/Blocks:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: >-
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Avoid using {...} for multi-line blocks (multiline chaining is
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase always ugly).
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Prefer {...} over do...end for single-line blocks.
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/BracesAroundHashParameters:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Enforce braces style inside hash parameters.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/CaseEquality:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Avoid explicit use of the case equality operator(===).'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/CaseIndentation:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Indentation of when in a case/when/[else/]end.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/CharacterLiteral:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Checks for uses of character literals.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/ClassAndModuleCamelCase:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Use CamelCase for classes and modules.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/ClassAndModuleChildren:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Checks style of children classes and modules.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/ClassCheck:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Enforces consistent use of `Object#is_a?` or `Object#kind_of?`.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/ClassMethods:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Use self when defining module/class methods.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/ClassVars:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Avoid the use of class variables.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/CollectionMethods:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Preferred collection methods.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/ColonMethodCall:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Do not use :: for method call.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/CommentAnnotation:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: >-
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Checks formatting of special comments
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase (TODO, FIXME, OPTIMIZE, HACK, REVIEW).
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/CommentIndentation:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Indentation of comments.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/ConstantName:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Constants should use SCREAMING_SNAKE_CASE.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/DefWithParentheses:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Use def with parentheses when there are arguments.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/DeprecatedHashMethods:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Checks for use of deprecated Hash methods.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/Documentation:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Document classes and non-namespace modules.'
9525de78b38c8ab2b8fac7ab24e40a8382e60ec1Tim Reddehase Enabled: false
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/DotPosition:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Checks the position of the dot in multi-line method calls.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/DoubleNegation:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Checks for uses of double negation (!!).'
9525de78b38c8ab2b8fac7ab24e40a8382e60ec1Tim Reddehase Enabled: false
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/EachWithObject:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Prefer `each_with_object` over `inject` or `reduce`.'
9525de78b38c8ab2b8fac7ab24e40a8382e60ec1Tim Reddehase Enabled: false
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/EmptyLineBetweenDefs:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Use empty lines between defs.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/EmptyLines:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: "Don't use several empty lines in a row."
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/EmptyLinesAroundAccessModifier:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: "Keep blank lines around access modifiers."
9525de78b38c8ab2b8fac7ab24e40a8382e60ec1Tim Reddehase Enabled: false
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/EmptyLinesAroundBody:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: "Keeps track of empty lines around expression bodies."
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/EmptyLiteral:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Prefer literals to Array.new/Hash.new/String.new.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/Encoding:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Use UTF-8 as the source file encoding.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/EndBlock:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Avoid the use of END blocks.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/EndOfLine:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Use Unix-style line endings.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/EvenOdd:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Favor the use of Fixnum#even? && Fixnum#odd?'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/FileName:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Use snake_case for source file names.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/FlipFlop:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Checks for flip flops'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/For:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Checks use of for or each in multiline loops.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/FormatString:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Enforce the use of Kernel#sprintf, Kernel#format or String#%.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/GlobalVars:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Do not introduce global variables.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/GuardClause:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Check for conditionals that can be replaced with guard clauses'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/HashSyntax:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: >-
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Prefer Ruby 1.9 hash syntax { a: 1, b: 2 } over 1.8 syntax
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase { :a => 1, :b => 2 }.
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/IfUnlessModifier:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: >-
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Favor modifier if/unless usage when you have a
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase single-line body.
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/IfWithSemicolon:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Never use if x; .... Use the ternary operator instead.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/IndentationConsistency:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Keep indentation straight.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/IndentationWidth:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Use 2 spaces for indentation.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/IndentArray:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: >-
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Checks the indentation of the first element in an array
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase literal.
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/IndentHash:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Checks the indentation of the first key in a hash literal.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/Lambda:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Use the new lambda literal syntax for single-line blocks.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/LambdaCall:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Use lambda.call(...) instead of lambda.(...).'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/LeadingCommentSpace:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Comments should start with a space.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/LineEndConcatenation:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: >-
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Use \ instead of + or << to concatenate two string literals at
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase line end.
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/MethodCallParentheses:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Do not use parentheses for method calls with no arguments.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/MethodDefParentheses:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: >-
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Checks if the method definitions have or don't have
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase parentheses.
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/MethodName:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Use the configured style when naming methods.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/ModuleFunction:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Checks for usage of `extend self` in modules.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/MultilineBlockChain:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Avoid multi-line chains of blocks.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/MultilineBlockLayout:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Ensures newlines after multiline block do statements.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/MultilineIfThen:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Never use then for multi-line if/unless.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/MultilineTernaryOperator:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: >-
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Avoid multi-line ?: (the ternary operator);
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase use if/unless instead.
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/NegatedIf:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: >-
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Favor unless over if for negative conditions
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase (or control flow or).
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/NegatedWhile:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Favor until over while for negative conditions.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/NestedTernaryOperator:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Use one expression per branch in a ternary operator.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/Next:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Use `next` to skip iteration instead of a condition at the end.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/NilComparison:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Prefer x.nil? to x == nil.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/NonNilCheck:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Checks for redundant nil checks.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/Not:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Use ! instead of not.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/NumericLiterals:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: >-
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Add underscores to large numeric literals to improve their
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase readability.
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/OneLineConditional:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: >-
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Favor the ternary operator(?:) over
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase if/then/else/end constructs.
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/OpMethod:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'When defining binary operators, name the argument other.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/ParenthesesAroundCondition:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: >-
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Don't use parentheses around the condition of an
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase if/unless/while.
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/PercentLiteralDelimiters:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Use `%`-literal delimiters consistently'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/PercentQLiterals:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Checks if uses of %Q/%q match the configured preference.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/PerlBackrefs:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Avoid Perl-style regex back references.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/PredicateName:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Check the names of predicate methods.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/Proc:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Use proc instead of Proc.new.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/RaiseArgs:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Checks the arguments passed to raise/fail.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/RedundantBegin:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: "Don't use begin blocks when they are not needed."
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/RedundantException:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: "Checks for an obsolete RuntimeException argument in raise/fail."
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/RedundantReturn:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: "Don't use return where it's not required."
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/RedundantSelf:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: "Don't use self where it's not needed."
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/RegexpLiteral:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: >-
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Use %r for regular expressions matching more than
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase `MaxSlashes` '/' characters.
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Use %r only for regular expressions matching more than
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase `MaxSlashes` '/' character.
9525de78b38c8ab2b8fac7ab24e40a8382e60ec1Tim Reddehase Enabled: false
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/RescueModifier:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Avoid using rescue in its modifier form.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/SelfAssignment:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: >-
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Checks for places where self-assignment shorthand should have
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase been used.
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/Semicolon:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: "Don't use semicolons to terminate expressions."
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/SignalException:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Checks for proper usage of fail and raise.'
9525de78b38c8ab2b8fac7ab24e40a8382e60ec1Tim Reddehase Enabled: false
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/SingleLineBlockParams:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Enforces the names of some block params.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/SingleLineMethods:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Avoid single-line methods.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/SingleSpaceBeforeFirstArg:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: >-
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Checks that exactly one space is used between a method name
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase and the first argument for method calls without parentheses.
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/SpaceAfterColon:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Use spaces after colons.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/SpaceAfterComma:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Use spaces after commas.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/SpaceAfterControlKeyword:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Use spaces after if/elsif/unless/while/until/case/when.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/SpaceAfterMethodName:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: >-
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Never put a space between a method name and the opening
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase parenthesis in a method definition.
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/SpaceAfterNot:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: Tracks redundant space after the ! operator.
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/SpaceAfterSemicolon:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Use spaces after semicolons.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/SpaceBeforeBlockBraces:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: >-
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Checks that the left block brace has or doesn't have space
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase before it.
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/SpaceBeforeComma:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'No spaces before commas.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/SpaceBeforeComment:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: >-
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Checks for missing space between code and a comment on the
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase same line.
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/SpaceBeforeSemicolon:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'No spaces before semicolons.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/SpaceInsideBlockBraces:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: >-
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Checks that block braces have or don't have surrounding space.
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase For blocks taking parameters, checks that the left brace has
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase or doesn't have trailing space.
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/SpaceAroundEqualsInParameterDefault:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: >-
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Checks that the equals signs in parameter default assignments
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase have or don't have surrounding space depending on
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase configuration.
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/SpaceAroundOperators:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Use spaces around operators.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/SpaceBeforeModifierKeyword:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Put a space before the modifier keyword.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/SpaceInsideBrackets:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'No spaces after [ or before ].'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/SpaceInsideHashLiteralBraces:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: "Use spaces inside hash literal braces - or don't."
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/SpaceInsideParens:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'No spaces after ( or before ).'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/SpecialGlobalVars:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Avoid Perl-style global variables.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/StringLiterals:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Checks if uses of quotes match the configured preference.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/Tab:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'No hard tabs.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/TrailingBlankLines:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Checks trailing blank lines and final newline.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/TrailingComma:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Checks for trailing comma in parameter lists and literals.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/TrailingWhitespace:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Avoid trailing whitespace.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/TrivialAccessors:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Prefer attr_* methods to trivial readers/writers.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/UnlessElse:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: >-
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Never use unless with else. Rewrite these with the positive
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase case first.
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/UnneededCapitalW:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Checks for %W when interpolation is not needed.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/UnneededPercentQ:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Checks for %q/%Q when single quotes or double quotes would do.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/UnneededPercentX:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Checks for %x when `` would do.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/VariableInterpolation:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: >-
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Don't interpolate global, instance and class variables
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase directly in strings.
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/VariableName:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Use the configured style when naming variables.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/WhenThen:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Use when x then ... for one-line cases.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/WhileUntilDo:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Checks for redundant do after while or until.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/WhileUntilModifier:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: >-
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Favor modifier while/until usage when you have a
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase single-line body.
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseStyle/WordArray:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Use %w or %W for arrays of words.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase#################### Metrics ################################
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseMetrics/BlockNesting:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Avoid excessive block nesting'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseMetrics/ClassLength:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Avoid classes longer than 100 lines of code.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseMetrics/CyclomaticComplexity:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: >-
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase A complexity metric that is strongy correlated to the number
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase of test cases needed to validate a method.
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseMetrics/LineLength:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Limit lines to 80 characters.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseMetrics/MethodLength:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Avoid methods longer than 10 lines of code.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseMetrics/ParameterLists:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Avoid parameter lists longer than three or four parameters.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseMetrics/PerceivedComplexity:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: >-
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase A complexity metric geared towards measuring complexity for a
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase human reader.
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase#################### Lint ################################
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase### Warnings
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseLint/AmbiguousOperator:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: >-
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Checks for ambiguous operators in the first argument of a
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase method invocation without parentheses.
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseLint/AmbiguousRegexpLiteral:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: >-
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Checks for ambiguous regexp literals in the first argument of
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase a method invocation without parenthesis.
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseLint/AssignmentInCondition:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: "Don't use assignment in conditions."
9525de78b38c8ab2b8fac7ab24e40a8382e60ec1Tim Reddehase Enabled: false
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseLint/BlockAlignment:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Align block ends correctly.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseLint/ConditionPosition:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: >-
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Checks for condition placed in a confusing position relative to
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase the keyword.
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseLint/Debugger:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Check for debugger calls.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseLint/DefEndAlignment:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Align ends corresponding to defs correctly.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseLint/DeprecatedClassMethods:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Check for deprecated class method calls.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseLint/ElseLayout:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Check for odd code arrangement in an else block.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseLint/EmptyEnsure:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Checks for empty ensure block.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseLint/EmptyInterpolation:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Checks for empty string interpolation.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseLint/EndAlignment:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Align ends correctly.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseLint/EndInMethod:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'END blocks should not be placed inside method definitions.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseLint/EnsureReturn:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Never use return in an ensure block.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseLint/Eval:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'The use of eval represents a serious security risk.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseLint/HandleExceptions:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: "Don't suppress exception."
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseLint/InvalidCharacterLiteral:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: >-
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Checks for invalid character literals with a non-escaped
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase whitespace character.
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseLint/LiteralInCondition:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Checks of literals used in conditions.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseLint/LiteralInInterpolation:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Checks for literals used in interpolation.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseLint/Loop:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: >-
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Use Kernel#loop with break rather than begin/end/until or
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase begin/end/while for post-loop tests.
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseLint/ParenthesesAsGroupedExpression:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: >-
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Checks for method calls with a space before the opening
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase parenthesis.
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseLint/RequireParentheses:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: >-
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Use parentheses in the method call to avoid confusion
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase about precedence.
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseLint/RescueException:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Avoid rescuing the Exception class.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseLint/ShadowingOuterLocalVariable:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: >-
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Do not use the same name as outer local variable
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase for block arguments or block local variables.
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseLint/SpaceBeforeFirstArg:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: >-
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Put a space between a method name and the first argument
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase in a method call without parentheses.
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseLint/StringConversionInInterpolation:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Checks for Object#to_s usage in string interpolation.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseLint/UnderscorePrefixedVariableName:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Do not use prefix `_` for a variable that is used.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseLint/UnusedBlockArgument:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Checks for unused block arguments.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseLint/UnusedMethodArgument:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Checks for unused method arguments.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseLint/UnreachableCode:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Unreachable code.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseLint/UselessAccessModifier:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Checks for useless access modifiers.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseLint/UselessAssignment:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Checks for useless assignment to a local variable.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseLint/UselessComparison:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Checks for comparison of something with itself.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseLint/UselessElseWithoutRescue:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Checks for useless `else` in `begin..end` without `rescue`.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseLint/UselessSetterCall:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Checks for useless setter call to a local variable.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseLint/Void:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Possible use of operator/literal/variable in void context.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase##################### Rails ##################################
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseRails/ActionFilter:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Enforces consistent use of action filter methods.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseRails/DefaultScope:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Checks if the argument passed to default_scope is a block.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseRails/Delegate:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Prefer delegate method for delegations.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseRails/HasAndBelongsToMany:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Prefer has_many :through to has_and_belongs_to_many.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseRails/Output:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Checks for calls to puts, print, etc.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseRails/ReadWriteAttribute:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: >-
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Checks for read_attribute(:attr) and
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase write_attribute(:attr, val).
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseRails/ScopeArgs:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Checks the arguments of ActiveRecord scopes.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim ReddehaseRails/Validation:
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Description: 'Use sexy validations.'
0f3b0869b6296979e1dfeb467fd30dff4b618ce0Tim Reddehase Enabled: true