-
-
Notifications
You must be signed in to change notification settings - Fork 148
Expand file tree
/
Copy path.rubocop.yml
More file actions
44 lines (31 loc) · 678 Bytes
/
.rubocop.yml
File metadata and controls
44 lines (31 loc) · 678 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
inherit_from: .rubocop_todo.yml
inherit_gem:
rubocop-rails-omakase: rubocop.yml
AllCops:
TargetRubyVersion: 3.4.5 # same as .github/workflows/main.yml
Exclude:
- 'bin/*'
- 'config/locales/*'
- 'gemfiles/*'
- 'lib/tasks/*'
- 'vendor/bundle/**/*'
NewCops: enable
plugins:
- rubocop-performance
# ==============================================================================
# Cops
# Style cops
Style/Documentation:
Enabled: false
# Metrics cops
Metrics/AbcSize:
Severity: warning
Metrics/MethodLength:
Max: 15
Metrics/BlockLength:
Exclude:
- test/**/*
Rails/AssertNot:
Enabled: false
Rails/RefuteMethods:
Enabled: false