summaryrefslogtreecommitdiff
path: root/.rubocop.yml
diff options
context:
space:
mode:
Diffstat (limited to '.rubocop.yml')
-rw-r--r--.rubocop.yml13
1 files changed, 13 insertions, 0 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index 819bbd8..364b022 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -1,8 +1,11 @@
+require: rubocop-rspec
AllCops:
+ TargetRubyVersion: 1.9
Include:
- ./**/*.rb
Exclude:
- vendor/**/*
+ - .vendor/**/*
- pkg/**/*
- spec/fixtures/**/*
@@ -64,3 +67,13 @@ Style/BlockDelimiters:
Style/MultilineBlockLayout:
Enabled: False
+
+# Rspec
+
+# We don't use rspec in this way
+RSpec/DescribeClass:
+ Enabled: False
+
+# Example length is not necessarily an indicator of code quality
+RSpec/ExampleLength:
+ Enabled: False