summaryrefslogtreecommitdiff
path: root/spec/javascripts/blob
diff options
context:
space:
mode:
authorKushal Pandya <kushalspandya@gmail.com>2017-04-20 11:11:51 +0000
committerFilipa Lacerda <filipa@gitlab.com>2017-04-20 11:11:51 +0000
commitd586b6cced34d663f018203e99aecbb9c6ac3158 (patch)
treedd01b08da4233d1b27762021fa9919a2708d12f9 /spec/javascripts/blob
parentf96e1bf12432b0f4eff4a900caa46a0c4790123f (diff)
downloadgitlab-ce-d586b6cced34d663f018203e99aecbb9c6ac3158.tar.gz
Add ES lint support to identify poorly written Promises
Diffstat (limited to 'spec/javascripts/blob')
-rw-r--r--spec/javascripts/blob/sketch/index_spec.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/javascripts/blob/sketch/index_spec.js b/spec/javascripts/blob/sketch/index_spec.js
index 0e4431548c4..79f40559817 100644
--- a/spec/javascripts/blob/sketch/index_spec.js
+++ b/spec/javascripts/blob/sketch/index_spec.js
@@ -1,4 +1,4 @@
-/* eslint-disable no-new */
+/* eslint-disable no-new, promise/catch-or-return */
import JSZip from 'jszip';
import SketchLoader from '~/blob/sketch';