Project

General

Profile

« Previous | Next » 

Revision 1f15c21b

Added by Michael Moll almost 6 years ago

Refs #20891 - fix for new rubocop rules

View differences:

.rubocop_todo.yml
# This configuration was generated by
# `rubocop --auto-gen-config --exclude-limit 0`
# on 2018-06-09 16:44:26 +0200 using RuboCop version 0.54.0.
# on 2018-06-21 14:43:46 +0200 using RuboCop version 0.54.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: 635
# Offense count: 650
# Cop supports --auto-correct.
# Configuration parameters: EnforcedHashRocketStyle, EnforcedColonStyle, EnforcedLastArgumentHashStyle.
# SupportedHashRocketStyles: key, separator, table
......
Layout/AlignHash:
Enabled: false
# Offense count: 622
# Offense count: 624
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, IndentationWidth.
# SupportedStyles: with_first_parameter, with_fixed_indentation
Layout/AlignParameters:
Enabled: false
# Offense count: 165
# Offense count: 166
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, IndentOneStep, IndentationWidth.
# SupportedStyles: case, end
Layout/CaseIndentation:
Enabled: false
# Offense count: 34
# Offense count: 35
# Cop supports --auto-correct.
Layout/ClosingParenthesisIndentation:
Enabled: false
......
Layout/IndentHeredoc:
Enabled: false
# Offense count: 177
# Offense count: 178
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: symmetrical, new_line, same_line
Layout/MultilineHashBraceLayout:
Enabled: false
# Offense count: 72
# Offense count: 73
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: symmetrical, new_line, same_line
......
Layout/MultilineMethodCallIndentation:
Enabled: false
# Offense count: 71
# Offense count: 77
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, IndentationWidth.
# SupportedStyles: aligned, indented
Layout/MultilineOperationIndentation:
Enabled: false
# Offense count: 95
# Offense count: 97
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: space, no_space
......
Layout/SpaceInsideBlockBraces:
Enabled: false
# Offense count: 3507
# Offense count: 3436
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces.
# SupportedStyles: space, no_space, compact
......
Layout/SpaceInsideHashLiteralBraces:
Enabled: false
# Offense count: 43
# Offense count: 42
Lint/AmbiguousBlockAssociation:
Enabled: false
......
Metrics/AbcSize:
Max: 132
# Offense count: 345
# Offense count: 354
# Configuration parameters: CountComments, ExcludedMethods.
Metrics/BlockLength:
Max: 1358
......
# Offense count: 59
# Configuration parameters: CountComments.
Metrics/ClassLength:
Max: 746
Max: 749
# Offense count: 150
# Offense count: 151
Metrics/CyclomaticComplexity:
Max: 24
# Offense count: 11621
# Offense count: 11620
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
# URISchemes: http, https
Metrics/LineLength:
Max: 340
# Offense count: 522
# Offense count: 528
# Configuration parameters: CountComments.
Metrics/MethodLength:
Max: 176
# Offense count: 25
# Offense count: 27
# Configuration parameters: CountComments.
Metrics/ModuleLength:
Max: 446
Max: 448
# Offense count: 10
# Configuration parameters: CountKeywordArgs.
......
Naming/BinaryOperatorParameterName:
Enabled: false
# Offense count: 20
# Offense count: 18
# Configuration parameters: ExpectMatchingDefinition, Regex, IgnoreExecutableScripts, AllowedAcronyms.
# AllowedAcronyms: CLI, DSL, ACL, API, ASCII, CPU, CSS, DNS, EOF, GUID, HTML, HTTP, HTTPS, ID, IP, JSON, LHS, QPS, RAM, RHS, RPC, SLA, SMTP, SQL, SSH, TCP, TLS, TTL, UDP, UI, UID, UUID, URI, URL, UTF8, VM, XML, XMPP, XSRF, XSS
Naming/FileName:
......
Rails/Date:
Enabled: false
# Offense count: 494
# Offense count: 500
# Cop supports --auto-correct.
# Configuration parameters: Whitelist.
# Whitelist: find_by_sql
......
Rails/ReversibleMigration:
Enabled: false
# Offense count: 359
# Offense count: 360
# Configuration parameters: Blacklist.
# Blacklist: decrement!, decrement_counter, increment!, increment_counter, toggle!, touch, update_all, update_attribute, update_column, update_columns, update_counters
Rails/SkipsModelValidations:
......
Security/YAMLLoad:
Enabled: false
# Offense count: 533
# Offense count: 532
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: braces, no_braces, context_dependent
......
Style/GlobalVars:
Enabled: false
# Offense count: 169
# Offense count: 176
# Configuration parameters: MinBodyLength.
Style/GuardClause:
Enabled: false
......
Style/IdenticalConditionalBranches:
Enabled: false
# Offense count: 15
# Offense count: 16
Style/IfInsideElse:
Enabled: false
# Offense count: 2
# Offense count: 1
Style/IfUnlessModifierOfIfUnless:
Enabled: false
......
Style/LineEndConcatenation:
Enabled: false
# Offense count: 61
# Offense count: 62
# Cop supports --auto-correct.
Style/MethodCallWithoutArgsParentheses:
Enabled: false
......
Style/MutableConstant:
Enabled: false
# Offense count: 23
# Offense count: 26
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, MinBodyLength.
# SupportedStyles: skip_modifier_ifs, always
......
Style/NumericLiteralPrefix:
Enabled: false
# Offense count: 48
# Offense count: 50
# Cop supports --auto-correct.
# Configuration parameters: Strict.
Style/NumericLiterals:
......
Style/RaiseArgs:
Enabled: false
# Offense count: 684
# Offense count: 686
# Cop supports --auto-correct.
Style/RedundantSelf:
Enabled: false
......
Style/StructInheritance:
Enabled: false
# Offense count: 816
# Offense count: 817
# Cop supports --auto-correct.
# Configuration parameters: MinSize.
# SupportedStyles: percent, brackets

Also available in: Unified diff