refactor: update ESLint configuration and improve Svelte component structure
- Added .eslintcache to .gitignore for better cache management. - Enhanced ESLint configuration to ignore specific directories and files for cleaner linting. - Updated Svelte components to use unique keys in loops for improved performance and maintainability. - Cleaned up imports and standardized formatting across various components for better code clarity. - Resolved merge conflicts in multiple Svelte files to ensure consistent functionality.
This commit is contained in:
20
.vscode/settings.json
vendored
20
.vscode/settings.json
vendored
@@ -9,5 +9,21 @@
|
||||
// },
|
||||
// "[svelte]": {
|
||||
// "editor.defaultFormatter": "biomejs.biome"
|
||||
// }
|
||||
}
|
||||
// },
|
||||
"eslint.useFlatConfig": true,
|
||||
"eslint.workingDirectories": [
|
||||
{ "pattern": "apps/*" },
|
||||
{ "pattern": "packages/*" }
|
||||
],
|
||||
"eslint.validate": [
|
||||
"javascript",
|
||||
"javascriptreact",
|
||||
"typescript",
|
||||
"typescriptreact",
|
||||
"svelte"
|
||||
],
|
||||
"eslint.options": {
|
||||
"cache": true,
|
||||
"cacheLocation": ".eslintcache"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user