summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwinh <winnie@gitlab.com>2017-08-04 13:49:59 +0200
committerwinh <winnie@gitlab.com>2017-08-04 13:49:59 +0200
commit35135e730e9eb30ab7eda4a523fcd6b83df16fc4 (patch)
tree150b6070edb9e148cbb17917eea7bc7d28c94cec
parentfd85aa64b335166d23e7177320cbf878ef7e07cd (diff)
downloadgitlab-ce-winh-upgrade-haml_lint.tar.gz
Disable new rules in haml_lintwinh-upgrade-haml_lint
-rw-r--r--.haml-lint.yml15
-rw-r--r--app/views/projects/runners/edit.html.haml2
2 files changed, 16 insertions, 1 deletions
diff --git a/.haml-lint.yml b/.haml-lint.yml
index 528f99d08d2..372994979b8 100644
--- a/.haml-lint.yml
+++ b/.haml-lint.yml
@@ -35,9 +35,18 @@ linters:
HtmlAttributes:
enabled: true
+ IdNames:
+ enabled: false
+
ImplicitDiv:
enabled: true
+ InlineStyles:
+ enabled: false
+
+ InstanceVariables:
+ enabled: false
+
LeadingCommentSpace:
enabled: false
@@ -54,6 +63,9 @@ linters:
ObjectReferenceAttributes:
enabled: true
+ RepeatedId:
+ enabled: false
+
RuboCop:
enabled: false
# These cops are incredibly noisy when it comes to HAML templates, so we
@@ -101,3 +113,6 @@ linters:
UnnecessaryStringOutput:
enabled: true
+
+ ViewLength:
+ enabled: false
diff --git a/app/views/projects/runners/edit.html.haml b/app/views/projects/runners/edit.html.haml
index 95706888655..78dc4817ed7 100644
--- a/app/views/projects/runners/edit.html.haml
+++ b/app/views/projects/runners/edit.html.haml
@@ -3,4 +3,4 @@
%h4 Runner ##{@runner.id}
%hr
- = render 'form', runner: @runner, runner_form_url: runner_path(@runner)
+ = render 'form', runner: @runner, runner_form_url: runner_path(@runner)