* Fix type imports * Fix jsdoc * Fixup types * Fix stray awaits on non-thenables * Fixup imports * Fix splats * Fix this-context on callbacks * Memoise react contexts * Prefer find/flatMap * Make oxlint happier about our React keys * Avoid unsafe default function params * Fixup jsdoc * Fixup contexts * Switch from eslint to oxlint * Some oxlint-related tweaks * Iterate * Partial revert to defer some changes and shrink diff * Iterate * Add eslint-plugin-element-call and enable the copyright rule * Set strictStorePkgContentCheck * Iterate * Make sonar happy * Fix new lints
27 lines
888 B
JSON
27 lines
888 B
JSON
{
|
|
"compilerOptions": {
|
|
"allowImportingTsExtensions": true,
|
|
"experimentalDecorators": false,
|
|
"emitDecoratorMetadata": false,
|
|
"resolveJsonModule": true,
|
|
"esModuleInterop": true,
|
|
"useDefineForClassFields": true,
|
|
"module": "es2022",
|
|
"moduleResolution": "bundler",
|
|
"target": "es2022",
|
|
"noUnusedLocals": true,
|
|
"sourceMap": false,
|
|
"declaration": true,
|
|
"jsx": "react",
|
|
"lib": ["es2022", "es2024.promise", "dom", "dom.iterable"],
|
|
"types": ["vite/client", "storybook-addon-vis/matcher"],
|
|
"strict": true,
|
|
"paths": {
|
|
"@test-utils": ["./src/test/utils/index"]
|
|
},
|
|
"noEmit": true
|
|
},
|
|
"include": ["./src/**/*.ts", "./src/**/*.tsx", ".storybook/*.ts", ".storybook/*.tsx"],
|
|
"references": [{ "path": "./tsconfig.node.json" }]
|
|
}
|