diff options
author | Stan Hu <stanhu@gmail.com> | 2019-05-03 15:11:26 -0700 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2019-05-05 03:24:27 -0700 |
commit | 398371984f09e409e433cc34f7152b29d3613c8b (patch) | |
tree | 1f6d1f49db2351620fc1141220b59944bd8ef821 /.haml-lint.yml | |
parent | 09b44072e7749248a0224840e72de1b2a5cac671 (diff) | |
download | gitlab-ce-398371984f09e409e433cc34f7152b29d3613c8b.tar.gz |
Add exceptions to HAML lint
Diffstat (limited to '.haml-lint.yml')
-rw-r--r-- | .haml-lint.yml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/.haml-lint.yml b/.haml-lint.yml index bad918ef35d..6766f672c53 100644 --- a/.haml-lint.yml +++ b/.haml-lint.yml @@ -93,10 +93,10 @@ linters: - Style/WhileUntilModifier # These cops should eventually get enabled - - Cop/LineBreakAfterGuardClauses - Cop/LineBreakAroundConditionalBlock - Cop/ProjectPathHelper - GitlabSecurity/PublicSend + - Layout/EmptyLineAfterGuardClause - Layout/LeadingCommentSpace - Layout/SpaceAfterColon - Layout/SpaceAfterComma @@ -117,6 +117,7 @@ linters: - Naming/VariableName - Performance/RedundantMatch - Performance/StringReplacement + - Rails/LinkToBlank - Rails/Presence - Rails/RequestReferer - Style/AndOr @@ -134,6 +135,7 @@ linters: - Style/TernaryParentheses - Style/TrailingCommaInHashLiteral - Style/UnlessElse + - Style/UnneededCondition - Style/WordArray - Style/ZeroLengthPredicate |