-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.rubocop.yml
54 lines (43 loc) · 1 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
require:
- rubocop-performance
AllCops:
NewCops: disable
TargetRubyVersion: 3.2
Exclude:
# Schema is auto-generated and should not trigger Rubocop.
- db/schema.rb
- vendor/**/*
Layout/LineLength:
Max: 100
Metrics/BlockLength:
Exclude:
# Long blocks in tests are not ideal, but also not really a problem.
- test/**/*_test.rb
Metrics/AbcSize:
Exclude:
- test/**/*.rb
Metrics/ClassLength:
Exclude:
# Long classes are alright in test files.
- test/**/*_test.rb
Metrics/MethodLength:
Exclude:
- test/**/*.rb
Metrics/ModuleLength:
Exclude:
# Long modules are alright in test support files.
- test/support/*
Style/AsciiComments:
Enabled: false
Style/Documentation:
Exclude:
# Test classes don't require documentation.
- test/**/*.rb
Style/GlobalVars:
Exclude:
# Global variables are how you configure compiler flags.
- ext/extconf.rb
Style/MixinUsage:
Exclude:
# Bin scripts include modules into the main context.
- bin/*