Fix .rubocop.yml config file to work with current Rubocop versions

Signed-off-by: Sebastian Serth <Sebastian.Serth@student.hpi.de>
This commit is contained in:
Sebastian Serth
2018-09-11 11:19:08 +02:00
parent 1f12b39731
commit b7c714dce9

View File

@ -1,4 +1,5 @@
AllCops: AllCops:
TargetRubyVersion: 2.3
Exclude: Exclude:
- bin/* - bin/*
- config/application.rb - config/application.rb
@ -7,11 +8,12 @@ AllCops:
- db/schema.rb - db/schema.rb
- public/uploads/**/* - public/uploads/**/*
- tmp/**/* - tmp/**/*
RunRailsCops: true Rails:
Enabled: true
Metrics/LineLength: Metrics/LineLength:
Enabled: false Enabled: false
require: rubocop-rspec require: rubocop-rspec
Style/Documentation: Style/Documentation:
Enabled: false Enabled: false
Style/SpaceInsideHashLiteralBraces: Layout/SpaceInsideHashLiteralBraces:
EnforcedStyle: no_space EnforcedStyle: no_space