dc732dbe90
Add more eslint rules
41 lines
1.1 KiB
JSON
41 lines
1.1 KiB
JSON
{
|
|
"$schema": "https://json.schemastore.org/tsconfig",
|
|
"display": "Node 18 + Strictest",
|
|
"compilerOptions": {
|
|
"lib": [
|
|
"es2022"
|
|
],
|
|
"module": "commonjs",
|
|
"target": "es2022",
|
|
"strict": true,
|
|
"esModuleInterop": true,
|
|
"skipLibCheck": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"moduleResolution": "node",
|
|
"allowUnusedLabels": false,
|
|
"allowUnreachableCode": false,
|
|
"exactOptionalPropertyTypes": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"noImplicitOverride": true,
|
|
"noImplicitReturns": true,
|
|
"noPropertyAccessFromIndexSignature": true,
|
|
"noUncheckedIndexedAccess": true,
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"checkJs": true,
|
|
"declaration": true,
|
|
"removeComments": true,
|
|
"emitDecoratorMetadata": true,
|
|
"experimentalDecorators": true,
|
|
"allowSyntheticDefaultImports": true,
|
|
"sourceMap": true,
|
|
"outDir": "./dist",
|
|
"rootDir": "./lib",
|
|
"strictPropertyInitialization": false,
|
|
"resolveJsonModule": true
|
|
},
|
|
"include": [
|
|
"lib/**/*"
|
|
],
|
|
"exclude": ["node_modules", "test", "dist", "**/*spec.ts", "coverage"]
|
|
}
|