summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Legler <alex@a3li.li>2015-12-25 17:16:14 +0100
committerAlex Legler <alex@a3li.li>2015-12-25 17:16:14 +0100
commitf02847608d9dbde44947588286c8c0cc01237a87 (patch)
treedc066280f8adfc35c9ef06633d1c7bb79efee6d1 /.rubocop.yml
parentMake parsing more resilient to weird advisories (diff)
downloadsecurity-f02847608d9dbde44947588286c8c0cc01237a87.tar.gz
security-f02847608d9dbde44947588286c8c0cc01237a87.tar.bz2
security-f02847608d9dbde44947588286c8c0cc01237a87.zip
Ruby style settings and fixes
Diffstat (limited to '.rubocop.yml')
-rw-r--r--.rubocop.yml20
1 files changed, 20 insertions, 0 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
new file mode 100644
index 0000000..d2f9768
--- /dev/null
+++ b/.rubocop.yml
@@ -0,0 +1,20 @@
+Style/AsciiComments:
+ Enabled: false
+
+Style/FormatString:
+ Enabled: false
+
+Style/Documentation:
+ Enabled: false
+
+Style/PerlBackrefs:
+ Enabled: false
+
+Metrics/LineLength:
+ Max: 120
+
+Metrics/MethodLength:
+ Max: 20
+
+Metrics/ModuleLength:
+ Max: 200