From b3ecdb0ae533e025d6542e47790b8d0daa0fcffd Mon Sep 17 00:00:00 2001 From: Brenda Wallace Date: Thu, 13 Sep 2018 23:16:16 +1200 Subject: [PATCH] Removed include in rubocop, was making rubocop not check files --- .rubocop.yml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.rubocop.yml b/.rubocop.yml index 9a8a0a405..316ffcde7 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,13 +1,9 @@ inherit_from: .rubocop_todo.yml AllCops: - Include: - - 'Rakefile' - - 'config.ru' - - 'lib/**/*.rake' Exclude: - 'db/schema.rb' - 'vendor/**/*' - TargetRailsVersion: 4.0 + TargetRailsVersion: 5.0 Rails: Enabled: true @@ -21,7 +17,6 @@ Naming/FileName: Style/StringLiterals: Enabled: false -# Stop hound and codeclimate fighting Style/PercentLiteralDelimiters: PreferredDelimiters: default: () @@ -36,8 +31,6 @@ Layout/MultilineMethodCallIndentation: Layout/AlignParameters: EnforcedStyle: with_fixed_indentation -Metrics/LineLength: - Max: 120 Style/Documentation: Enabled: false @@ -58,6 +51,9 @@ Metrics/BlockLength: - '**/*.rake' - 'config/**/*.rb' +Metrics/LineLength: + Max: 120 + # Remove the following once the code style matches Metrics/MethodLength: Max: 34