Migrated the ESLint configuration to the new flat config format () and addressed several initial linting errors. Key changes include: - Updated ESLint configuration to treat as warnings instead of errors. - Fixed errors in by declaring and . - Corrected error in by using instead of an out-of-scope . - Resolved error in by replacing the undefined directive with the component. - Addressed errors in by replacing with and with . - Fixed errors in by importing necessary modules (, , ) and adding missing props (, , , , ).
27 lines
891 B
JSON
27 lines
891 B
JSON
{
|
|
"extends": "./.svelte-kit/tsconfig.json",
|
|
"compilerOptions": {
|
|
"allowJs": true,
|
|
"checkJs": true,
|
|
"esModuleInterop": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"resolveJsonModule": true,
|
|
"skipLibCheck": true,
|
|
"sourceMap": true,
|
|
"strict": true,
|
|
"moduleResolution": "bundler",
|
|
"plugins": [
|
|
{
|
|
"name": "typescript-svelte-plugin",
|
|
// the following options can be set additionally; they are optional; their default values are listed here
|
|
"enabled": true, // enables this plugin
|
|
"assumeIsSvelteProject": false // if true, skip detection and always assume it's a Svelte project
|
|
}
|
|
]
|
|
}
|
|
// Path aliases are handled by https://kit.svelte.dev/docs/configuration#alias
|
|
//
|
|
// If you want to overwrite includes/excludes, make sure to copy over the relevant includes/excludes
|
|
// from the referenced tsconfig.json - TypeScript does not merge them in
|
|
}
|