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