Add more HAML lint rules

This commit is contained in:
Stan Hu 2019-05-03 15:21:48 -07:00
parent 398371984f
commit 1a284ddac7

View file

@ -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