.rubocop.yml

Mon, 28 Feb 2022 00:31:41 -0600

author
Meredith Howard <mhoward@roomag.org>
date
Mon, 28 Feb 2022 00:31:41 -0600
changeset 983
a20162c6acf3
parent 959
4a5aaef00594
child 1018
cf7b17e7c1a3
permissions
-rw-r--r--

nowrap for vimwiki

959
4a5aaef00594 try a personal config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
1 ---
4a5aaef00594 try a personal config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
2 AllCops:
4a5aaef00594 try a personal config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
3 TargetRubyVersion: 2.7
4a5aaef00594 try a personal config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
4 NewCops: enable
4a5aaef00594 try a personal config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
5 Exclude:
4a5aaef00594 try a personal config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
6 - vendor/**/*
4a5aaef00594 try a personal config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
7
4a5aaef00594 try a personal config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
8 Layout/ArgumentAlignment:
4a5aaef00594 try a personal config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
9 EnforcedStyle: with_fixed_indentation
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/HashAlignment:
4a5aaef00594 try a personal config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
12 EnforcedHashRocketStyle: table
4a5aaef00594 try a personal config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
13 EnforcedColonStyle: table
4a5aaef00594 try a personal config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
14
4a5aaef00594 try a personal config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
15 Layout/MultilineMethodDefinitionBraceLayout:
4a5aaef00594 try a personal config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
16 EnforcedStyle: new_line
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 Metrics/AbcSize:
4a5aaef00594 try a personal config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
19 Max: 25
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/CyclomaticComplexity:
4a5aaef00594 try a personal config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
22 Enabled: false
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/MethodLength:
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 Naming/InclusiveLanguage:
4a5aaef00594 try a personal config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
28 Enabled: true
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/FileName:
4a5aaef00594 try a personal config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
31 ExpectMatchingDefinition: 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 Style/Alias:
4a5aaef00594 try a personal config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
34 EnforcedStyle: prefer_alias_method
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/BlockDelimiters:
4a5aaef00594 try a personal config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
37 EnforcedStyle: semantic
4a5aaef00594 try a personal config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
38 AllowBracesOnProceduralOneLiners: true
4a5aaef00594 try a personal config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
39
4a5aaef00594 try a personal config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
40 Style/StringConcatenation:
4a5aaef00594 try a personal config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
41 Mode: conservative
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/StringLiterals:
4a5aaef00594 try a personal config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
44 EnforcedStyle: double_quotes
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/TrailingCommaInArrayLiteral:
4a5aaef00594 try a personal config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
47 EnforcedStyleForMultiline: consistent_comma
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/TrailingCommaInHashLiteral:
4a5aaef00594 try a personal config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
50 EnforcedStyleForMultiline: consistent_comma

mercurial