Removed include in rubocop, was making rubocop not check files

This commit is contained in:
Brenda Wallace
2018-09-13 23:16:16 +12:00
parent e2874404e4
commit b3ecdb0ae5

View File

@@ -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