Sun, 19 Feb 2023 22:51:18 -0600
ensure nvim directory eixsts
959 | 1 | --- |
1018 | 2 | # require: standard |
3 | # inherit_gem: | |
4 | # standard: config/base.yml | |
5 | ||
959 | 6 | AllCops: |
1018 | 7 | TargetRubyVersion: "3.1.0" |
959 | 8 | Exclude: |
9 | - vendor/**/* | |
10 | ||
11 | Layout/ArgumentAlignment: | |
12 | EnforcedStyle: with_fixed_indentation | |
13 | ||
14 | Layout/HashAlignment: | |
15 | EnforcedHashRocketStyle: table | |
16 | EnforcedColonStyle: table | |
17 | ||
18 | Layout/MultilineMethodDefinitionBraceLayout: | |
19 | EnforcedStyle: new_line | |
20 | ||
21 | Metrics/AbcSize: | |
22 | Max: 25 | |
23 | ||
24 | Metrics/CyclomaticComplexity: | |
25 | Enabled: false | |
26 | ||
27 | Metrics/MethodLength: | |
28 | Enabled: false | |
29 | ||
30 | Naming/InclusiveLanguage: | |
31 | Enabled: true | |
32 | ||
33 | Naming/FileName: | |
34 | ExpectMatchingDefinition: true | |
35 | ||
36 | Style/Alias: | |
37 | EnforcedStyle: prefer_alias_method | |
38 | ||
39 | Style/BlockDelimiters: | |
40 | EnforcedStyle: semantic | |
41 | AllowBracesOnProceduralOneLiners: true | |
42 | ||
43 | Style/StringConcatenation: | |
44 | Mode: conservative | |
45 | ||
46 | Style/StringLiterals: | |
47 | EnforcedStyle: double_quotes | |
48 | ||
49 | Style/TrailingCommaInArrayLiteral: | |
50 | EnforcedStyleForMultiline: consistent_comma | |
51 | ||
52 | Style/TrailingCommaInHashLiteral: | |
53 | EnforcedStyleForMultiline: consistent_comma |