Browse Source

default to module

Gregg Tavares 6 năm trước cách đây
mục cha
commit
a8c98fd7fb
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      .eslintrc.js

+ 1 - 0
.eslintrc.js

@@ -4,6 +4,7 @@ module.exports = {
     "es6": true,
   },
   "parserOptions": {
+    "sourceType": "module",
     "ecmaVersion": 8,
     "ecmaFeatures": {
       "jsx": true