Kaynağa Gözat

Merge pull request #674 from opensheetmusicdisplay/fix/update-eslint-dependencies

Fix/update eslint dependencies
Simon 5 yıl önce
ebeveyn
işleme
63060e0e93
2 değiştirilmiş dosya ile 3 ekleme ve 3 silme
  1. 1 1
      .eslintrc.yml
  2. 2 2
      package.json

+ 1 - 1
.eslintrc.yml

@@ -1,5 +1,5 @@
 parserOptions: {
 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
 extends: standard
 rules:
 rules:

+ 2 - 2
package.json

@@ -65,11 +65,11 @@
     "clean-webpack-plugin": "^1.0.1",
     "clean-webpack-plugin": "^1.0.1",
     "cross-env": "^7.0.0",
     "cross-env": "^7.0.0",
     "cz-conventional-changelog": "^3.0.0",
     "cz-conventional-changelog": "^3.0.0",
-    "eslint": "^6.2.2",
+    "eslint": "^6.8.0",
     "eslint-config-standard": "^14.1.0",
     "eslint-config-standard": "^14.1.0",
     "eslint-plugin-import": "^2.20.1",
     "eslint-plugin-import": "^2.20.1",
     "eslint-plugin-node": "^11.0.0",
     "eslint-plugin-node": "^11.0.0",
-    "eslint-plugin-promise": "^4.0.1",
+    "eslint-plugin-promise": "^4.2.1",
     "eslint-plugin-standard": "^4.0.0",
     "eslint-plugin-standard": "^4.0.0",
     "html-webpack-plugin": "^3.2.0",
     "html-webpack-plugin": "^3.2.0",
     "jquery": "^3.4.1",
     "jquery": "^3.4.1",