forked from jakeonrails/fix-db-schema-conflicts
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.rubocop_schema.53.yml
39 lines (39 loc) · 1.04 KB
/
.rubocop_schema.53.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
Layout/ParameterAlignment:
EnforcedStyle: with_fixed_indentation
Layout/HashAlignment:
EnforcedColonStyle: table
Layout/LineLength:
Max: 126 # Github fixed web line length
AutoCorrect: false # Break eggs
Metrics/ClassLength:
Max: 500
Metrics/ModuleLength:
Max: 250
Metrics/AbcSize:
Max: 50
Metrics/CyclomaticComplexity:
Max: 25
Metrics/MethodLength:
Max: 25
Metrics/PerceivedComplexity:
Max: 12
Naming/RescuedExceptionsVariableName:
Enabled: false # Rubocop contradicts himself
Style/AsciiComments:
Enabled: false
Style/ClassAndModuleChildren:
Enabled: false
Style/Documentation:
Enabled: false
Style/FrozenStringLiteralComment:
Enabled: false # Default in ruby 3, so don't need to worry about, except we go some memory leaks
Layout/IndentationConsistency:
EnforcedStyle: indented_internal_methods
Layout/MultilineMethodCallIndentation:
EnforcedStyle: indented
Style/PercentLiteralDelimiters:
Enabled: false # Cause of a bug in codeclimate
Style/RegexpLiteral:
Enabled: false
Style/NestedTernaryOperator:
Enabled: false