diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2017-06-14 10:18:24 +0100 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2017-06-14 10:18:24 +0100 |
commit | a7e06a57a55282192a1158bf41b28d6fc515d392 (patch) | |
tree | ec487548e9d4286f35794772eb0d05c639a160d2 | |
parent | ffee59fdfead41b297e6d80ea4b8a224b932bf3d (diff) | |
download | gitlab-ce-vue-pipelines-code.tar.gz |
Fix identation and move eslint rule closer to the item that needs it disabledvue-pipelines-code
3 files changed, 3 insertions, 3 deletions
diff --git a/app/assets/javascripts/pipelines/components/pipelines_actions.vue b/app/assets/javascripts/pipelines/components/pipelines_actions.vue index 1377b9beb21..da5df2a06cf 100644 --- a/app/assets/javascripts/pipelines/components/pipelines_actions.vue +++ b/app/assets/javascripts/pipelines/components/pipelines_actions.vue @@ -1,5 +1,4 @@ <script> - /* eslint-disable no-new */ /* global Flash */ import '~/flash'; import playIconSvg from 'icons/_icon_play.svg'; @@ -39,6 +38,7 @@ }) .catch(() => { this.isLoading = false; + // eslint-disable-next-line no-new new Flash('An error occured while making the request.'); }); }, diff --git a/app/assets/javascripts/vue_shared/components/commit.vue b/app/assets/javascripts/vue_shared/components/commit.vue index 33544dd9f37..fcf48b11057 100644 --- a/app/assets/javascripts/vue_shared/components/commit.vue +++ b/app/assets/javascripts/vue_shared/components/commit.vue @@ -132,7 +132,7 @@ <div v-html="commitIconSvg" - class="commit-icon js-commit-icon"> + class="commit-icon js-commit-icon"> </div> <a diff --git a/app/assets/javascripts/vue_shared/components/pipelines_table.vue b/app/assets/javascripts/vue_shared/components/pipelines_table.vue index 36fd88ae014..ebe8fba8a44 100644 --- a/app/assets/javascripts/vue_shared/components/pipelines_table.vue +++ b/app/assets/javascripts/vue_shared/components/pipelines_table.vue @@ -42,7 +42,7 @@ <tbody> <template v-for="model in pipelines" - v-bind:model="model"> + :model="model"> <tr is="pipelines-table-row-component" :pipeline="model" |