From d308a65d8cbb9ab80587415718a30af62853ddb7 Mon Sep 17 00:00:00 2001 From: Alexander Meindl Date: Mon, 29 Apr 2019 19:47:24 +0200 Subject: [PATCH] Fix linter settings --- .slim-lint.yml | 8 +++++--- app/views/codimds/show.html.slim | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.slim-lint.yml b/.slim-lint.yml index 28981e1..8216d61 100644 --- a/.slim-lint.yml +++ b/.slim-lint.yml @@ -3,15 +3,17 @@ linters: max: 140 RuboCop: ignored_cops: + - Layout/AlignArguments - Layout/AlignArray - Layout/AlignHash - Layout/AlignParameters - Layout/BlockEndNewline - - Layout/IndentFirstArgument - - Layout/IndentArray + - Layout/EmptyLineAfterGuardClause - Layout/IndentationConsistency - Layout/IndentationWidth - - Layout/IndentHash + - Layout/IndentFirstArgument + - Layout/IndentFirstArrayElement + - Layout/IndentFirstHashElement - Layout/MultilineArrayBraceLayout - Layout/MultilineAssignmentLayout - Layout/MultilineBlockLayout diff --git a/app/views/codimds/show.html.slim b/app/views/codimds/show.html.slim index 8d3a67c..92f9791 100644 --- a/app/views/codimds/show.html.slim +++ b/app/views/codimds/show.html.slim @@ -8,7 +8,7 @@ h2 = font_awesome_icon('fas_file-alt', post_text: l(:label_codimd_pad_plural)) - if @codimd_pads.any? - div.autoscroll + .autoscroll table.list.codimd-pads thead tr