-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.rubocop.yml
43 lines (34 loc) · 917 Bytes
/
.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
# Ensure we're using the most up-to-date version of Ruby.
AllCops:
NewCops: enable
TargetRubyVersion: 3.3
Exclude:
- '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:
Enabled: false
# I don't really use modules normally.
Style/Documentation:
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
# Many of our interaction responses are lengthy.
Layout/LineLength:
Enabled: false
# I see no reason to disabled this.
Style/ParallelAssignment:
Enabled: false
# I prefer positional arguments.
Style/OptionalBooleanParameter:
Enabled: false