diff --git a/.eslintrc.js b/.eslintrc.js index c689055318..987556c52b 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -14,7 +14,7 @@ module.exports = { }, parserOptions: { project: 'tsconfig.json', - ecmaVersion: 2018, + ecmaVersion: 2020, sourceType: 'module' }, overrides: [ diff --git a/tsconfig.json b/tsconfig.json index ef252304da..76daab7239 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,7 +1,7 @@ { "compilerOptions": { - "target": "ES2015", - "module": "ES2015", + "target": "ES2020", + "module": "ES2020", "moduleResolution": "Node", "esModuleInterop": true,