try a personal config

Fri, 26 Nov 2021 00:12:00 -0600

author
Meredith Howard <mhoward@roomag.org>
date
Fri, 26 Nov 2021 00:12:00 -0600
changeset 959
4a5aaef00594
parent 958
b883fb5c4792
child 960
4921edc4b518

try a personal config

.rubocop.yml file | annotate | diff | comparison | revisions
new file mode 100644
--- /dev/null
+++ b/.rubocop.yml
@@ -0,0 +1,50 @@
+---
+AllCops:
+  TargetRubyVersion: 2.7
+  NewCops: enable
+  Exclude:
+    - vendor/**/*
+
+Layout/ArgumentAlignment:
+  EnforcedStyle: with_fixed_indentation
+
+Layout/HashAlignment:
+  EnforcedHashRocketStyle: table
+  EnforcedColonStyle:      table
+
+Layout/MultilineMethodDefinitionBraceLayout:
+  EnforcedStyle: new_line
+
+Metrics/AbcSize:
+  Max: 25
+
+Metrics/CyclomaticComplexity:
+  Enabled: false
+
+Metrics/MethodLength:
+  Enabled: false
+
+Naming/InclusiveLanguage:
+  Enabled: true
+
+Naming/FileName:
+  ExpectMatchingDefinition: true
+
+Style/Alias:
+  EnforcedStyle: prefer_alias_method
+
+Style/BlockDelimiters:
+  EnforcedStyle: semantic
+  AllowBracesOnProceduralOneLiners: true
+
+Style/StringConcatenation:
+  Mode: conservative
+
+Style/StringLiterals:
+  EnforcedStyle: double_quotes
+
+Style/TrailingCommaInArrayLiteral:
+  EnforcedStyleForMultiline: consistent_comma
+
+Style/TrailingCommaInHashLiteral:
+  EnforcedStyleForMultiline: consistent_comma

mercurial