mirror of
https://github.com/puppetlabs/vmfloaty.git
synced 2026-01-26 13:28:42 -05:00
(rubocop) Defer Metrics cop changes for now
This commit is contained in:
parent
6e1f626d7b
commit
893f9363e0
2 changed files with 49 additions and 1 deletions
|
|
@ -1,4 +1,5 @@
|
||||||
---
|
inherit_from: .rubocop_todo.yml
|
||||||
|
|
||||||
AllCops:
|
AllCops:
|
||||||
TargetRubyVersion: 2.4
|
TargetRubyVersion: 2.4
|
||||||
|
|
||||||
|
|
@ -12,6 +13,7 @@ Style/TrailingCommaInArrayLiteral:
|
||||||
EnforcedStyleForMultiline: comma
|
EnforcedStyleForMultiline: comma
|
||||||
Style/TrailingCommaInArguments:
|
Style/TrailingCommaInArguments:
|
||||||
EnforcedStyleForMultiline: comma
|
EnforcedStyleForMultiline: comma
|
||||||
|
|
||||||
Layout/AlignHash:
|
Layout/AlignHash:
|
||||||
EnforcedHashRocketStyle: table
|
EnforcedHashRocketStyle: table
|
||||||
Layout/IndentHash:
|
Layout/IndentHash:
|
||||||
|
|
|
||||||
46
.rubocop_todo.yml
Normal file
46
.rubocop_todo.yml
Normal file
|
|
@ -0,0 +1,46 @@
|
||||||
|
# This configuration was generated by
|
||||||
|
# `rubocop --auto-gen-config`
|
||||||
|
# on 2019-02-03 15:31:20 +1100 using RuboCop version 0.63.1.
|
||||||
|
# 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: 8
|
||||||
|
Metrics/AbcSize:
|
||||||
|
Max: 319
|
||||||
|
|
||||||
|
# Offense count: 25
|
||||||
|
# Configuration parameters: CountComments, ExcludedMethods.
|
||||||
|
# ExcludedMethods: refine
|
||||||
|
Metrics/BlockLength:
|
||||||
|
Max: 278
|
||||||
|
|
||||||
|
# Offense count: 1
|
||||||
|
# Configuration parameters: CountBlocks.
|
||||||
|
Metrics/BlockNesting:
|
||||||
|
Max: 4
|
||||||
|
|
||||||
|
# Offense count: 4
|
||||||
|
# Configuration parameters: CountComments.
|
||||||
|
Metrics/ClassLength:
|
||||||
|
Max: 394
|
||||||
|
|
||||||
|
# Offense count: 4
|
||||||
|
Metrics/CyclomaticComplexity:
|
||||||
|
Max: 55
|
||||||
|
|
||||||
|
# Offense count: 13
|
||||||
|
# Configuration parameters: CountComments, ExcludedMethods.
|
||||||
|
Metrics/MethodLength:
|
||||||
|
Max: 391
|
||||||
|
|
||||||
|
# Offense count: 3
|
||||||
|
Metrics/PerceivedComplexity:
|
||||||
|
Max: 63
|
||||||
|
|
||||||
|
# Offense count: 193
|
||||||
|
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
|
||||||
|
# URISchemes: http, https
|
||||||
|
Metrics/LineLength:
|
||||||
|
Max: 285
|
||||||
Loading…
Add table
Add a link
Reference in a new issue