aboutsummaryrefslogtreecommitdiff
path: root/.rubocop.yml
diff options
context:
space:
mode:
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