Commit bcf9427e authored by Takuya Noguchi's avatar Takuya Noguchi

Enable Layout/SpaceInsideArrayLiteralBrackets cop for HAML

Signed-off-by: default avatarTakuya Noguchi <takninnovationresearch@gmail.com>
parent 43310934
...@@ -114,7 +114,6 @@ linters: ...@@ -114,7 +114,6 @@ linters:
- Layout/SpaceBeforeBlockBraces - Layout/SpaceBeforeBlockBraces
- Layout/SpaceBeforeComma - Layout/SpaceBeforeComma
- Layout/SpaceBeforeFirstArg - Layout/SpaceBeforeFirstArg
- Layout/SpaceInsideArrayLiteralBrackets
- Layout/SpaceInsideHashLiteralBraces - Layout/SpaceInsideHashLiteralBraces
- Layout/SpaceInsideStringInterpolation - Layout/SpaceInsideStringInterpolation
- Layout/TrailingEmptyLines - Layout/TrailingEmptyLines
......
...@@ -10,5 +10,5 @@ ...@@ -10,5 +10,5 @@
('sibling' if page.next? || page.prev?), ('sibling' if page.next? || page.prev?),
('js-first-button' if page.first?), ('js-first-button' if page.first?),
('js-last-button' if page.last?), ('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?)] } = 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