diff options
Diffstat (limited to '.rubocop.yml')
-rw-r--r-- | .rubocop.yml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/.rubocop.yml b/.rubocop.yml new file mode 100644 index 0000000..c3dcdc2 --- /dev/null +++ b/.rubocop.yml @@ -0,0 +1,23 @@ +Rails: + Enabled: true + +# Don't enforce documentation +Style/Documentation: + Enabled: false + +# Force before_filter until upgrade to Rails 4 +Rails/ActionFilter: + EnforcedStyle: filter + +Metrics/MethodLength: + Max: 20 + +Metrics/LineLength: + Max: 111 # TODO: discuss and set this + +Style/Next: + Enabled: false + +# Support both ruby19 and hash_rockets +Style/HashSyntax: + Enabled: false |