Skip to content

Commit d0c864f

Browse files
committed
Enable the TypeScript compiler options noUnusedLocals and noUnusedParameters.
1 parent 25620ba commit d0c864f

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
- Updated `actions/setup-node` to v4.
2121
- Replaced `npm run` with `node --run`.
2222
- Run tests with Node.js v20, v22, v24.
23+
- Enabled the TypeScript compiler options `noUnusedLocals` and `noUnusedParameters`.
2324

2425
## 18.0.1
2526

jsconfig.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
"maxNodeModuleJsDepth": 10,
44
"module": "nodenext",
55
"noEmit": true,
6+
"noUnusedLocals": true,
7+
"noUnusedParameters": true,
68
"strict": true
79
},
810
"typeAcquisition": {

0 commit comments

Comments
 (0)