use RuboCop

This commit is contained in:
Hauke Klement
2015-02-16 11:22:26 +01:00
parent 5f6dbdd858
commit 1068b18f41
3 changed files with 32 additions and 0 deletions

13
.rubocop.yml Normal file
View File

@ -0,0 +1,13 @@
AllCops:
Exclude:
- bin/*
- config/initializers/sorcery.rb
- db/schema.rb
RunRailsCops: true
Metrics/LineLength:
Enabled: false
require: rubocop-rspec
Style/Documentation:
Enabled: false
Style/SpaceInsideHashLiteralBraces:
EnforcedStyle: no_space