961c53c2ca
`Style/VariableNumber` is explicitly disabled because I don't think we care if we name a variable `var_1` or `var1`.
526 lines
12 KiB
YAML
526 lines
12 KiB
YAML
# This configuration was generated by
|
|
# `rubocop --auto-gen-config --exclude-limit 0`
|
|
# on 2016-10-04 13:16:20 +0200 using RuboCop version 0.43.0.
|
|
# The point is for the user to remove these configuration records
|
|
# one by one as the offenses are removed from the code base.
|
|
# Note that changes in the inspected code, or installation of new
|
|
# versions of RuboCop, may require this file to be generated again.
|
|
|
|
# Offense count: 160
|
|
Lint/AmbiguousRegexpLiteral:
|
|
Enabled: false
|
|
|
|
# Offense count: 40
|
|
# Configuration parameters: AllowSafeAssignment.
|
|
Lint/AssignmentInCondition:
|
|
Enabled: false
|
|
|
|
# Offense count: 18
|
|
Lint/HandleExceptions:
|
|
Enabled: false
|
|
|
|
# Offense count: 2
|
|
Lint/Loop:
|
|
Enabled: false
|
|
|
|
# Offense count: 19
|
|
Lint/ShadowingOuterLocalVariable:
|
|
Enabled: false
|
|
|
|
# Offense count: 9
|
|
# Cop supports --auto-correct.
|
|
Lint/UnifiedInteger:
|
|
Enabled: false
|
|
|
|
# Offense count: 13
|
|
# Cop supports --auto-correct.
|
|
Lint/UnneededSplatExpansion:
|
|
Enabled: false
|
|
|
|
# Offense count: 69
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: IgnoreEmptyBlocks, AllowUnusedKeywordArguments.
|
|
Lint/UnusedBlockArgument:
|
|
Enabled: false
|
|
|
|
# Offense count: 144
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods.
|
|
Lint/UnusedMethodArgument:
|
|
Enabled: false
|
|
|
|
# Offense count: 2
|
|
# Cop supports --auto-correct.
|
|
Performance/RedundantBlockCall:
|
|
Enabled: false
|
|
|
|
# Offense count: 5
|
|
# Cop supports --auto-correct.
|
|
Performance/RedundantMatch:
|
|
Enabled: false
|
|
|
|
# Offense count: 26
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: MaxKeyValuePairs.
|
|
Performance/RedundantMerge:
|
|
Enabled: false
|
|
|
|
# Offense count: 7
|
|
RSpec/BeEql:
|
|
Enabled: false
|
|
|
|
# Offense count: 20
|
|
# Configuration parameters: CustomIncludeMethods.
|
|
RSpec/EmptyExampleGroup:
|
|
Enabled: false
|
|
|
|
# Offense count: 16
|
|
RSpec/ExpectActual:
|
|
Enabled: false
|
|
|
|
# Offense count: 34
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
# SupportedStyles: implicit, each, example
|
|
RSpec/HookArgument:
|
|
Enabled: false
|
|
|
|
# Offense count: 168
|
|
RSpec/LeadingSubject:
|
|
Enabled: false
|
|
|
|
# Offense count: 162
|
|
RSpec/LetSetup:
|
|
Enabled: false
|
|
|
|
# Offense count: 10
|
|
RSpec/MessageChain:
|
|
Enabled: false
|
|
|
|
# Offense count: 714
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
# SupportedStyles: allow, expect
|
|
RSpec/MessageExpectation:
|
|
Enabled: false
|
|
|
|
# Offense count: 2423
|
|
RSpec/MultipleExpectations:
|
|
Max: 36
|
|
|
|
# Offense count: 1504
|
|
RSpec/NamedSubject:
|
|
Enabled: false
|
|
|
|
# Offense count: 1335
|
|
# Configuration parameters: MaxNesting.
|
|
RSpec/NestedGroups:
|
|
Enabled: false
|
|
|
|
# Offense count: 99
|
|
RSpec/SubjectStub:
|
|
Enabled: false
|
|
|
|
# Offense count: 64
|
|
Rails/OutputSafety:
|
|
Enabled: false
|
|
|
|
# Offense count: 151
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
# SupportedStyles: strict, flexible
|
|
Rails/TimeZone:
|
|
Enabled: false
|
|
|
|
# Offense count: 15
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: Include.
|
|
# Include: app/models/**/*.rb
|
|
Rails/Validation:
|
|
Enabled: false
|
|
|
|
# Offense count: 2
|
|
# Cop supports --auto-correct.
|
|
Security/JSONLoad:
|
|
Enabled: false
|
|
|
|
# Offense count: 284
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles, IndentationWidth.
|
|
# SupportedStyles: with_first_parameter, with_fixed_indentation
|
|
Style/AlignParameters:
|
|
Enabled: false
|
|
|
|
# Offense count: 28
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
# SupportedStyles: always, conditionals
|
|
Style/AndOr:
|
|
Enabled: false
|
|
|
|
# Offense count: 52
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
# SupportedStyles: percent_q, bare_percent
|
|
Style/BarePercentLiterals:
|
|
Enabled: false
|
|
|
|
# Offense count: 291
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
# SupportedStyles: braces, no_braces, context_dependent
|
|
Style/BracesAroundHashParameters:
|
|
Enabled: false
|
|
|
|
# Offense count: 6
|
|
Style/CaseEquality:
|
|
Enabled: false
|
|
|
|
# Offense count: 26
|
|
# Cop supports --auto-correct.
|
|
Style/ColonMethodCall:
|
|
Enabled: false
|
|
|
|
# Offense count: 2
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: Keywords.
|
|
# Keywords: TODO, FIXME, OPTIMIZE, HACK, REVIEW
|
|
Style/CommentAnnotation:
|
|
Enabled: false
|
|
|
|
# Offense count: 30
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles, SingleLineConditionsOnly.
|
|
# SupportedStyles: assign_to_condition, assign_inside_condition
|
|
Style/ConditionalAssignment:
|
|
Enabled: false
|
|
|
|
# Offense count: 957
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
# SupportedStyles: leading, trailing
|
|
Style/DotPosition:
|
|
Enabled: false
|
|
|
|
# Offense count: 13
|
|
Style/DoubleNegation:
|
|
Enabled: false
|
|
|
|
# Offense count: 6
|
|
# Cop supports --auto-correct.
|
|
Style/EachWithObject:
|
|
Enabled: false
|
|
|
|
# Offense count: 26
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
# SupportedStyles: empty, nil, both
|
|
Style/EmptyElse:
|
|
Enabled: false
|
|
|
|
# Offense count: 3
|
|
# Cop supports --auto-correct.
|
|
Style/EmptyLiteral:
|
|
Enabled: false
|
|
|
|
# Offense count: 140
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: AllowForAlignment, ForceEqualSignAlignment.
|
|
Style/ExtraSpacing:
|
|
Enabled: false
|
|
|
|
# Offense count: 6
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
# SupportedStyles: format, sprintf, percent
|
|
Style/FormatString:
|
|
Enabled: false
|
|
|
|
# Offense count: 201
|
|
# Configuration parameters: MinBodyLength.
|
|
Style/GuardClause:
|
|
Enabled: false
|
|
|
|
# Offense count: 11
|
|
Style/IfInsideElse:
|
|
Enabled: false
|
|
|
|
# Offense count: 174
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: MaxLineLength.
|
|
Style/IfUnlessModifier:
|
|
Enabled: false
|
|
|
|
# Offense count: 53
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles, IndentationWidth.
|
|
# SupportedStyles: special_inside_parentheses, consistent, align_brackets
|
|
Style/IndentArray:
|
|
Enabled: false
|
|
|
|
# Offense count: 95
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles, IndentationWidth.
|
|
# SupportedStyles: special_inside_parentheses, consistent, align_braces
|
|
Style/IndentHash:
|
|
Enabled: false
|
|
|
|
# Offense count: 29
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
# SupportedStyles: line_count_dependent, lambda, literal
|
|
Style/Lambda:
|
|
Enabled: false
|
|
|
|
# Offense count: 5
|
|
# Cop supports --auto-correct.
|
|
Style/LineEndConcatenation:
|
|
Enabled: false
|
|
|
|
# Offense count: 15
|
|
# Cop supports --auto-correct.
|
|
Style/MethodCallParentheses:
|
|
Enabled: false
|
|
|
|
# Offense count: 8
|
|
Style/MethodMissing:
|
|
Enabled: false
|
|
|
|
# Offense count: 95
|
|
# Cop supports --auto-correct.
|
|
Style/MutableConstant:
|
|
Enabled: false
|
|
|
|
# Offense count: 8
|
|
# Cop supports --auto-correct.
|
|
Style/NestedParenthesizedCalls:
|
|
Enabled: false
|
|
|
|
# Offense count: 13
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, MinBodyLength, SupportedStyles.
|
|
# SupportedStyles: skip_modifier_ifs, always
|
|
Style/Next:
|
|
Enabled: false
|
|
|
|
# Offense count: 12
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedOctalStyle, SupportedOctalStyles.
|
|
# SupportedOctalStyles: zero_with_o, zero_only
|
|
Style/NumericLiteralPrefix:
|
|
Enabled: false
|
|
|
|
# Offense count: 53
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
# SupportedStyles: predicate, comparison
|
|
Style/NumericPredicate:
|
|
Enabled: false
|
|
|
|
# Offense count: 29
|
|
# Cop supports --auto-correct.
|
|
Style/ParallelAssignment:
|
|
Enabled: false
|
|
|
|
# Offense count: 294
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: PreferredDelimiters.
|
|
Style/PercentLiteralDelimiters:
|
|
Enabled: false
|
|
|
|
# Offense count: 11
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
# SupportedStyles: lower_case_q, upper_case_q
|
|
Style/PercentQLiterals:
|
|
Enabled: false
|
|
|
|
# Offense count: 13
|
|
# Cop supports --auto-correct.
|
|
Style/PerlBackrefs:
|
|
Enabled: false
|
|
|
|
# Offense count: 38
|
|
# Configuration parameters: NamePrefix, NamePrefixBlacklist, NameWhitelist.
|
|
# NamePrefix: is_, has_, have_
|
|
# NamePrefixBlacklist: is_, has_, have_
|
|
# NameWhitelist: is_a?
|
|
Style/PredicateName:
|
|
Enabled: false
|
|
|
|
# Offense count: 26
|
|
# Cop supports --auto-correct.
|
|
Style/PreferredHashMethods:
|
|
Enabled: false
|
|
|
|
# Offense count: 6
|
|
# Cop supports --auto-correct.
|
|
Style/Proc:
|
|
Enabled: false
|
|
|
|
# Offense count: 22
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
# SupportedStyles: compact, exploded
|
|
Style/RaiseArgs:
|
|
Enabled: false
|
|
|
|
# Offense count: 4
|
|
# Cop supports --auto-correct.
|
|
Style/RedundantBegin:
|
|
Enabled: false
|
|
|
|
# Offense count: 1
|
|
# Cop supports --auto-correct.
|
|
Style/RedundantException:
|
|
Enabled: false
|
|
|
|
# Offense count: 24
|
|
# Cop supports --auto-correct.
|
|
Style/RedundantFreeze:
|
|
Enabled: false
|
|
|
|
# Offense count: 427
|
|
# Cop supports --auto-correct.
|
|
Style/RedundantSelf:
|
|
Enabled: false
|
|
|
|
# Offense count: 97
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles, AllowInnerSlashes.
|
|
# SupportedStyles: slashes, percent_r, mixed
|
|
Style/RegexpLiteral:
|
|
Enabled: false
|
|
|
|
# Offense count: 18
|
|
# Cop supports --auto-correct.
|
|
Style/RescueModifier:
|
|
Enabled: false
|
|
|
|
# Offense count: 114
|
|
# Cop supports --auto-correct.
|
|
Style/SafeNavigation:
|
|
Enabled: false
|
|
|
|
# Offense count: 7
|
|
# Cop supports --auto-correct.
|
|
Style/SelfAssignment:
|
|
Enabled: false
|
|
|
|
# Offense count: 2
|
|
# Configuration parameters: Methods.
|
|
# Methods: {"reduce"=>["a", "e"]}, {"inject"=>["a", "e"]}
|
|
Style/SingleLineBlockParams:
|
|
Enabled: false
|
|
|
|
# Offense count: 50
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: AllowIfMethodIsEmpty.
|
|
Style/SingleLineMethods:
|
|
Enabled: false
|
|
|
|
# Offense count: 125
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
# SupportedStyles: space, no_space
|
|
Style/SpaceBeforeBlockBraces:
|
|
Enabled: false
|
|
|
|
# Offense count: 10
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: AllowForAlignment.
|
|
Style/SpaceBeforeFirstArg:
|
|
Enabled: false
|
|
|
|
# Offense count: 145
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters.
|
|
# SupportedStyles: space, no_space
|
|
Style/SpaceInsideBlockBraces:
|
|
Enabled: false
|
|
|
|
# Offense count: 99
|
|
# Cop supports --auto-correct.
|
|
Style/SpaceInsideBrackets:
|
|
Enabled: false
|
|
|
|
# Offense count: 65
|
|
# Cop supports --auto-correct.
|
|
Style/SpaceInsideParens:
|
|
Enabled: false
|
|
|
|
# Offense count: 7
|
|
# Cop supports --auto-correct.
|
|
Style/SpaceInsidePercentLiteralDelimiters:
|
|
Enabled: false
|
|
|
|
# Offense count: 41
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: SupportedStyles.
|
|
# SupportedStyles: use_perl_names, use_english_names
|
|
Style/SpecialGlobalVars:
|
|
EnforcedStyle: use_perl_names
|
|
|
|
# Offense count: 31
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
# SupportedStyles: single_quotes, double_quotes
|
|
Style/StringLiteralsInInterpolation:
|
|
Enabled: false
|
|
|
|
# Offense count: 33
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: IgnoredMethods.
|
|
# IgnoredMethods: respond_to, define_method
|
|
Style/SymbolProc:
|
|
Enabled: false
|
|
|
|
# Offense count: 5
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles, AllowSafeAssignment.
|
|
# SupportedStyles: require_parentheses, require_no_parentheses
|
|
Style/TernaryParentheses:
|
|
Enabled: false
|
|
|
|
# Offense count: 29
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyleForMultiline, SupportedStyles.
|
|
# SupportedStyles: comma, consistent_comma, no_comma
|
|
Style/TrailingCommaInArguments:
|
|
Enabled: false
|
|
|
|
# Offense count: 102
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyleForMultiline, SupportedStyles.
|
|
# SupportedStyles: comma, consistent_comma, no_comma
|
|
Style/TrailingCommaInLiteral:
|
|
Enabled: false
|
|
|
|
# Offense count: 7
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: AllowNamedUnderscoreVariables.
|
|
Style/TrailingUnderscoreVariable:
|
|
Enabled: false
|
|
|
|
# Offense count: 76
|
|
# Cop supports --auto-correct.
|
|
Style/TrailingWhitespace:
|
|
Enabled: false
|
|
|
|
# Offense count: 2
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: ExactNameMatch, AllowPredicates, AllowDSLWriters, IgnoreClassMethods, Whitelist.
|
|
# Whitelist: to_ary, to_a, to_c, to_enum, to_h, to_hash, to_i, to_int, to_io, to_open, to_path, to_proc, to_r, to_regexp, to_str, to_s, to_sym
|
|
Style/TrivialAccessors:
|
|
Enabled: false
|
|
|
|
# Offense count: 2
|
|
# Cop supports --auto-correct.
|
|
Style/UnlessElse:
|
|
Enabled: false
|
|
|
|
# Offense count: 14
|
|
# Cop supports --auto-correct.
|
|
Style/UnneededInterpolation:
|
|
Enabled: false
|
|
|
|
# Offense count: 8
|
|
# Cop supports --auto-correct.
|
|
Style/ZeroLengthPredicate:
|
|
Enabled: false
|