diff --git a/.eslintrc.js b/.eslintrc.js index 72ff0975797..8b784badbd0 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -10,6 +10,9 @@ module.exports = { "es6": true, "jquery": true }, + parserOptions: { + "ecmaVersion": "2020" + }, rules: { // errors "block-scoped-var": "error", diff --git a/tests/jshint.json b/tests/jshint.json index 30c56c2bb46..717c4335325 100644 --- a/tests/jshint.json +++ b/tests/jshint.json @@ -1,5 +1,5 @@ { "latedef": true, "laxbreak": true, - "esversion": 6 + "esversion": 11 }