chore(lint): enable type-aware linting

Signed-off-by: Erik Michelson <github@erik.michelson.eu>
This commit is contained in:
Erik Michelson
2026-05-06 22:10:45 +02:00
committed by Philip Molares
parent 6b1f7cee49
commit 78062bb75c
14 changed files with 28 additions and 12 deletions
+5
View File
@@ -14,5 +14,10 @@
"env": { "env": {
"node": true, "node": true,
"jest": true "jest": true
},
"options": {
"typeAware": true,
"typeCheck": true,
"maxWarnings": 0
} }
} }
+1 -1
View File
@@ -1,5 +1,5 @@
{ {
"extends" : "./tsconfig.base.json", "extends" : "./tsconfig.json",
"compilerOptions": { "compilerOptions": {
"module": "CommonJS", "module": "CommonJS",
"target": "ES2024", "target": "ES2024",
+1 -1
View File
@@ -1,5 +1,5 @@
{ {
"extends" : "./tsconfig.base.json", "extends" : "./tsconfig.json",
"compilerOptions": { "compilerOptions": {
"module": "NodeNext", "module": "NodeNext",
"target" : "esnext", "target" : "esnext",
+5
View File
@@ -6,5 +6,10 @@
], ],
"env": { "env": {
"node": true "node": true
},
"options": {
"typeAware": true,
"typeCheck": true,
"maxWarnings": 0
} }
} }
+1 -1
View File
@@ -19,7 +19,7 @@
"^.+\\.tsx?$" : [ "^.+\\.tsx?$" : [
"ts-jest", "ts-jest",
{ {
"tsconfig" : "tsconfig.test.json", "tsconfig" : "tsconfig.cjs.json",
"useESM" : true "useESM" : true
} }
] ]
+5 -2
View File
@@ -1,10 +1,13 @@
{ {
"extends" : "./tsconfig.base.json", "extends" : "./tsconfig.json",
"compilerOptions": { "compilerOptions": {
"module": "CommonJS", "module": "CommonJS",
"target": "ES2015", "target": "ES2015",
"outDir": "dist/cjs", "outDir": "dist/cjs",
"declarationDir": "dist/cjs", "declarationDir": "dist/cjs",
"moduleResolution": "node" "moduleResolution": "node"
} },
"exclude": [
"dist"
]
} }
-4
View File
@@ -1,4 +0,0 @@
{
"extends" : "./tsconfig.cjs.json",
"exclude": ["./dist"]
}
-3
View File
@@ -1,3 +0,0 @@
SPDX-FileCopyrightText: 2023 Tilman Vatteroth
SPDX-License-Identifier: CC0-1.0
+5
View File
@@ -14,5 +14,10 @@
"env": { "env": {
"node": true, "node": true,
"jest": true "jest": true
},
"options": {
"typeAware": true,
"typeCheck": true,
"maxWarnings": 0
} }
} }
+5
View File
@@ -14,5 +14,10 @@
"env": { "env": {
"node": true, "node": true,
"jest": true "jest": true
},
"options": {
"typeAware": true,
"typeCheck": true,
"maxWarnings": 0
} }
} }