diff options
author | Alfredo Sumaran <alfredo@gitlab.com> | 2017-05-31 23:40:24 +0300 |
---|---|---|
committer | Alfredo Sumaran <alfredo@gitlab.com> | 2017-05-31 23:40:24 +0300 |
commit | 8fca24bd1510226261422b761d18f5c5920dcd64 (patch) | |
tree | adb9986e38def1405295b274f756294676eb7935 /app/assets/javascripts/groups | |
parent | 9cce9e735d89360ccead7151e74213a47a3b9e76 (diff) |
Move eslint disable rule before line containing the offense
Diffstat (limited to 'app/assets/javascripts/groups')
-rw-r--r-- | app/assets/javascripts/groups/components/group_item.vue | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/assets/javascripts/groups/components/group_item.vue b/app/assets/javascripts/groups/components/group_item.vue index 11b66610e29..a6da42e420c 100644 --- a/app/assets/javascripts/groups/components/group_item.vue +++ b/app/assets/javascripts/groups/components/group_item.vue @@ -1,6 +1,4 @@ <script> -/* eslint-disable no-alert */ - import eventHub from '../event_hub'; export default { @@ -32,6 +30,7 @@ export default { onLeaveGroup(e) { e.preventDefault(); + // eslint-disable-next-line no-alert if (confirm(`Are you sure you want to leave the "${this.group.fullName}" group?`)) { this.leaveGroup(); } |