diff --git a/.eslintrc.js b/.eslintrc.js index d82af0667..b82d9a3b3 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -16,9 +16,9 @@ module.exports = { TEST_BASE_URL: true, }, - // we need this to have support for dynamic imports - // although they are ecma stage 4 proposal -> currently being implemented in eslint - parser: 'babel-eslint', + parserOptions: { + ecmaVersion: 'latest', + }, rules: { // overwrite airbnb-base options diff --git a/package-lock.json b/package-lock.json index dfd5bacd4..8307ecc6d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2710,20 +2710,6 @@ "follow-redirects": "^1.14.0" } }, - "babel-eslint": { - "version": "10.1.0", - "resolved": "https://registry.npmjs.org/babel-eslint/-/babel-eslint-10.1.0.tgz", - "integrity": "sha512-ifWaTHQ0ce+448CYop8AdrQiBsGrnC+bMgfyKFdi6EsPLTAWG+QfyDeM6OH+FmWnKvEq5NnBMLvlBUPKQZoDSg==", - "dev": true, - "requires": { - "@babel/code-frame": "^7.0.0", - "@babel/parser": "^7.7.0", - "@babel/traverse": "^7.7.0", - "@babel/types": "^7.7.0", - "eslint-visitor-keys": "^1.0.0", - "resolve": "^1.12.0" - } - }, "babel-jest": { "version": "26.6.3", "resolved": "https://registry.npmjs.org/babel-jest/-/babel-jest-26.6.3.tgz", diff --git a/package.json b/package.json index a8388900f..28e5441ce 100644 --- a/package.json +++ b/package.json @@ -240,7 +240,6 @@ "@babel/plugin-transform-modules-commonjs": "^7.17.7", "@babel/register": "^7.17.7", "archiver": "^5.3.0", - "babel-eslint": "^10.1.0", "copyfiles": "^2.4.1", "eslint": "^7.32.0", "eslint-config-airbnb-base": "^14.2.1",