Debian Codegraph @

.rubocop.yml

raw symbols SCIP
1 # from https://evilmartians.com/chronicles/rubocoping-with-legacy-bring-your-ruby-code-up-to-standard
2 inherit_mode:
3 merge:
4 - Exclude
5
6 require:
7 - standard
8 - standard-custom
9 - standard-performance
10 - rubocop-performance
11 - rubocop-minitest
12 - rubocop-packaging
13 - rubocop-rake
14
15 inherit_gem:
16 standard: config/base.yml
17 standard-custom: config/base.yml
18 standard-performance: config/base.yml
19 inherit_from:
20 - .rubocop_todo.yml
21 - .rubocop_exclude.yml
22
23 AllCops:
24 SuggestExtensions: false
25 TargetRubyVersion: "3.2"
26
27 Style/TrailingCommaInArrayLiteral:
28 EnforcedStyleForMultiline: consistent_comma
29 Style/TrailingCommaInHashLiteral:
30 EnforcedStyleForMultiline: consistent_comma
31 Style/TrailingCommaInArguments:
32 EnforcedStyleForMultiline: comma
33 Layout/SpaceInsideHashLiteralBraces:
34 EnforcedStyle: space
35
36 Minitest/AssertInDelta: # new in 0.10
37 Enabled: true
38 Minitest/AssertKindOf: # new in 0.10
39 Enabled: true
40 Minitest/AssertOperator: # new in 0.32
41 Enabled: true
42 Minitest/AssertOutput: # new in 0.10
43 Enabled: true
44 Minitest/AssertPathExists: # new in 0.10
45 Enabled: true
46 Minitest/AssertPredicate: # new in 0.18
47 Enabled: true
48 Minitest/AssertRaisesCompoundBody: # new in 0.21
49 Enabled: true
50 Minitest/AssertRaisesWithRegexpArgument: # new in 0.22
51 Enabled: true
52 Minitest/AssertSame: # new in 0.26
53 Enabled: true
54 Minitest/AssertSilent: # new in 0.10
55 Enabled: true
56 Minitest/AssertWithExpectedArgument: # new in 0.11
57 Enabled: true
58 Minitest/AssertionInLifecycleHook: # new in 0.10
59 Enabled: true
60 Minitest/DuplicateTestRun: # new in 0.19
61 Enabled: true
62 Minitest/EmptyLineBeforeAssertionMethods: # new in 0.23
63 Enabled: false
64 Minitest/LifecycleHooksOrder: # new in 0.28
65 Enabled: true
66 Minitest/LiteralAsActualArgument: # new in 0.10
67 Enabled: true
68 Minitest/MultipleAssertions: # new in 0.10
69 Enabled: true
70 Minitest/NonExecutableTestMethod: # new in 0.34
71 Enabled: true
72 Minitest/NonPublicTestMethod: # new in 0.27
73 Enabled: true
74 Minitest/RedundantMessageArgument: # new in 0.34
75 Enabled: true
76 Minitest/RefuteInDelta: # new in 0.10
77 Enabled: true
78 Minitest/RefuteKindOf: # new in 0.10
79 Enabled: true
80 Minitest/RefuteOperator: # new in 0.32
81 Enabled: true
82 Minitest/RefutePathExists: # new in 0.10
83 Enabled: true
84 Minitest/RefutePredicate: # new in 0.18
85 Enabled: true
86 Minitest/RefuteSame: # new in 0.26
87 Enabled: true
88 Minitest/ReturnInTestMethod: # new in 0.31
89 Enabled: true
90 Minitest/SkipEnsure: # new in 0.20
91 Enabled: true
92 Minitest/SkipWithoutReason: # new in 0.24
93 Enabled: true
94 Minitest/TestFileName: # new in 0.26
95 Enabled: true
96 Minitest/TestMethodName: # new in 0.10
97 Enabled: true
98 Minitest/UnreachableAssertion: # new in 0.14
99 Enabled: true
100 Minitest/UnspecifiedException: # new in 0.10
101 Enabled: true
102 Minitest/UselessAssertion: # new in 0.26
103 Enabled: true
104 Minitest/Focus: # new in 0.35
105 Enabled: true