From 69a93d021ab910d63318c3d107588b38a28dce5f Mon Sep 17 00:00:00 2001 From: Victorien Elvinger Date: Fri, 23 Jun 2023 00:36:57 +0200 Subject: [PATCH] chore: update configs - Don't specify TS `moduleResolution` In the next release, it will be an error to set module or moduleResolution to node16 and the other to ad istinct value. See https://github.com/microsoft/TypeScript/issues/54735 `module=Node16` implies `moduleResolution=node16` - Do not preserve quoted properties (prettier, rome) We no longer need to preserve quoted properties in the codebase. The last object-map was converted to a Map. --- .prettierrc.toml | 1 - tsconfig-base.json | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.prettierrc.toml b/.prettierrc.toml index 2d2bce2..09e3ea0 100644 --- a/.prettierrc.toml +++ b/.prettierrc.toml @@ -1,3 +1,2 @@ semi = false -quoteProps = "preserve" trailingComma = "all" \ No newline at end of file diff --git a/tsconfig-base.json b/tsconfig-base.json index b85b40a..c935ba0 100644 --- a/tsconfig-base.json +++ b/tsconfig-base.json @@ -2,8 +2,7 @@ "$schema": "https://json.schemastore.org/tsconfig", "compilerOptions": { "lib": ["ES2020"], - "module": "ES2020", - "moduleResolution": "node16", + "module": "Node16", "target": "ES2020", "noEmit": true,