-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop.yml
57 lines (45 loc) · 1.22 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
55
56
57
# Ensure we're using the most up-to-date version of Ruby.
AllCops:
NewCops: enable
TargetRubyVersion: 3.3
Exclude:
- 'app/frost/pins/manual_archiver.rb'
- 'app/frost/pins/auto_archiver.rb'
- 'app/frost/models/commands.rb'
- 'app/frost/models/embeds.rb'
# Double quotes are preferable for me.
Style/StringLiterals:
EnforcedStyle: double_quotes
# Most of these metrics are useless.
Metrics/PerceivedComplexity:
Enabled: false
# Most of these metrics are useless.
Metrics/CyclomaticComplexity:
Enabled: false
# Most of these metrics are useless.
Metrics/ParameterLists:
Enabled: false
# Most of these metrics are useless.
Metrics/MethodLength:
Enabled: false
# I don't really use modules normally.
Style/Documentation:
Enabled: false
# Most of these metrics are useless.
Metrics/BlockLength:
Enabled: false
# Most of these metrics are useless.
Metrics/AbcSize:
Enabled: false
# Appropriate safeguards have been taken.
Security/Eval:
Enabled: false
# The usage of class variables is intentional.
Style/ClassVars:
Enabled: false
# I don't like the extra end it introduces.
Style/IfUnlessModifier:
Enabled: false
# I prefer to keep the block for consistency.
Lint/UnusedBlockArgument:
Enabled: false