mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2026-06-23 04:10:17 +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": {
|
"env": {
|
||||||
"node": true,
|
"node": true,
|
||||||
"jest": true
|
"jest": true
|
||||||
|
},
|
||||||
|
"options": {
|
||||||
|
"typeAware": true,
|
||||||
|
"typeCheck": true,
|
||||||
|
"maxWarnings": 0
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"extends" : "./tsconfig.base.json",
|
"extends" : "./tsconfig.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"module": "CommonJS",
|
"module": "CommonJS",
|
||||||
"target": "ES2024",
|
"target": "ES2024",
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"extends" : "./tsconfig.base.json",
|
"extends" : "./tsconfig.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"module": "NodeNext",
|
"module": "NodeNext",
|
||||||
"target" : "esnext",
|
"target" : "esnext",
|
||||||
|
|||||||
@@ -6,5 +6,10 @@
|
|||||||
],
|
],
|
||||||
"env": {
|
"env": {
|
||||||
"node": true
|
"node": true
|
||||||
|
},
|
||||||
|
"options": {
|
||||||
|
"typeAware": true,
|
||||||
|
"typeCheck": true,
|
||||||
|
"maxWarnings": 0
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
"^.+\\.tsx?$" : [
|
"^.+\\.tsx?$" : [
|
||||||
"ts-jest",
|
"ts-jest",
|
||||||
{
|
{
|
||||||
"tsconfig" : "tsconfig.test.json",
|
"tsconfig" : "tsconfig.cjs.json",
|
||||||
"useESM" : true
|
"useESM" : true
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -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"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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": {
|
"env": {
|
||||||
"node": true,
|
"node": true,
|
||||||
"jest": true
|
"jest": true
|
||||||
|
},
|
||||||
|
"options": {
|
||||||
|
"typeAware": true,
|
||||||
|
"typeCheck": true,
|
||||||
|
"maxWarnings": 0
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,5 +14,10 @@
|
|||||||
"env": {
|
"env": {
|
||||||
"node": true,
|
"node": true,
|
||||||
"jest": true
|
"jest": true
|
||||||
|
},
|
||||||
|
"options": {
|
||||||
|
"typeAware": true,
|
||||||
|
"typeCheck": true,
|
||||||
|
"maxWarnings": 0
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user