Skip to content
This repository was archived by the owner on Aug 24, 2025. It is now read-only.

Commit 1900a0a

Browse files
committed
Updated base tsconfig.
1 parent cb34f60 commit 1900a0a

File tree

2 files changed

+15
-9
lines changed

2 files changed

+15
-9
lines changed

src/lang/toMap.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ export const toMap = <TValue>(
1818
toMapBy(
1919
object,
2020
(key) => key,
21-
(key, value) => value,
21+
(_key, value) => value,
2222
);

tsconfig.base.json

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,20 @@
11
{
22
"compilerOptions": {
3-
// General
3+
"target": "ES2020",
4+
"useDefineForClassFields": true,
5+
"module": "Node16",
6+
"lib": ["ES2020"],
7+
"skipLibCheck": true,
8+
9+
/* Bundler mode */
410
"moduleResolution": "Node16",
11+
"isolatedModules": true,
12+
13+
/* Linting */
514
"strict": true,
6-
"esModuleInterop": true,
7-
"allowSyntheticDefaultImports": true,
8-
// Per-project
9-
"module": "Node16",
10-
"target": "ES2020"
15+
"noUnusedLocals": true,
16+
"noUnusedParameters": true,
17+
"noFallthroughCasesInSwitch": true
1118
},
12-
"include": [],
13-
"exclude": ["node_modules"]
19+
"include": []
1420
}

0 commit comments

Comments
 (0)