summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2019-05-03 15:21:48 -0700
committerStan Hu <stanhu@gmail.com>2019-05-05 03:24:27 -0700
commit1a284ddac7f4d61879a5909b2cb1e1c582028245 (patch)
tree2fb5352d24ab84f919082f1041a8eeadc3570cbb
parent398371984f09e409e433cc34f7152b29d3613c8b (diff)
downloadgitlab-ce-1a284ddac7f4d61879a5909b2cb1e1c582028245.tar.gz
Add more HAML lint rules
-rw-r--r--.haml-lint.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.haml-lint.yml b/.haml-lint.yml
index 6766f672c53..94d1e4f0d86 100644
--- a/.haml-lint.yml
+++ b/.haml-lint.yml
@@ -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