.rubocop.yml

Sat, 21 Jan 2023 22:43:08 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Sat, 21 Jan 2023 22:43:08 -0500
changeset 1010
d28fdf462fe0
parent 959
4a5aaef00594
child 1018
cf7b17e7c1a3
permissions
-rw-r--r--

shrink pager_index_lines

---
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