summaryrefslogtreecommitdiff
path: root/.eslintrc
diff options
context:
space:
mode:
authorwinniehell <git@winniehell.de>2016-07-22 22:54:58 +0200
committerwinniehell <git@winniehell.de>2016-10-26 10:00:55 +0200
commite5a0d41db0c2871cc9b229aab40de19bdabe1d9e (patch)
tree61df949191908e8ef59baf0bf73e1c9f4f93d9f7 /.eslintrc
parent3d174c7198f103cdedd7c7ffb7678aff1dd4de33 (diff)
downloadgitlab-ce-e5a0d41db0c2871cc9b229aab40de19bdabe1d9e.tar.gz
add ESLint
ESLint config: https://github.com/airbnb/javascript
Diffstat (limited to '.eslintrc')
-rw-r--r--.eslintrc23
1 files changed, 23 insertions, 0 deletions
diff --git a/.eslintrc b/.eslintrc
new file mode 100644
index 00000000000..16eb18ecba2
--- /dev/null
+++ b/.eslintrc
@@ -0,0 +1,23 @@
+{
+ "extends": "airbnb",
+ "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
+ }
+}
+