Add more HAML lint rules

This commit is contained in:
Stan Hu 2019-05-03 15:21:48 -07:00
parent 398371984f
commit 1a284ddac7
1 changed files with 2 additions and 0 deletions

View File

@ -94,6 +94,7 @@ linters:
# These cops should eventually get enabled
- Cop/LineBreakAroundConditionalBlock
- Cop/LineBreakAfterGuardClauses
- Cop/ProjectPathHelper
- GitlabSecurity/PublicSend
- Layout/EmptyLineAfterGuardClause
@ -112,6 +113,7 @@ linters:
- Lint/LiteralInInterpolation
- Lint/ParenthesesAsGroupedExpression
- Lint/RedundantWithIndex
- Lint/SafeNavigationConsistency
- Lint/Syntax
- Metrics/BlockNesting
- Naming/VariableName