diff options
Diffstat (limited to '.eslintrc')
-rw-r--r-- | .eslintrc | 33 |
1 files changed, 12 insertions, 21 deletions
diff --git a/.eslintrc b/.eslintrc index fd26215b843..e13f76b213c 100644 --- a/.eslintrc +++ b/.eslintrc @@ -1,29 +1,20 @@ { - "extends": "airbnb", + "env": { + "jquery": true, + "browser": true, + "es6": true + }, + "extends": "airbnb-base", + "globals": { + "_": false, + "gl": false, + "gon": false, + "localStorage": false + }, "plugins": [ "filenames" ], "rules": { "filenames/match-regex": [2, "^[a-z0-9_]+(.js)?$"] - }, - "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 } } - |