Преглед изворни кода

添加.eslintrc.json文件

sunxiaobiao пре 1 година
родитељ
комит
6982815ac6
1 измењених фајлова са 23 додато и 0 уклоњено
  1. 23 0
      .eslintrc.json

+ 23 - 0
.eslintrc.json

@@ -0,0 +1,23 @@
1
+{
2
+    "env": {
3
+        "browser": true,
4
+        "es6": true
5
+    },
6
+    "extends": [
7
+        "eslint:recommended",
8
+        "plugin:vue/essential"
9
+    ],
10
+    "globals": {
11
+        "Atomics": "readonly",
12
+        "SharedArrayBuffer": "readonly"
13
+    },
14
+    "parserOptions": {
15
+        "ecmaVersion": 2018,
16
+        "sourceType": "module"
17
+    },
18
+    "plugins": [
19
+        "vue"
20
+    ],
21
+    "rules": {
22
+    }
23
+}