.rubocop.yml

Tue, 14 Feb 2023 02:54:12 -0600

author
Meredith Howard <mhoward@roomag.org>
date
Tue, 14 Feb 2023 02:54:12 -0600
changeset 1021
f0756bba5d2f
parent 1018
cf7b17e7c1a3
permissions
-rw-r--r--

Add some plugin config

959
4a5aaef00594 try a personal config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
1 ---
1018
cf7b17e7c1a3 bump ruby target
Meredith Howard <mhoward@roomag.org>
parents: 959
diff changeset
2 # require: standard
cf7b17e7c1a3 bump ruby target
Meredith Howard <mhoward@roomag.org>
parents: 959
diff changeset
3 # inherit_gem:
cf7b17e7c1a3 bump ruby target
Meredith Howard <mhoward@roomag.org>
parents: 959
diff changeset
4 # standard: config/base.yml
cf7b17e7c1a3 bump ruby target
Meredith Howard <mhoward@roomag.org>
parents: 959
diff changeset
5
959
4a5aaef00594 try a personal config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
6 AllCops:
1018
cf7b17e7c1a3 bump ruby target
Meredith Howard <mhoward@roomag.org>
parents: 959
diff changeset
7 TargetRubyVersion: "3.1.0"
959
4a5aaef00594 try a personal config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
8 Exclude:
4a5aaef00594 try a personal config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
9 - vendor/**/*
4a5aaef00594 try a personal config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
10
4a5aaef00594 try a personal config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
11 Layout/ArgumentAlignment:
4a5aaef00594 try a personal config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
12 EnforcedStyle: with_fixed_indentation
4a5aaef00594 try a personal config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
13
4a5aaef00594 try a personal config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
14 Layout/HashAlignment:
4a5aaef00594 try a personal config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
15 EnforcedHashRocketStyle: table
4a5aaef00594 try a personal config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
16 EnforcedColonStyle: table
4a5aaef00594 try a personal config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
17
4a5aaef00594 try a personal config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
18 Layout/MultilineMethodDefinitionBraceLayout:
4a5aaef00594 try a personal config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
19 EnforcedStyle: new_line
4a5aaef00594 try a personal config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
20
4a5aaef00594 try a personal config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
21 Metrics/AbcSize:
4a5aaef00594 try a personal config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
22 Max: 25
4a5aaef00594 try a personal config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
23
4a5aaef00594 try a personal config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
24 Metrics/CyclomaticComplexity:
4a5aaef00594 try a personal config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
25 Enabled: false
4a5aaef00594 try a personal config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
26
4a5aaef00594 try a personal config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
27 Metrics/MethodLength:
4a5aaef00594 try a personal config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
28 Enabled: false
4a5aaef00594 try a personal config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
29
4a5aaef00594 try a personal config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
30 Naming/InclusiveLanguage:
4a5aaef00594 try a personal config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
31 Enabled: true
4a5aaef00594 try a personal config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
32
4a5aaef00594 try a personal config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
33 Naming/FileName:
4a5aaef00594 try a personal config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
34 ExpectMatchingDefinition: true
4a5aaef00594 try a personal config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
35
4a5aaef00594 try a personal config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
36 Style/Alias:
4a5aaef00594 try a personal config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
37 EnforcedStyle: prefer_alias_method
4a5aaef00594 try a personal config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
38
4a5aaef00594 try a personal config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
39 Style/BlockDelimiters:
4a5aaef00594 try a personal config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
40 EnforcedStyle: semantic
4a5aaef00594 try a personal config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
41 AllowBracesOnProceduralOneLiners: true
4a5aaef00594 try a personal config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
42
4a5aaef00594 try a personal config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
43 Style/StringConcatenation:
4a5aaef00594 try a personal config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
44 Mode: conservative
4a5aaef00594 try a personal config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
45
4a5aaef00594 try a personal config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
46 Style/StringLiterals:
4a5aaef00594 try a personal config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
47 EnforcedStyle: double_quotes
4a5aaef00594 try a personal config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
48
4a5aaef00594 try a personal config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
49 Style/TrailingCommaInArrayLiteral:
4a5aaef00594 try a personal config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
50 EnforcedStyleForMultiline: consistent_comma
4a5aaef00594 try a personal config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
51
4a5aaef00594 try a personal config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
52 Style/TrailingCommaInHashLiteral:
4a5aaef00594 try a personal config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
53 EnforcedStyleForMultiline: consistent_comma

mercurial