Skip to content

Commit 7f6699e

Browse files
committed
tsconfig: Enable allowImportingTsExtensions.
Signed-off-by: Anders Kaseorg <[email protected]>
1 parent 339f0d1 commit 7f6699e

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"target": "esnext",
55
"module": "esnext",
66
"moduleResolution": "bundler",
7+
"allowImportingTsExtensions": true,
78
"esModuleInterop": true,
89
"paths": {
910
// https://github.com/getsentry/sentry-electron/issues/957

xo.config.cjs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
module.exports = {
44
prettier: true,
5+
settings: {
6+
n: {
7+
typescriptExtensionMap: [],
8+
},
9+
},
510
rules: {
611
"@typescript-eslint/no-dynamic-delete": "off",
712
"arrow-body-style": "error",

0 commit comments

Comments
 (0)