Commit 1d034644 authored by Jose Ivan Vargas's avatar Jose Ivan Vargas

Merge branch 'tnir/rubocop-Lint/BooleanSymbol' into 'master'

Enable Lint/BooleanSymbol in RuboCop for HAML

See merge request gitlab-org/gitlab!59075
parents f9cc00cf f91d3380
...@@ -116,7 +116,6 @@ linters: ...@@ -116,7 +116,6 @@ linters:
- Layout/SpaceInsideHashLiteralBraces - Layout/SpaceInsideHashLiteralBraces
- Layout/SpaceInsideStringInterpolation - Layout/SpaceInsideStringInterpolation
- Layout/TrailingEmptyLines - Layout/TrailingEmptyLines
- Lint/BooleanSymbol
- Lint/LiteralInInterpolation - Lint/LiteralInInterpolation
- Lint/ParenthesesAsGroupedExpression - Lint/ParenthesesAsGroupedExpression
- Lint/RedundantWithIndex - Lint/RedundantWithIndex
......
- type = local_assigns.fetch(:type, :issues) - type = local_assigns.fetch(:type, :issues)
- page_context_word = type.to_s.humanize(capitalize: false) - page_context_word = type.to_s.humanize(capitalize: false)
- display_count = local_assigns.fetch(:display_count, :true) - display_count = local_assigns.fetch(:display_count, true)
%ul.nav-links.issues-state-filters.mobile-separator.nav.nav-tabs %ul.nav-links.issues-state-filters.mobile-separator.nav.nav-tabs
%li{ class: active_when(params[:state] == 'opened') }> %li{ class: active_when(params[:state] == 'opened') }>
......
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