瀏覽代碼

chore: update eslint to version 6.8.0, eslintrc: set ecmaversion to 8 (2017) (#673)

part of #673
sschmid 5 年之前
父節點
當前提交
e84f20e7b7
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      .eslintrc.yml
  2. 1 1
      package.json

+ 1 - 1
.eslintrc.yml

@@ -1,5 +1,5 @@
 parserOptions: {
-        ecmaVersion: 7, // the ecmaVersion isn't set in stone, for now added to satisfy eslint 
+        ecmaVersion: 8, // 8 = ECMA2017 necessary for promises/async. The ecmaVersion isn't set in stone, for now mostly adapted for eslint.
     }
 extends: standard
 rules:

+ 1 - 1
package.json

@@ -65,7 +65,7 @@
     "clean-webpack-plugin": "^1.0.1",
     "cross-env": "^7.0.0",
     "cz-conventional-changelog": "^3.0.0",
-    "eslint": "^6.2.2",
+    "eslint": "^6.8.0",
     "eslint-config-standard": "^14.1.0",
     "eslint-plugin-import": "^2.20.1",
     "eslint-plugin-node": "^11.0.0",