From d919610d2cd75c7c91136d823bb933897c382c14 Mon Sep 17 00:00:00 2001 From: Dominik Moritz Date: Sun, 28 Feb 2021 09:29:14 +0100 Subject: [PATCH] feat: use latest es version --- .eslintrc.js | 2 +- tsconfig.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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,