forked from BallAerospace/COSMOS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop.yml
36 lines (32 loc) · 1.08 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
inherit_from:
- node_modules/@prettier/plugin-ruby/rubocop.yml
AllCops:
NewCops: enable
TargetRubyVersion: 3.1
# Layout
Layout/LineLength:
Enabled: false # long lines are allowed
# Style
Style:
Enabled: false # For now disable all style
# Style/StringLiterals:
# Enabled: false # Don't care about single vs double quoted strings
# Style/UnpackFirst:
# Enabled: false # Use name.unpack1('A*') instead of name.unpack('A*')[0]
# Style/MethodCallWithoutArgsParentheses:
# Enabled: false # Allow parens after a method call
# Style/GlobalVars:
# Enabled: false # We need globals in several places
# Style/MissingRespondToMissing:
# Enabled: false # TODO: We don't implement respond_to_missing? Should we?
# Style/TrailingUnderscoreVariable:
# Enabled: false # I prefer "result, _ = method()" to result, = method()"
# Metrics
Metrics:
Enabled: false # For now disable all metrics
# Metrics/MethodLength:
# Enabled: false # Methods can be long
# Metrics/ClassLength:
# Enabled: false # Classes can be long
# Metrics/AbcSize:
# Enabled: false # Assignment Branch Condition size