mirror of
https://github.com/dkam/suo.git
synced 2025-01-29 07:42:43 +00:00
217 lines
2.9 KiB
YAML
217 lines
2.9 KiB
YAML
AllCops:
|
|
Exclude:
|
|
- .git/**/*
|
|
- tmp/**/*
|
|
- suo.gemspec
|
|
|
|
Lint/DuplicateMethods:
|
|
Enabled: true
|
|
|
|
Lint/DeprecatedClassMethods:
|
|
Enabled: true
|
|
|
|
Style/TrailingWhitespace:
|
|
Enabled: true
|
|
|
|
Style/Tab:
|
|
Enabled: true
|
|
|
|
Style/TrailingBlankLines:
|
|
Enabled: true
|
|
|
|
Style/NilComparison:
|
|
Enabled: true
|
|
|
|
Style/NonNilCheck:
|
|
Enabled: true
|
|
|
|
Style/Not:
|
|
Enabled: true
|
|
|
|
Style/RedundantReturn:
|
|
Enabled: true
|
|
|
|
Style/ClassCheck:
|
|
Enabled: true
|
|
|
|
Style/EmptyLines:
|
|
Enabled: true
|
|
|
|
Style/EmptyLiteral:
|
|
Enabled: true
|
|
|
|
Style/Alias:
|
|
Enabled: true
|
|
|
|
Style/MethodCallParentheses:
|
|
Enabled: true
|
|
|
|
Style/MethodDefParentheses:
|
|
Enabled: true
|
|
|
|
Style/SpaceBeforeBlockBraces:
|
|
Enabled: true
|
|
|
|
Style/SpaceInsideBlockBraces:
|
|
Enabled: true
|
|
|
|
Style/SpaceInsideParens:
|
|
Enabled: true
|
|
|
|
Style/DeprecatedHashMethods:
|
|
Enabled: true
|
|
|
|
Style/HashSyntax:
|
|
Enabled: true
|
|
|
|
Style/SpaceInsideHashLiteralBraces:
|
|
Enabled: true
|
|
EnforcedStyle: no_space
|
|
|
|
Style/SpaceInsideBrackets:
|
|
Enabled: true
|
|
|
|
Style/AndOr:
|
|
Enabled: false
|
|
|
|
Style/TrailingComma:
|
|
Enabled: true
|
|
|
|
Style/SpaceBeforeComma:
|
|
Enabled: true
|
|
|
|
Style/SpaceBeforeComment:
|
|
Enabled: true
|
|
|
|
Style/SpaceBeforeSemicolon:
|
|
Enabled: true
|
|
|
|
Style/SpaceAroundBlockParameters:
|
|
Enabled: true
|
|
|
|
Style/SpaceAroundOperators:
|
|
Enabled: true
|
|
|
|
Style/SpaceAfterColon:
|
|
Enabled: true
|
|
|
|
Style/SpaceAfterComma:
|
|
Enabled: true
|
|
|
|
Style/SpaceAfterControlKeyword:
|
|
Enabled: true
|
|
|
|
Style/SpaceAfterNot:
|
|
Enabled: true
|
|
|
|
Style/SpaceAfterSemicolon:
|
|
Enabled: true
|
|
|
|
Lint/UselessComparison:
|
|
Enabled: true
|
|
|
|
Lint/InvalidCharacterLiteral:
|
|
Enabled: true
|
|
|
|
Lint/LiteralInInterpolation:
|
|
Enabled: true
|
|
|
|
Lint/LiteralInCondition:
|
|
Enabled: true
|
|
|
|
Lint/UnusedBlockArgument:
|
|
Enabled: true
|
|
|
|
Style/VariableInterpolation:
|
|
Enabled: true
|
|
|
|
Style/RedundantSelf:
|
|
Enabled: true
|
|
|
|
Style/ParenthesesAroundCondition:
|
|
Enabled: true
|
|
|
|
Style/WhileUntilDo:
|
|
Enabled: true
|
|
|
|
Style/EmptyLineBetweenDefs:
|
|
Enabled: true
|
|
|
|
Style/EmptyLinesAroundAccessModifier:
|
|
Enabled: true
|
|
|
|
Style/EmptyLinesAroundMethodBody:
|
|
Enabled: true
|
|
|
|
Style/ColonMethodCall:
|
|
Enabled: true
|
|
|
|
Lint/SpaceBeforeFirstArg:
|
|
Enabled: true
|
|
|
|
Lint/UnreachableCode:
|
|
Enabled: true
|
|
|
|
Style/UnlessElse:
|
|
Enabled: true
|
|
|
|
Style/ClassVars:
|
|
Enabled: true
|
|
|
|
Style/StringLiterals:
|
|
Enabled: true
|
|
EnforcedStyle: double_quotes
|
|
|
|
Metrics/CyclomaticComplexity:
|
|
Max: 8
|
|
|
|
Metrics/LineLength:
|
|
Max: 128
|
|
|
|
Metrics/MethodLength:
|
|
Max: 32
|
|
|
|
Metrics/PerceivedComplexity:
|
|
Max: 8
|
|
|
|
# Disabled
|
|
|
|
Style/EvenOdd:
|
|
Enabled: false
|
|
|
|
Style/AsciiComments:
|
|
Enabled: false
|
|
|
|
Style/NumericLiterals:
|
|
Enabled: false
|
|
|
|
Style/UnneededPercentQ:
|
|
Enabled: false
|
|
|
|
Style/SpecialGlobalVars:
|
|
Enabled: false
|
|
|
|
Style/TrivialAccessors:
|
|
Enabled: false
|
|
|
|
Style/PerlBackrefs:
|
|
Enabled: false
|
|
|
|
Metrics/AbcSize:
|
|
Enabled: false
|
|
|
|
Metrics/BlockNesting:
|
|
Enabled: false
|
|
|
|
Metrics/ClassLength:
|
|
Enabled: false
|
|
|
|
Metrics/MethodLength:
|
|
Enabled: false
|
|
|
|
Metrics/ParameterLists:
|
|
Enabled: false
|
|
|
|
Metrics/PerceivedComplexity:
|
|
Enabled: false
|