-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy path.rubocop.yml
More file actions
44 lines (44 loc) · 910 Bytes
/
Copy path.rubocop.yml
File metadata and controls
44 lines (44 loc) · 910 Bytes
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
# SPDX-FileCopyrightText: Copyright (c) 2017-2026 Yegor Bugayenko
# SPDX-License-Identifier: MIT
---
AllCops:
Exclude:
- 'bin/**/*'
- 'assets/**/*'
- 'vendor/**/*'
DisplayCopNames: true
TargetRubyVersion: 3.3
NewCops: enable
SuggestExtensions: false
plugins:
- rubocop-rake
- rubocop-minitest
- rubocop-performance
Layout/CaseIndentation:
Enabled: false
Metrics/CyclomaticComplexity:
Max: 10
Lint/RescueException:
Enabled: false
Metrics/MethodLength:
Max: 100
Metrics/ClassLength:
Max: 250
Metrics/AbcSize:
Max: 60
Metrics/BlockLength:
Max: 50
Minitest/EmptyLineBeforeAssertionMethods:
Enabled: false
Layout/MultilineMethodCallIndentation:
Enabled: false
Layout/ElseAlignment:
Enabled: false
Layout/EndAlignment:
Enabled: false
Layout/IndentationWidth:
Enabled: false
Metrics/PerceivedComplexity:
Max: 10
Layout/EmptyLineAfterGuardClause:
Enabled: false