]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Migrate parser & env config to ESLint 2.0.0
authorChris Rebert <code@chrisrebert.com>
Tue, 31 May 2016 07:46:33 +0000 (00:46 -0700)
committerChris Rebert <code@chrisrebert.com>
Tue, 31 May 2016 07:46:33 +0000 (00:46 -0700)
js/.eslintrc.json

index b866b125bfd1023799c5a5a39c6a74aae24f3a58..11e8f26ef6a868f0a7012d1385f250010299c57c 100644 (file)
@@ -1,8 +1,13 @@
 {
     "root": true,
     "parser": "babel-eslint",
+    "parserOptions": {
+        "ecmaVersion": 6,
+        "sourceType": "module"
+    },
     "env": {
         "browser": true,
+        "es6": true,
         "jquery": true
     },
     "rules": {