Commit 1a284dda authored by Stan Hu's avatar Stan Hu

Add more HAML lint rules

parent 39837198
...@@ -94,6 +94,7 @@ linters: ...@@ -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: ...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment