feat: Migrate ESLint to flat config and resolve initial linting errors
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 (, , , , ).
This commit is contained in:
@@ -10,12 +10,14 @@
|
||||
"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
|
||||
}]
|
||||
"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
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user