diff --git a/.rubocop.yml b/.rubocop.yml deleted file mode 100644 index 7b9aed3..0000000 --- a/.rubocop.yml +++ /dev/null @@ -1,34 +0,0 @@ -inherit_from: .rubocop_todo.yml - -AllCops: - TargetRubyVersion: 2.4 - -Style/Documentation: - Enabled: False -Style/HashSyntax: - EnforcedStyle: hash_rockets -Style/TrailingCommaInHashLiteral: - EnforcedStyleForMultiline: comma -Style/TrailingCommaInArrayLiteral: - EnforcedStyleForMultiline: comma -Style/TrailingCommaInArguments: - EnforcedStyleForMultiline: comma - -Layout/AlignHash: - Enabled: false -Layout/HashAlignment: - EnforcedHashRocketStyle: table -Layout/FirstHashElementIndentation: - EnforcedStyle: consistent -Metrics/ParameterLists: - Enabled: False -Layout/SpaceAroundOperators: - Enabled: false - -Style/StderrPuts: - Enabled: false -Style/WordArray: - Enabled: false - -Metrics/CyclomaticComplexity: - Enabled: false diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml deleted file mode 100644 index cb32ba8..0000000 --- a/.rubocop_todo.yml +++ /dev/null @@ -1,46 +0,0 @@ -# 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 diff --git a/.travis.yml b/.travis.yml index 041e835..3b2336c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,4 +2,4 @@ sudo: false language: ruby rvm: - 2.6.5 -script: bundle exec rake rubocop spec +script: bundle exec rake spec