-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.slim-lint.yml
86 lines (86 loc) · 2.84 KB
/
.slim-lint.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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
linters:
RuboCop:
enabled: true
ignored_cops:
# The ignored cops below, until the next comment, are copied from the default slim-lint config
- Layout/ArgumentAlignment
- Layout/ArrayAlignment
- Layout/BlockAlignment
- Layout/EmptyLineAfterGuardClause
- Layout/EndAlignment
- Layout/FirstArgumentIndentation
- Layout/FirstArrayElementIndentation
- Layout/FirstParameterIndentation
- Layout/HashAlignment
- Layout/IndentationConsistency
- Layout/IndentationWidth
- Layout/InitialIndentation
- Layout/LineLength
- Layout/MultilineArrayBraceLayout
- Layout/MultilineAssignmentLayout
- Layout/MultilineHashBraceLayout
- Layout/MultilineMethodCallBraceLayout
- Layout/MultilineMethodCallIndentation
- Layout/MultilineMethodDefinitionBraceLayout
- Layout/MultilineOperationIndentation
- Layout/ParameterAlignment
- Layout/TrailingEmptyLines
- Layout/TrailingWhitespace
- Lint/Void
- Metrics/BlockLength
- Metrics/BlockNesting
- Naming/FileName
- Style/FrozenStringLiteralComment
- Style/IdenticalConditionalBranches
- Style/IfUnlessModifier
- Style/Next
- Style/WhileUntilDo
- Style/WhileUntilModifier
# The ignored cops above, from the previous comment, are copied from the default slim-lint config
- Layout/ExtraSpacing
- Layout/FirstHashElementIndentation
- Layout/SpaceAfterColon
- Layout/SpaceAfterComma
- Layout/SpaceAroundOperators
- Layout/SpaceBeforeBlockBraces
- Layout/SpaceBeforeComma
- Layout/SpaceBeforeFirstArg
- Layout/SpaceInsideArrayLiteralBrackets
- Layout/SpaceInsideBlockBraces
- Layout/SpaceInsideHashLiteralBraces
- Layout/SpaceInsideParens
- Lint/EmptyBlock
- Lint/EmptyConditionalBody
- Lint/RedundantStringCoercion
- Lint/ShadowingOuterLocalVariable
- Lint/SymbolConversion
- Lint/SymbolConversion
- Lint/SymbolConversion
- Lint/UnusedBlockArgument
- Lint/UnusedBlockArgument
- Lint/UselessAssignment
- Rails/Blank
- Rails/LinkToBlank
- Rails/Presence
- Rails/Present
- Rails/TimeZone
- Style/CaseLikeIf
- Style/IfWithBooleanLiteralBranches
- Style/Lambda
- Style/NegatedIfElseCondition
- Style/NumericPredicate
- Style/ParenthesesAroundCondition
- Style/RedundantInterpolation
- Style/RedundantParentheses
- Style/WordArray
- Style/RedundantLineContinuation
- Style/IfInsideElse # Laissez-moi décider de ce qui est le plus lisible
- Layout/LineContinuationSpacing
- Lint/RedundantSafeNavigation
- Rails/HttpStatus
ControlStatementSpacing:
enabled: false
LineLength:
max: 1000
RedundantDiv:
enabled: false