Revision 0c774a3a
Added by Shlomi Zadok over 7 years ago
.rubocop_todo.yml | ||
---|---|---|
# This configuration was generated by
|
||
# `rubocop --auto-gen-config --exclude-limit 0`
|
||
# on 2016-09-11 15:02:42 +0300 using RuboCop version 0.42.0.
|
||
# on 2016-12-20 15:23:02 +0200 using RuboCop version 0.46.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: 102
|
||
# Offense count: 109
|
||
Lint/AmbiguousRegexpLiteral:
|
||
Enabled: false
|
||
|
||
# Offense count: 1
|
||
Lint/EmptyWhen:
|
||
Enabled: false
|
||
|
||
# Offense count: 5
|
||
Lint/Eval:
|
||
Enabled: false
|
||
|
||
# Offense count: 7
|
||
# Offense count: 8
|
||
Lint/HandleExceptions:
|
||
Enabled: false
|
||
|
||
... | ... | |
Lint/ParenthesesAsGroupedExpression:
|
||
Enabled: false
|
||
|
||
# Offense count: 77
|
||
# Offense count: 7
|
||
# Cop supports --auto-correct.
|
||
Lint/UnifiedInteger:
|
||
Enabled: false
|
||
|
||
# Offense count: 81
|
||
# Cop supports --auto-correct.
|
||
# Configuration parameters: IgnoreEmptyBlocks, AllowUnusedKeywordArguments.
|
||
Lint/UnusedBlockArgument:
|
||
Enabled: false
|
||
|
||
# Offense count: 88
|
||
# Offense count: 85
|
||
# Cop supports --auto-correct.
|
||
# Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods.
|
||
Lint/UnusedMethodArgument:
|
||
Enabled: false
|
||
|
||
# Offense count: 524
|
||
# Offense count: 537
|
||
Metrics/AbcSize:
|
||
Max: 114
|
||
|
||
# Offense count: 12
|
||
# Offense count: 224
|
||
# Configuration parameters: CountComments.
|
||
Metrics/BlockLength:
|
||
Max: 1414
|
||
|
||
# Offense count: 8
|
||
Metrics/BlockNesting:
|
||
Max: 5
|
||
|
||
# Offense count: 50
|
||
# Offense count: 49
|
||
# Configuration parameters: CountComments.
|
||
Metrics/ClassLength:
|
||
Max: 816
|
||
Max: 821
|
||
|
||
# Offense count: 131
|
||
# Offense count: 137
|
||
Metrics/CyclomaticComplexity:
|
||
Max: 24
|
||
|
||
# Offense count: 8761
|
||
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes.
|
||
# Offense count: 9200
|
||
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
|
||
# URISchemes: http, https
|
||
Metrics/LineLength:
|
||
Max: 385
|
||
|
||
# Offense count: 433
|
||
# Offense count: 446
|
||
# Configuration parameters: CountComments.
|
||
Metrics/MethodLength:
|
||
Max: 94
|
||
|
||
# Offense count: 21
|
||
# Offense count: 22
|
||
# Configuration parameters: CountComments.
|
||
Metrics/ModuleLength:
|
||
Max: 416
|
||
Max: 420
|
||
|
||
# Offense count: 9
|
||
# Configuration parameters: CountKeywordArgs.
|
||
Metrics/ParameterLists:
|
||
Max: 7
|
||
|
||
# Offense count: 98
|
||
# Offense count: 104
|
||
Metrics/PerceivedComplexity:
|
||
Max: 24
|
||
|
||
# Offense count: 6
|
||
# Offense count: 7
|
||
# Cop supports --auto-correct.
|
||
Performance/Casecmp:
|
||
Enabled: false
|
||
|
||
# Offense count: 17
|
||
# Offense count: 1
|
||
# Cop supports --auto-correct.
|
||
Performance/PushSplat:
|
||
Performance/CompareWithBlock:
|
||
Enabled: false
|
||
|
||
# Offense count: 2
|
||
... | ... | |
|
||
# Offense count: 1
|
||
# Cop supports --auto-correct.
|
||
# Configuration parameters: AutoCorrect.
|
||
Performance/StartWith:
|
||
Enabled: false
|
||
|
||
# Offense count: 8
|
||
# Offense count: 6
|
||
# Cop supports --auto-correct.
|
||
Performance/StringReplacement:
|
||
Enabled: false
|
||
... | ... | |
Rails/Date:
|
||
Enabled: false
|
||
|
||
# Offense count: 406
|
||
# Cop supports --auto-correct.
|
||
# Configuration parameters: Whitelist.
|
||
# Whitelist: find_by_sql
|
||
Rails/DynamicFindBy:
|
||
Enabled: false
|
||
|
||
# Offense count: 17
|
||
# Cop supports --auto-correct.
|
||
# Configuration parameters: Include.
|
||
... | ... | |
Rails/FindBy:
|
||
Enabled: false
|
||
|
||
# Offense count: 6
|
||
# Offense count: 8
|
||
# Cop supports --auto-correct.
|
||
# Configuration parameters: Include.
|
||
# Include: app/models/**/*.rb
|
||
... | ... | |
Rails/HasAndBelongsToMany:
|
||
Enabled: false
|
||
|
||
# Offense count: 26
|
||
# Offense count: 1416
|
||
# Cop supports --auto-correct.
|
||
# Configuration parameters: Include.
|
||
# Include: spec/**/*, test/**/*
|
||
Rails/HttpPositionalArguments:
|
||
Enabled: false
|
||
|
||
# Offense count: 16
|
||
# Configuration parameters: Include.
|
||
# Include: app/**/*.rb, config/**/*.rb, db/**/*.rb, lib/**/*.rb
|
||
Rails/Output:
|
||
Enabled: false
|
||
|
||
# Offense count: 96
|
||
# Offense count: 90
|
||
Rails/OutputSafety:
|
||
Enabled: false
|
||
|
||
... | ... | |
Rails/PluralizationGrammar:
|
||
Enabled: false
|
||
|
||
# Offense count: 40
|
||
# Offense count: 39
|
||
# Cop supports --auto-correct.
|
||
# Configuration parameters: Include.
|
||
# Include: app/models/**/*.rb
|
||
Rails/ReadWriteAttribute:
|
||
Enabled: false
|
||
|
||
# Offense count: 6
|
||
# Cop supports --auto-correct.
|
||
# Configuration parameters: AutoCorrect.
|
||
Security/JSONLoad:
|
||
Enabled: false
|
||
|
||
# Offense count: 1
|
||
# Cop supports --auto-correct.
|
||
# Configuration parameters: EnforcedStyle, SupportedStyles, IndentationWidth.
|
||
... | ... | |
Style/AccessModifierIndentation:
|
||
Enabled: false
|
||
|
||
# Offense count: 33
|
||
# Offense count: 34
|
||
Style/AccessorMethodName:
|
||
Enabled: false
|
||
|
||
# Offense count: 31
|
||
# Offense count: 32
|
||
# Cop supports --auto-correct.
|
||
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
||
# SupportedStyles: prefer_alias, prefer_alias_method
|
||
Style/Alias:
|
||
Enabled: false
|
||
|
||
# Offense count: 536
|
||
# Offense count: 560
|
||
# Cop supports --auto-correct.
|
||
# Configuration parameters: EnforcedHashRocketStyle, EnforcedColonStyle, EnforcedLastArgumentHashStyle, SupportedLastArgumentHashStyles.
|
||
# SupportedLastArgumentHashStyles: always_inspect, always_ignore, ignore_implicit, ignore_explicit
|
||
Style/AlignHash:
|
||
Enabled: false
|
||
|
||
# Offense count: 402
|
||
# Offense count: 424
|
||
# Cop supports --auto-correct.
|
||
# Configuration parameters: EnforcedStyle, SupportedStyles, IndentationWidth.
|
||
# SupportedStyles: with_first_parameter, with_fixed_indentation
|
||
Style/AlignParameters:
|
||
Enabled: false
|
||
|
||
# Offense count: 1142
|
||
# Offense count: 1181
|
||
# Cop supports --auto-correct.
|
||
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
||
# SupportedStyles: braces, no_braces, context_dependent
|
||
Style/BracesAroundHashParameters:
|
||
Enabled: false
|
||
|
||
# Offense count: 148
|
||
# Offense count: 151
|
||
# Cop supports --auto-correct.
|
||
# Configuration parameters: IndentWhenRelativeTo, SupportedStyles, IndentOneStep, IndentationWidth.
|
||
# SupportedStyles: case, end
|
||
Style/CaseIndentation:
|
||
Enabled: false
|
||
|
||
# Offense count: 213
|
||
# Offense count: 220
|
||
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
||
# SupportedStyles: nested, compact
|
||
Style/ClassAndModuleChildren:
|
||
Enabled: false
|
||
|
||
# Offense count: 4
|
||
# Offense count: 6
|
||
Style/ClassVars:
|
||
Enabled: false
|
||
|
||
# Offense count: 9
|
||
# Offense count: 10
|
||
# Cop supports --auto-correct.
|
||
Style/ClosingParenthesisIndentation:
|
||
Enabled: false
|
||
|
||
# Offense count: 10
|
||
# Offense count: 5
|
||
# Cop supports --auto-correct.
|
||
# Configuration parameters: Keywords.
|
||
# Keywords: TODO, FIXME, OPTIMIZE, HACK, REVIEW
|
||
Style/CommentAnnotation:
|
||
Enabled: false
|
||
|
||
# Offense count: 10
|
||
# Offense count: 9
|
||
# Cop supports --auto-correct.
|
||
Style/CommentIndentation:
|
||
Enabled: false
|
||
|
||
# Offense count: 9
|
||
# Offense count: 11
|
||
# Cop supports --auto-correct.
|
||
# Configuration parameters: EnforcedStyle, SupportedStyles, SingleLineConditionsOnly.
|
||
# SupportedStyles: assign_to_condition, assign_inside_condition
|
||
Style/ConditionalAssignment:
|
||
Enabled: false
|
||
|
||
# Offense count: 131
|
||
# Offense count: 138
|
||
# Cop supports --auto-correct.
|
||
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
||
# SupportedStyles: leading, trailing
|
||
... | ... | |
Style/DoubleNegation:
|
||
Enabled: false
|
||
|
||
# Offense count: 5
|
||
# Offense count: 6
|
||
# Cop supports --auto-correct.
|
||
Style/EachWithObject:
|
||
Enabled: false
|
||
|
||
# Offense count: 3
|
||
# Offense count: 4
|
||
# Cop supports --auto-correct.
|
||
# Configuration parameters: AllowAdjacentOneLineDefs.
|
||
Style/EmptyLineBetweenDefs:
|
||
Enabled: false
|
||
|
||
# Offense count: 1
|
||
# Cop supports --auto-correct.
|
||
Style/EmptyLinesAroundAccessModifier:
|
||
Enabled: false
|
||
|
||
# Offense count: 171
|
||
# Cop supports --auto-correct.
|
||
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
||
# SupportedStyles: compact, expanded
|
||
Style/EmptyMethod:
|
||
Enabled: false
|
||
|
||
# Offense count: 19
|
||
# Cop supports --auto-correct.
|
||
# Configuration parameters: AllowForAlignment, ForceEqualSignAlignment.
|
||
Style/ExtraSpacing:
|
||
Enabled: false
|
||
|
||
# Offense count: 14
|
||
# Configuration parameters: ExpectMatchingDefinition, Regex, IgnoreExecutableScripts.
|
||
Style/FileName:
|
||
... | ... | |
Style/FirstParameterIndentation:
|
||
Enabled: false
|
||
|
||
# Offense count: 17
|
||
# Offense count: 14
|
||
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
||
# SupportedStyles: for, each
|
||
Style/For:
|
||
Enabled: false
|
||
|
||
# Offense count: 20
|
||
# Offense count: 23
|
||
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
||
# SupportedStyles: format, sprintf, percent
|
||
Style/FormatString:
|
||
Enabled: false
|
||
|
||
# Offense count: 10
|
||
# Offense count: 150
|
||
# Configuration parameters: MinBodyLength.
|
||
Style/GuardClause:
|
||
Enabled: false
|
||
|
||
# Offense count: 14
|
||
# Offense count: 12
|
||
Style/IfInsideElse:
|
||
Enabled: false
|
||
|
||
... | ... | |
Style/IfUnlessModifierOfIfUnless:
|
||
Enabled: false
|
||
|
||
# Offense count: 4
|
||
# Offense count: 5
|
||
# Cop supports --auto-correct.
|
||
# Configuration parameters: SupportedStyles, IndentationWidth.
|
||
# SupportedStyles: special_inside_parentheses, consistent, align_brackets
|
||
... | ... | |
Style/IndentAssignment:
|
||
Enabled: false
|
||
|
||
# Offense count: 219
|
||
# Offense count: 1
|
||
# Cop supports --auto-correct.
|
||
# Configuration parameters: Width.
|
||
Style/IndentationWidth:
|
||
Enabled: false
|
||
|
||
# Offense count: 228
|
||
# Cop supports --auto-correct.
|
||
Style/LeadingCommentSpace:
|
||
Enabled: false
|
||
|
||
# Offense count: 32
|
||
# Offense count: 31
|
||
# Cop supports --auto-correct.
|
||
Style/LineEndConcatenation:
|
||
Enabled: false
|
||
... | ... | |
Style/MethodDefParentheses:
|
||
Enabled: false
|
||
|
||
# Offense count: 3
|
||
# Offense count: 1
|
||
Style/MethodMissing:
|
||
Enabled: false
|
||
|
||
# Offense count: 47
|
||
# Offense count: 48
|
||
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
||
# SupportedStyles: snake_case, camelCase
|
||
Style/MethodName:
|
||
Enabled: false
|
||
|
||
# Offense count: 3
|
||
# Offense count: 4
|
||
# Cop supports --auto-correct.
|
||
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
||
# SupportedStyles: symmetrical, new_line, same_line
|
||
Style/MultilineArrayBraceLayout:
|
||
Enabled: false
|
||
|
||
# Offense count: 182
|
||
# Offense count: 181
|
||
# Cop supports --auto-correct.
|
||
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
||
# SupportedStyles: symmetrical, new_line, same_line
|
||
Style/MultilineHashBraceLayout:
|
||
Enabled: false
|
||
|
||
# Offense count: 50
|
||
# Offense count: 43
|
||
# Cop supports --auto-correct.
|
||
Style/MultilineIfModifier:
|
||
Enabled: false
|
||
|
||
# Offense count: 3
|
||
# Cop supports --auto-correct.
|
||
Style/MultilineMemoization:
|
||
Enabled: false
|
||
|
||
# Offense count: 59
|
||
# Cop supports --auto-correct.
|
||
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
||
# SupportedStyles: symmetrical, new_line, same_line
|
||
Style/MultilineMethodCallBraceLayout:
|
||
Enabled: false
|
||
|
||
# Offense count: 101
|
||
# Offense count: 99
|
||
# Cop supports --auto-correct.
|
||
# Configuration parameters: EnforcedStyle, SupportedStyles, IndentationWidth.
|
||
# SupportedStyles: aligned, indented, indented_relative_to_receiver
|
||
Style/MultilineMethodCallIndentation:
|
||
Enabled: false
|
||
|
||
# Offense count: 61
|
||
# Offense count: 62
|
||
# Cop supports --auto-correct.
|
||
# Configuration parameters: EnforcedStyle, SupportedStyles, IndentationWidth.
|
||
# SupportedStyles: aligned, indented
|
||
... | ... | |
Style/NestedModifier:
|
||
Enabled: false
|
||
|
||
# Offense count: 12
|
||
# Offense count: 11
|
||
# Cop supports --auto-correct.
|
||
Style/NestedParenthesizedCalls:
|
||
Enabled: false
|
||
... | ... | |
Style/NumericLiteralPrefix:
|
||
Enabled: false
|
||
|
||
# Offense count: 28
|
||
# Offense count: 29
|
||
# Cop supports --auto-correct.
|
||
Style/NumericLiterals:
|
||
MinDigits: 15
|
||
|
||
# Offense count: 19
|
||
# Offense count: 15
|
||
# Cop supports --auto-correct.
|
||
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
||
# Configuration parameters: AutoCorrect, EnforcedStyle, SupportedStyles.
|
||
# SupportedStyles: predicate, comparison
|
||
Style/NumericPredicate:
|
||
Enabled: false
|
||
... | ... | |
Style/OpMethod:
|
||
Enabled: false
|
||
|
||
# Offense count: 20
|
||
# Offense count: 22
|
||
# Cop supports --auto-correct.
|
||
Style/ParallelAssignment:
|
||
Enabled: false
|
||
... | ... | |
Style/ParenthesesAroundCondition:
|
||
Enabled: false
|
||
|
||
# Offense count: 108
|
||
# Offense count: 118
|
||
# Cop supports --auto-correct.
|
||
# Configuration parameters: PreferredDelimiters.
|
||
Style/PercentLiteralDelimiters:
|
||
... | ... | |
Style/PerlBackrefs:
|
||
Enabled: false
|
||
|
||
# Offense count: 21
|
||
# Offense count: 22
|
||
# Configuration parameters: NamePrefix, NamePrefixBlacklist, NameWhitelist.
|
||
# NamePrefix: is_, has_, have_
|
||
# NamePrefixBlacklist: is_, has_, have_
|
||
... | ... | |
|
||
# Offense count: 40
|
||
# Cop supports --auto-correct.
|
||
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
||
# SupportedStyles: short, verbose
|
||
Style/PreferredHashMethods:
|
||
Enabled: false
|
||
|
||
# Offense count: 86
|
||
# Offense count: 99
|
||
# Cop supports --auto-correct.
|
||
Style/Proc:
|
||
Enabled: false
|
||
|
||
# Offense count: 48
|
||
# Offense count: 50
|
||
# Cop supports --auto-correct.
|
||
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
||
# SupportedStyles: compact, exploded
|
||
Style/RaiseArgs:
|
||
Enabled: false
|
||
|
||
# Offense count: 59
|
||
# Offense count: 58
|
||
# Cop supports --auto-correct.
|
||
Style/RedundantParentheses:
|
||
Enabled: false
|
||
|
||
# Offense count: 530
|
||
# Offense count: 10
|
||
# Cop supports --auto-correct.
|
||
# Configuration parameters: AllowMultipleReturnValues.
|
||
Style/RedundantReturn:
|
||
Enabled: false
|
||
|
||
# Offense count: 567
|
||
# Cop supports --auto-correct.
|
||
Style/RedundantSelf:
|
||
Enabled: false
|
||
|
||
# Offense count: 49
|
||
# Offense count: 47
|
||
# Cop supports --auto-correct.
|
||
# Configuration parameters: EnforcedStyle, SupportedStyles, AllowInnerSlashes.
|
||
# SupportedStyles: slashes, percent_r, mixed
|
||
... | ... | |
|
||
# Offense count: 3
|
||
# Configuration parameters: Methods.
|
||
# Methods: {"reduce"=>["a", "e"]}, {"inject"=>["a", "e"]}
|
||
# Methods: {"reduce"=>["acc", "elem"]}, {"inject"=>["acc", "elem"]}
|
||
Style/SingleLineBlockParams:
|
||
Enabled: false
|
||
|
||
... | ... | |
Style/SingleLineMethods:
|
||
Enabled: false
|
||
|
||
# Offense count: 493
|
||
# Offense count: 508
|
||
# Cop supports --auto-correct.
|
||
Style/SpaceAfterComma:
|
||
Enabled: false
|
||
... | ... | |
Style/SpaceAroundBlockParameters:
|
||
Enabled: false
|
||
|
||
# Offense count: 874
|
||
# Offense count: 892
|
||
# Cop supports --auto-correct.
|
||
# Configuration parameters: AllowForAlignment.
|
||
Style/SpaceAroundOperators:
|
||
Enabled: false
|
||
|
||
# Offense count: 71
|
||
# Offense count: 77
|
||
# Cop supports --auto-correct.
|
||
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
||
# SupportedStyles: space, no_space
|
||
Style/SpaceBeforeBlockBraces:
|
||
Enabled: false
|
||
|
||
# Offense count: 425
|
||
# Offense count: 460
|
||
# Cop supports --auto-correct.
|
||
# Configuration parameters: EnforcedStyle, SupportedStyles, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters.
|
||
# SupportedStyles: space, no_space
|
||
Style/SpaceInsideBlockBraces:
|
||
Enabled: false
|
||
|
||
# Offense count: 281
|
||
# Offense count: 305
|
||
# Cop supports --auto-correct.
|
||
Style/SpaceInsideBrackets:
|
||
Enabled: false
|
||
|
||
# Offense count: 3948
|
||
# Offense count: 4115
|
||
# Cop supports --auto-correct.
|
||
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces, SupportedStyles.
|
||
# SupportedStyles: space, no_space, compact
|
||
... | ... | |
Style/SpaceInsidePercentLiteralDelimiters:
|
||
Enabled: false
|
||
|
||
# Offense count: 12357
|
||
# Offense count: 12763
|
||
# Cop supports --auto-correct.
|
||
# Configuration parameters: EnforcedStyle, SupportedStyles, ConsistentQuotesInMultiline.
|
||
# SupportedStyles: single_quotes, double_quotes
|
||
... | ... | |
Style/SymbolLiteral:
|
||
Enabled: false
|
||
|
||
# Offense count: 70
|
||
# Offense count: 71
|
||
# Cop supports --auto-correct.
|
||
# Configuration parameters: IgnoredMethods.
|
||
# IgnoredMethods: respond_to, define_method
|
||
... | ... | |
# Offense count: 20
|
||
# Cop supports --auto-correct.
|
||
# Configuration parameters: EnforcedStyle, SupportedStyles, AllowSafeAssignment.
|
||
# SupportedStyles: require_parentheses, require_no_parentheses
|
||
# SupportedStyles: require_parentheses, require_no_parentheses, require_parentheses_when_complex
|
||
Style/TernaryParentheses:
|
||
Enabled: false
|
||
|
||
... | ... | |
Style/TrivialAccessors:
|
||
Enabled: false
|
||
|
||
# Offense count: 282
|
||
# Offense count: 4
|
||
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
||
# SupportedStyles: snake_case, normalcase, non_integer
|
||
Style/VariableNumber:
|
||
Enabled: false
|
||
|
||
# Offense count: 291
|
||
# Cop supports --auto-correct.
|
||
# Configuration parameters: EnforcedStyle, SupportedStyles, MinSize, WordRegex.
|
||
# SupportedStyles: percent, brackets
|
||
Style/WordArray:
|
||
Enabled: false
|
||
|
||
# Offense count: 12
|
||
# Offense count: 11
|
||
# Cop supports --auto-correct.
|
||
Style/ZeroLengthPredicate:
|
||
Enabled: false
|
Also available in: Unified diff
Fixes #17796 - bump to rubocop 0.46