Commit 4497a501 authored by Vitaly Slobodin's avatar Vitaly Slobodin

Merge branch 'tnir/Lint/RedundantWithIndex' into 'master'

Enable Lint/RedundantWithIndex cop for HAML

See merge request gitlab-org/gitlab!59607
parents 5185e928 cd916287
......@@ -118,7 +118,6 @@ linters:
- Layout/TrailingEmptyLines
- Lint/LiteralInInterpolation
- Lint/ParenthesesAsGroupedExpression
- Lint/RedundantWithIndex
- Lint/SafeNavigationConsistency
- Metrics/BlockNesting
- Naming/VariableName
......
.js-projects-list-holder
- if @projects.any?
%ul.projects-list.content-list.admin-projects
- @projects.each_with_index do |project|
- @projects.each do |project|
%li.project-row{ class: ('no-description' if project.description.blank?) }
.controls
= link_to _('Edit'), edit_project_path(project), id: "edit_#{dom_id(project)}", class: "btn gl-button btn-default"
......
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