-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy path.rubocop.yml
49 lines (49 loc) · 1.05 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
# SPDX-FileCopyrightText: Copyright (c) 2024-2025 Zerocracy
# SPDX-License-Identifier: MIT
---
AllCops:
Exclude:
- 'vendor/**/*'
DisplayCopNames: true
TargetRubyVersion: 3.2
SuggestExtensions: false
NewCops: enable
Naming/FileName:
Regex: '^[a-z0-9\-._]*$'
Style/GlobalVars:
Enabled: false
Metrics/MethodLength:
Enabled: false
Lint/NestedMethodDefinition:
Enabled: false
Gemspec/RequiredRubyVersion:
Enabled: false
Style/ClassAndModuleChildren:
Enabled: false
Layout/MultilineMethodCallIndentation:
Enabled: false
Metrics/AbcSize:
Enabled: false
Metrics/BlockLength:
Enabled: false
Metrics/CyclomaticComplexity:
Enabled: false
Metrics/ClassLength:
Enabled: false
Metrics/PerceivedComplexity:
Enabled: false
Layout/EmptyLineAfterGuardClause:
Enabled: false
Layout/CaseIndentation:
Enabled: false
Naming/MethodParameterName:
MinNameLength: 2
Layout/MultilineAssignmentLayout:
Enabled: true
Minitest/EmptyLineBeforeAssertionMethods:
Enabled: false
plugins:
- rubocop-rake
- rubocop-minitest
- rubocop-performance
require: []