diff --git a/.eslintrc.json b/.eslintrc.json index 2f0fadfa3a..9b3becfbdf 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -2,7 +2,7 @@ "root": true, "parser": "@typescript-eslint/parser", "parserOptions": { - "ecmaVersion": 2019 + "ecmaVersion": 2020 }, "plugins": [ "simple-import-sort", diff --git a/tsconfig.json b/tsconfig.json index a2724c494c..55dd558a25 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -4,11 +4,13 @@ "checkJs": false, "strict": true, "alwaysStrict": true, - "target": "ES2019", + "target": "ES2020", "module": "commonJS", "moduleResolution": "node", "skipLibCheck": true, - "lib": ["es2020"], + "lib": [ + "es2020" + ], // We don't make use of tslib helpers, all syntax used is supported by target engine "importHelpers": false, "noEmitHelpers": true, @@ -25,7 +27,9 @@ // we include sources in the release "inlineSources": false, // Prevents web types from being suggested by vscode. - "types": ["node"], + "types": [ + "node" + ], "forceConsistentCasingInFileNames": true, "noImplicitOverride": true, "noImplicitReturns": true, @@ -36,5 +40,7 @@ "transpileOnly": true, "compiler": "typescript-cached-transpile" }, - "include": ["src/**/*"] + "include": [ + "src/**/*" + ] }