aboutsummaryrefslogtreecommitdiff
path: root/.rubocop.yml
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2020-12-09 18:28:42 +0100
committerEugen Wissner <belka@caraus.de>2020-12-09 18:28:42 +0100
commit2910a89d6c59b997a3896f05c6ad7fb65c26f813 (patch)
tree3d3edebdf32b0c972e8449b82be2c10742395d6c /.rubocop.yml
parentbe64bc6dbb9d0f717f7cbdd83d9371de979d4c63 (diff)
downloadslackbuilder-2910a89d6c59b997a3896f05c6ad7fb65c26f813.tar.gz
Add autoupdater
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