Follow-up from #288 This matches the strictness rules with the Browsertrix repo, specifically `noImplicitAny`, and then adds `// @ts-expect-error`s to suppress existing errors this change raises. This'll help us keep code quality high moving forward. Going to just directly merge this once it passes CI; as with #288, this doesn't change any code, just comments.
36 lines
841 B
JSON
36 lines
841 B
JSON
{
|
|
"compilerOptions": {
|
|
"outDir": "./dist/",
|
|
"module": "esnext",
|
|
"target": "es6",
|
|
"moduleResolution": "node",
|
|
"allowJs": true,
|
|
"strict": true,
|
|
"declaration": true,
|
|
"declarationMap": true,
|
|
"declarationDir": "./dist/types",
|
|
"noImplicitAny": true,
|
|
"allowSyntheticDefaultImports": true,
|
|
"experimentalDecorators": true,
|
|
"importHelpers": true,
|
|
"sourceMap": true,
|
|
"inlineSources": true,
|
|
"skipLibCheck": true,
|
|
"plugins": [
|
|
{
|
|
"name": "ts-lit-plugin",
|
|
"strict": true,
|
|
"rules": {
|
|
"no-missing-import": "off"
|
|
},
|
|
"maxNodeModuleImportDepth": -1
|
|
}
|
|
],
|
|
"incremental": true,
|
|
"paths": {
|
|
"flexsearch": ["./node_modules/@types/flexsearch"]
|
|
}
|
|
},
|
|
"include": ["src/**/*.ts", "src/**/*.js", "src/**/*.d.ts"]
|
|
}
|