From 1a284ddac7f4d61879a5909b2cb1e1c582028245 Mon Sep 17 00:00:00 2001 From: Stan Hu Date: Fri, 3 May 2019 15:21:48 -0700 Subject: [PATCH] Add more HAML lint rules --- .haml-lint.yml | 2 ++ 1 file changed, 2 insertions(+) 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