purescript-email-address/qed-mail/tsconfig.json

42 lines
1.1 KiB
JSON
Raw Normal View History

2024-02-07 21:23:45 +00:00
{
"compilerOptions": {
/* Visit https://aka.ms/tsconfig.json to read more about this file */
// Recommended Node options have been incorporated from https://github.com/tsconfig/bases/blob/master/bases/node14.json
"target": "ES5",
"module": "commonjs",
"esModuleInterop": true,
// Overrides default in order to remove "dom" because this package shouldn't assume the presence of browser APIs
"lib": ["ES2022", "DOM"],
// Emit location
"outDir": "dist",
// Emit sourcemaps
"declarationMap": true,
"sourceMap": true,
"inlineSources": true,
// Emit type definitions
"declaration": true,
// Strict mode
"strict": true,
// Allow import package.json
"resolveJsonModule": true,
// Linter style rules
"noUnusedLocals": false, // Disabled because we use eslint for this.
"noUnusedParameters": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"noUncheckedIndexedAccess": true,
"noPropertyAccessFromIndexSignature": true,
"forceConsistentCasingInFileNames": true
},
"include": ["src/**/*", "src/index.d.tsd.tssrc/index.d.tsdex.d.ts"]
}