aboutsummaryrefslogtreecommitdiff
path: root/.rubocop.yml
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2016-06-14 19:14:10 +0200
committerGuido Günther <agx@sigxcpu.org>2016-06-14 19:14:10 +0200
commitbe945de33c794a449c5fcbf991db4bf0d49b1fb7 (patch)
tree477c5f4b708e37200f9042e206e4d7874d2eeae7 /.rubocop.yml
Initial commitHEADmaster
Diffstat (limited to '.rubocop.yml')
-rw-r--r--.rubocop.yml16
1 files changed, 16 insertions, 0 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
new file mode 100644
index 0000000..3b3d2f2
--- /dev/null
+++ b/.rubocop.yml
@@ -0,0 +1,16 @@
+inherit_from:
+ - .rubocop_todo.yml
+
+AllCops:
+ RunRailsCops: true # always run the rails cops
+
+# Don't enforce documentation
+Style/Documentation:
+ Enabled: false
+
+# Force before_filter until upgrade to Rails 4
+Rails/ActionFilter:
+ EnforcedStyle: filter
+
+Metrics/MethodLength:
+ Max: 20 \ No newline at end of file