.rubocop.yml

Sat, 08 Apr 2023 02:55:43 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Sat, 08 Apr 2023 02:55:43 -0400
changeset 1099
28f3c3900576
parent 1018
cf7b17e7c1a3
permissions
-rw-r--r--

clean up diagnostic behavior

---
# require: standard
# inherit_gem:
#   standard: config/base.yml

AllCops:
  TargetRubyVersion: "3.1.0"
  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