summaryrefslogtreecommitdiff
path: root/.haml-lint.yml
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-04-20 23:50:22 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2021-04-20 23:50:22 +0000
commit9dc93a4519d9d5d7be48ff274127136236a3adb3 (patch)
tree70467ae3692a0e35e5ea56bcb803eb512a10bedb /.haml-lint.yml
parent4b0f34b6d759d6299322b3a54453e930c6121ff0 (diff)
downloadgitlab-ce-9dc93a4519d9d5d7be48ff274127136236a3adb3.tar.gz
Add latest changes from gitlab-org/gitlab@13-11-stable-eev13.11.0-rc43
Diffstat (limited to '.haml-lint.yml')
-rw-r--r--.haml-lint.yml13
1 files changed, 4 insertions, 9 deletions
diff --git a/.haml-lint.yml b/.haml-lint.yml
index 4adb5e62f88..0ec1af6a6c1 100644
--- a/.haml-lint.yml
+++ b/.haml-lint.yml
@@ -104,22 +104,18 @@ linters:
# These cops should eventually get enabled
- Cop/LineBreakAfterGuardClauses
- - Cop/LineBreakAroundConditionalBlock
- Cop/ProjectPathHelper
+ - Gitlab/FeatureAvailableUsage
- GitlabSecurity/PublicSend
- Layout/EmptyLineAfterGuardClause
- Layout/LeadingCommentSpace
- - Layout/SpaceAfterColon
- - Layout/SpaceAfterComma
- Layout/SpaceAroundOperators
- Layout/SpaceBeforeBlockBraces
- Layout/SpaceBeforeComma
- Layout/SpaceBeforeFirstArg
- - Layout/SpaceInsideArrayLiteralBrackets
- Layout/SpaceInsideHashLiteralBraces
- Layout/SpaceInsideStringInterpolation
- Layout/TrailingEmptyLines
- - Lint/BooleanSymbol
- Lint/LiteralInInterpolation
- Lint/ParenthesesAsGroupedExpression
- Lint/RedundantWithIndex
@@ -131,18 +127,14 @@ linters:
- Rails/LinkToBlank
- Rails/Presence
- Rails/RequestReferer
- - Style/AndOr
- Style/ColonMethodCall
- Style/ConditionalAssignment
- Style/HashSyntax
- Style/IdenticalConditionalBranches
- Style/NegatedIf
- Style/NestedTernaryOperator
- - Style/Not
- Style/ParenthesesAroundCondition
- - Style/RedundantParentheses
- Style/SelfAssignment
- - Style/Semicolon
- Style/TernaryParentheses
- Style/TrailingCommaInHashLiteral
- Style/UnlessElse
@@ -150,6 +142,9 @@ linters:
- Style/WordArray
- Style/ZeroLengthPredicate
+ # WIP See https://gitlab.com/gitlab-org/gitlab/-/issues/207950
+ - Cop/UserAdmin
+
RubyComments:
enabled: true