Commit 077ada55 authored by Kushal Pandya's avatar Kushal Pandya

Merge branch 'tnir/Layout/SpaceInsideArrayLiteralBrackets' into 'master'

Enable Layout/SpaceInsideArrayLiteralBrackets cop for HAML

See merge request gitlab-org/gitlab!59143
parents 1fbf676e bcf9427e
......@@ -114,7 +114,6 @@ linters:
- Layout/SpaceBeforeBlockBraces
- Layout/SpaceBeforeComma
- Layout/SpaceBeforeFirstArg
- Layout/SpaceInsideArrayLiteralBrackets
- Layout/SpaceInsideHashLiteralBraces
- Layout/SpaceInsideStringInterpolation
- Layout/TrailingEmptyLines
......
......@@ -10,5 +10,5 @@
('sibling' if page.next? || page.prev?),
('js-first-button' if page.first?),
('js-last-button' if page.last?),
('d-none d-md-block' if !page.current?) ] }
('d-none d-md-block' if !page.current?)] }
= link_to page, url, { remote: remote, rel: page.next? ? 'next' : page.prev? ? 'prev' : nil, class: ['page-link', active_when(page.current?)] }
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