From 49b6cdfe8929e434cc2e9d49665ce0bcb50f0c17 Mon Sep 17 00:00:00 2001 From: Olle Jonsson Date: Wed, 16 Aug 2017 10:28:23 +0200 Subject: [PATCH] RuboCop: auto-gen-config TODO file --- .rubocop.yml | 2 ++ .rubocop_todo.yml | 52 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 .rubocop_todo.yml diff --git a/.rubocop.yml b/.rubocop.yml index 5076c2e..3dc3c28 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,3 +1,5 @@ +inherit_from: .rubocop_todo.yml + AllCops: DisplayCopNames: true TargetRubyVersion: 2.2 diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml new file mode 100644 index 0000000..08866cb --- /dev/null +++ b/.rubocop_todo.yml @@ -0,0 +1,52 @@ +# This configuration was generated by +# `rubocop --auto-gen-config` +# on 2017-08-16 10:25:30 +0200 using RuboCop version 0.47.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: 1 +# Configuration parameters: AllowSafeAssignment. +Lint/AssignmentInCondition: + Exclude: + - 'lib/mixlib/log.rb' + +# Offense count: 2 +# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns. +# URISchemes: http, https +Metrics/LineLength: + Max: 129 + +# Offense count: 1 +# Configuration parameters: CountComments. +Metrics/MethodLength: + Max: 12 + +# Offense count: 1 +# Configuration parameters: CountComments. +Metrics/ModuleLength: + Max: 109 + +# Offense count: 2 +Style/ClassVars: + Exclude: + - 'lib/mixlib/log/formatter.rb' + +# Offense count: 2 +# Configuration parameters: EnforcedStyle, SupportedStyles. +# SupportedStyles: format, sprintf, percent +Style/FormatString: + Exclude: + - 'lib/mixlib/log/formatter.rb' + +# Offense count: 1 +# Configuration parameters: AllowedVariables. +Style/GlobalVars: + Exclude: + - 'spec/spec_helper.rb' + +# Offense count: 1 +Style/MethodMissing: + Exclude: + - 'lib/mixlib/log.rb'