diff options
author | winh <winnie@gitlab.com> | 2017-08-04 13:49:59 +0200 |
---|---|---|
committer | winh <winnie@gitlab.com> | 2017-08-04 13:49:59 +0200 |
commit | 35135e730e9eb30ab7eda4a523fcd6b83df16fc4 (patch) | |
tree | 150b6070edb9e148cbb17917eea7bc7d28c94cec | |
parent | fd85aa64b335166d23e7177320cbf878ef7e07cd (diff) | |
download | gitlab-ce-winh-upgrade-haml_lint.tar.gz |
Disable new rules in haml_lintwinh-upgrade-haml_lint
-rw-r--r-- | .haml-lint.yml | 15 | ||||
-rw-r--r-- | app/views/projects/runners/edit.html.haml | 2 |
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) |