forked from subinamehta/training-material
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop.yml
66 lines (50 loc) · 1.39 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
58
59
60
61
62
63
64
65
66
AllCops:
TargetRubyVersion: 3.0
NewCops: enable
Style/Next:
Enabled: false
Style/TrailingCommaInHashLiteral:
Enabled: false
# Unless is a struggle for some of us non-ruby folks
Style/NegatedIf:
Enabled: false
# No.
Metrics:
Enabled: false
# This one is nice but we have some non-ruby-ish things that cause it to freeze
# empty hashes that are about to be modified.
#
# We don't want that. It breaks things.
Style/MutableConstant:
Enabled: false
# These could be fixed but we also just don't care.
Naming/MethodName:
Enabled: false
Naming/VariableName:
Enabled: false
# Anti LLM (no I just like short variable names)
Naming/MethodParameterName:
Enabled: false
# no. I like my long chains of parsing.
Style/MultilineBlockChain:
Enabled: false
# We're mostly a collection of scripts for humans to use, not importable modules.
Naming/FileName:
Enabled: false
# % formatting is fine
Style/FormatString:
Enabled: false
# Like yeah it's fine when you want to but this takes way too much time to write.
Style/FormatStringToken:
Enabled: false
# doesn't play nice with jekyll caching
Style/ClassVars:
Enabled: false
# SOME of these were valid
# The rest were there for clarity (e.g. parsing cases)
# Where you want to be SURe you get every branch
Lint/DuplicateBranch:
Enabled: false
# We keep having bugs, so, disable this for now.
Style/FrozenStringLiteralComment:
Enabled: false