Skip to content

Commit

Permalink
chore: update configs
Browse files Browse the repository at this point in the history
- 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 microsoft/TypeScript#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.
  • Loading branch information
Conaclos committed Jun 22, 2023
1 parent b1cbac2 commit 69a93d0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion .prettierrc.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
semi = false
quoteProps = "preserve"
trailingComma = "all"
3 changes: 1 addition & 2 deletions tsconfig-base.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
"$schema": "https://json.schemastore.org/tsconfig",
"compilerOptions": {
"lib": ["ES2020"],
"module": "ES2020",
"moduleResolution": "node16",
"module": "Node16",
"target": "ES2020",

"noEmit": true,
Expand Down

0 comments on commit 69a93d0

Please sign in to comment.