From 92735a2fc83e10528fd8b072d227e9cf9f0667b0 Mon Sep 17 00:00:00 2001 From: Petr Korolev Date: Thu, 26 Mar 2015 19:01:42 +0200 Subject: [PATCH] modify rubocop yml by rubocop --auto-gen-config --- .rubocop.yml | 96 +++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 95 insertions(+), 1 deletion(-) diff --git a/.rubocop.yml b/.rubocop.yml index c441045..68e05d2 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,2 +1,96 @@ -Metrics/LineLength: +# This configuration was generated by `rubocop --auto-gen-config` +# on 2015-03-26 18:59:09 +0200 using RuboCop version 0.29.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: 20 +Metrics/AbcSize: + Max: 116 + +# Offense count: 1 +Metrics/BlockNesting: + Max: 4 + +# Offense count: 2 +# Configuration parameters: CountComments. +Metrics/ClassLength: + Max: 483 + +# Offense count: 6 +Metrics/CyclomaticComplexity: + Max: 18 + +# Offense count: 26 +# Configuration parameters: CountComments. +Metrics/MethodLength: + Max: 148 + +# Offense count: 1 +# Configuration parameters: CountKeywordArgs. +Metrics/ParameterLists: + Max: 6 + +# Offense count: 6 +Metrics/PerceivedComplexity: + Max: 20 + +# Offense count: 3 +Style/AccessorMethodName: + Enabled: false + +# Offense count: 1 +# Cop supports --auto-correct. +# Configuration parameters: EnforcedStyle, SupportedStyles. +Style/AndOr: + Enabled: false + +# Offense count: 29 +# Cop supports --auto-correct. +Style/Blocks: + Enabled: false + +# Offense count: 7 +# Configuration parameters: IndentWhenRelativeTo, SupportedStyles, IndentOneStep. +Style/CaseIndentation: + Enabled: false + +# Offense count: 6 +Style/Documentation: + Enabled: false + +# Offense count: 1 +# Configuration parameters: AllowedVariables. +Style/GlobalVars: + Enabled: false + +# Offense count: 6 +# Configuration parameters: MinBodyLength. +Style/GuardClause: + Enabled: false + +# Offense count: 18 +# Configuration parameters: MaxLineLength. +Style/IfUnlessModifier: + Enabled: false + +# Offense count: 2 +# Configuration parameters: EnforcedStyle, MinBodyLength, SupportedStyles. +Style/Next: + Enabled: false + +# Offense count: 1 +# Configuration parameters: NamePrefix, NamePrefixBlacklist. +Style/PredicateName: + Enabled: false + +# Offense count: 5 +# Configuration parameters: MaxSlashes. +Style/RegexpLiteral: + Enabled: false + +# Offense count: 1 +# Cop supports --auto-correct. +Style/SpecialGlobalVars: Enabled: false