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:
@ -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
|
||||||
|
Reference in New Issue
Block a user