diff --git a/.eslintrc.json b/.eslintrc.json index 2cfe544cd..47430bdf2 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -72,8 +72,7 @@ "balanced": true }, "exceptions": ["*"] - }], - "es5/no-es6-methods": ["warn"] + }] }, "env": { "browser": true @@ -83,7 +82,6 @@ "goog": true }, "extends": [ - "eslint:recommended", - "plugin:es5/no-es2015" + "eslint:recommended" ] } diff --git a/core/utils/object.js b/core/utils/object.js index e382b9ee5..34b4d0034 100644 --- a/core/utils/object.js +++ b/core/utils/object.js @@ -62,9 +62,7 @@ Blockly.utils.object.deepMerge = function(target, source) { */ Blockly.utils.object.values = function(obj) { if (Object.values) { - /* eslint-disable es5/no-es6-methods */ return Object.values(obj); - /* eslint-enable es5/no-es6-methods */ } // Fallback for IE. return Object.keys(obj).map(function(e) { diff --git a/package.json b/package.json index b1491d69c..80c54da7b 100644 --- a/package.json +++ b/package.json @@ -69,7 +69,6 @@ "clang-format": "^1.5.0", "concurrently": "^6.0.0", "eslint": "^7.6.0", - "eslint-plugin-es5": "^1.5.0", "google-closure-compiler": "^20210302.0.0", "google-closure-deps": "^20210202.0.0", "gulp": "^4.0.2",