diff --git a/.rubocop.yml b/.rubocop.yml index 9a3219c..7e6d1c9 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,99 +1,4 @@ -# 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 +inherit_from: .rubocop_todo.yml Metrics/LineLength: Enabled: false diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml new file mode 100644 index 0000000..6954c12 --- /dev/null +++ b/.rubocop_todo.yml @@ -0,0 +1,96 @@ +# This configuration was generated by `rubocop --auto-gen-config` +# on 2015-03-26 22:36:26 +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: 114 + +# 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: 81 +# Configuration parameters: AllowURI, URISchemes. +Metrics/LineLength: + Max: 213 + +# Offense count: 26 +# Configuration parameters: CountComments. +Metrics/MethodLength: + Max: 145 + +# 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: 5 +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