mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2026-06-22 20:00:39 +00:00
chore(lint): enable type-aware linting
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
This commit is contained in:
committed by
Philip Molares
parent
6b1f7cee49
commit
78062bb75c
@@ -14,5 +14,10 @@
|
||||
"env": {
|
||||
"node": true,
|
||||
"jest": true
|
||||
},
|
||||
"options": {
|
||||
"typeAware": true,
|
||||
"typeCheck": true,
|
||||
"maxWarnings": 0
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"extends" : "./tsconfig.base.json",
|
||||
"extends" : "./tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"module": "CommonJS",
|
||||
"target": "ES2024",
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"extends" : "./tsconfig.base.json",
|
||||
"extends" : "./tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"module": "NodeNext",
|
||||
"target" : "esnext",
|
||||
|
||||
@@ -6,5 +6,10 @@
|
||||
],
|
||||
"env": {
|
||||
"node": true
|
||||
},
|
||||
"options": {
|
||||
"typeAware": true,
|
||||
"typeCheck": true,
|
||||
"maxWarnings": 0
|
||||
}
|
||||
}
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
"^.+\\.tsx?$" : [
|
||||
"ts-jest",
|
||||
{
|
||||
"tsconfig" : "tsconfig.test.json",
|
||||
"tsconfig" : "tsconfig.cjs.json",
|
||||
"useESM" : true
|
||||
}
|
||||
]
|
||||
|
||||
@@ -1,10 +1,13 @@
|
||||
{
|
||||
"extends" : "./tsconfig.base.json",
|
||||
"extends" : "./tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"module": "CommonJS",
|
||||
"target": "ES2015",
|
||||
"outDir": "dist/cjs",
|
||||
"declarationDir": "dist/cjs",
|
||||
"moduleResolution": "node"
|
||||
}
|
||||
},
|
||||
"exclude": [
|
||||
"dist"
|
||||
]
|
||||
}
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
{
|
||||
"extends" : "./tsconfig.cjs.json",
|
||||
"exclude": ["./dist"]
|
||||
}
|
||||
@@ -1,3 +0,0 @@
|
||||
SPDX-FileCopyrightText: 2023 Tilman Vatteroth
|
||||
|
||||
SPDX-License-Identifier: CC0-1.0
|
||||
@@ -14,5 +14,10 @@
|
||||
"env": {
|
||||
"node": true,
|
||||
"jest": true
|
||||
},
|
||||
"options": {
|
||||
"typeAware": true,
|
||||
"typeCheck": true,
|
||||
"maxWarnings": 0
|
||||
}
|
||||
}
|
||||
|
||||
@@ -14,5 +14,10 @@
|
||||
"env": {
|
||||
"node": true,
|
||||
"jest": true
|
||||
},
|
||||
"options": {
|
||||
"typeAware": true,
|
||||
"typeCheck": true,
|
||||
"maxWarnings": 0
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user