diff options
author | Mike Greiling <mike@pixelcog.com> | 2016-11-22 02:19:51 +0300 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2016-11-22 21:19:51 +0300 |
commit | bd0017c6d4e008474fcd87e979b3b4e3f93e39b1 (patch) | |
tree | d232acfac0d235b73e71703aedf6476c39692dc0 /spec | |
parent | 12e4f5bd777adb5cc035c84201ef67ad53e01237 (diff) |
clean up globals exemptions within .eslintrc
Diffstat (limited to 'spec')
-rw-r--r-- | spec/javascripts/.eslintrc | 4 | ||||
-rw-r--r-- | spec/javascripts/build_spec.js.es6 | 4 | ||||
-rw-r--r-- | spec/javascripts/environments/environments_store_spec.js.es6 | 4 |
3 files changed, 10 insertions, 2 deletions
diff --git a/spec/javascripts/.eslintrc b/spec/javascripts/.eslintrc index 90388929612..7792acffac2 100644 --- a/spec/javascripts/.eslintrc +++ b/spec/javascripts/.eslintrc @@ -7,5 +7,9 @@ "rules": { "prefer-arrow-callback": 0, "func-names": 0 + }, + "globals": { + "fixture": false, + "spyOnEvent": false } } diff --git a/spec/javascripts/build_spec.js.es6 b/spec/javascripts/build_spec.js.es6 index e21e5844a26..ee192c4f18a 100644 --- a/spec/javascripts/build_spec.js.es6 +++ b/spec/javascripts/build_spec.js.es6 @@ -1,5 +1,7 @@ -/* global Build */ /* eslint-disable no-new */ +/* global Build */ +/* global Turbolinks */ + //= require lib/utils/timeago //= require lib/utils/datetime_utility //= require build diff --git a/spec/javascripts/environments/environments_store_spec.js.es6 b/spec/javascripts/environments/environments_store_spec.js.es6 index 82d9599f372..9b0b3cb1c65 100644 --- a/spec/javascripts/environments/environments_store_spec.js.es6 +++ b/spec/javascripts/environments/environments_store_spec.js.es6 @@ -1,7 +1,9 @@ +/* global environmentsList */ + //= require vue //= require environments/stores/environments_store //= require ./mock_data -/* globals environmentsList */ + (() => { beforeEach(() => { gl.environmentsList.EnvironmentsStore.create(); |