aboutsummaryrefslogtreecommitdiff
path: root/.rubocop.yml
diff options
context:
space:
mode:
Diffstat (limited to '.rubocop.yml')
-rw-r--r--.rubocop.yml30
1 files changed, 30 insertions, 0 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
new file mode 100644
index 0000000..440bede
--- /dev/null
+++ b/.rubocop.yml
@@ -0,0 +1,30 @@
+AllCops:
+ Exclude:
+ - 'vendor/**/*'
+ - '.git/**/*'
+ - 'bin/rubocop'
+ - 'slackbuilds/**/*'
+
+Style/Documentation:
+ Enabled: false
+
+Style/TrailingCommaInHashLiteral:
+ EnforcedStyleForMultiline: consistent_comma
+
+Style/FrozenStringLiteralComment:
+ Exclude:
+ - '**/db/migrate/*'
+
+Layout/MultilineMethodCallIndentation:
+ EnforcedStyle: indented
+
+Layout/ArgumentAlignment:
+ EnforcedStyle: with_fixed_indentation
+
+Layout/EndAlignment:
+ EnforcedStyleAlignWith: variable
+
+Metrics/BlockLength:
+ ExcludedMethods:
+ - describe
+ - refine