Commit cd916287 authored by Takuya Noguchi's avatar Takuya Noguchi

Enable Lint/RedundantWithIndex cop for HAML

Signed-off-by: default avatarTakuya Noguchi <takninnovationresearch@gmail.com>
parent a939d096
......@@ -119,7 +119,6 @@ linters:
- Lint/BooleanSymbol
- 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