Add more HAML lint rules
This commit is contained in:
parent
398371984f
commit
1a284ddac7
1 changed files with 2 additions and 0 deletions
|
@ -94,6 +94,7 @@ linters:
|
||||||
|
|
||||||
# These cops should eventually get enabled
|
# These cops should eventually get enabled
|
||||||
- Cop/LineBreakAroundConditionalBlock
|
- Cop/LineBreakAroundConditionalBlock
|
||||||
|
- Cop/LineBreakAfterGuardClauses
|
||||||
- Cop/ProjectPathHelper
|
- Cop/ProjectPathHelper
|
||||||
- GitlabSecurity/PublicSend
|
- GitlabSecurity/PublicSend
|
||||||
- Layout/EmptyLineAfterGuardClause
|
- Layout/EmptyLineAfterGuardClause
|
||||||
|
@ -112,6 +113,7 @@ linters:
|
||||||
- Lint/LiteralInInterpolation
|
- Lint/LiteralInInterpolation
|
||||||
- Lint/ParenthesesAsGroupedExpression
|
- Lint/ParenthesesAsGroupedExpression
|
||||||
- Lint/RedundantWithIndex
|
- Lint/RedundantWithIndex
|
||||||
|
- Lint/SafeNavigationConsistency
|
||||||
- Lint/Syntax
|
- Lint/Syntax
|
||||||
- Metrics/BlockNesting
|
- Metrics/BlockNesting
|
||||||
- Naming/VariableName
|
- Naming/VariableName
|
||||||
|
|
Loading…
Reference in a new issue