summaryrefslogtreecommitdiff
path: root/.eslintrc
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2016-11-21 17:19:51 -0600
committerMike Greiling <mike@pixelcog.com>2016-11-22 12:19:51 -0600
commitbd0017c6d4e008474fcd87e979b3b4e3f93e39b1 (patch)
treed232acfac0d235b73e71703aedf6476c39692dc0 /.eslintrc
parent12e4f5bd777adb5cc035c84201ef67ad53e01237 (diff)
downloadgitlab-ce-bd0017c6d4e008474fcd87e979b3b4e3f93e39b1.tar.gz
clean up globals exemptions within .eslintrc
Diffstat (limited to '.eslintrc')
-rw-r--r--.eslintrc22
1 files changed, 5 insertions, 17 deletions
diff --git a/.eslintrc b/.eslintrc
index 5850c107a02..6823d0c9f35 100644
--- a/.eslintrc
+++ b/.eslintrc
@@ -1,4 +1,8 @@
{
+ "env": {
+ "browser": true,
+ "es6": true
+ },
"extends": "airbnb",
"plugins": [
"filenames"
@@ -9,23 +13,7 @@
"globals": {
"$": false,
"_": false,
- "beforeEach": false,
- "d3": false,
- "define": false,
- "describe": false,
- "document": false,
- "expect": false,
- "fixture": false,
"gl": false,
- "it": false,
- "jQuery": false,
- "Mousetrap": false,
- "spyOn": false,
- "spyOnEvent": false,
- "Turbolinks": false,
- "window": false,
- "Vue": false,
- "Flash": false,
- "Cookies": false
+ "jQuery": false
}
}