-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.rubocop.yml
47 lines (47 loc) · 1010 Bytes
/
.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
# SPDX-FileCopyrightText: Copyright (c) 2024-2025 Yegor Bugayenko
# SPDX-License-Identifier: MIT
---
AllCops:
Exclude:
- 'bin/**/*'
- 'assets/**/*'
- 'vendor/**/**'
DisplayCopNames: true
TargetRubyVersion: 3.2
SuggestExtensions: false
NewCops: enable
plugins:
- rubocop-minitest
- rubocop-performance
- rubocop-rake
Minitest/EmptyLineBeforeAssertionMethods:
Enabled: false
Gemspec/RequiredRubyVersion:
Enabled: false
Metrics/MethodLength:
Enabled: false
Style/ClassAndModuleChildren:
Enabled: false
Layout/MultilineMethodCallIndentation:
Enabled: false
Metrics/AbcSize:
Enabled: false
Metrics/BlockLength:
Max: 50
Metrics/CyclomaticComplexity:
Max: 25
Metrics/PerceivedComplexity:
Max: 30
Metrics/ClassLength:
Enabled: false
Layout/EmptyLineAfterGuardClause:
Enabled: false
Naming/MethodParameterName:
MinNameLength: 2
Layout/EndOfLine:
EnforcedStyle: lf
Security/MarshalLoad:
Enabled: false
Layout/MultilineAssignmentLayout:
Enabled: true
require: []