mirror of
https://github.com/Xevion/xevion.dev.git
synced 2026-01-31 06:26:44 -06:00
refactor: formatting and accessibility improvements across admin components
- Enforce consistent code formatting via ESLint rules - Add accessibility enhancements (input IDs, labels, ARIA attributes) - Replace Svelte store initialization patterns with reactive $effect - Use $derived for reactive computed values - Update error-codes and og-types indentation to spaces - Add TypeScript definitions for html-minifier-terser - Use resolve() for internal links in error and login pages
This commit is contained in:
@@ -25,6 +25,16 @@ export default ts.config(
|
||||
parser: ts.parser,
|
||||
},
|
||||
},
|
||||
rules: {
|
||||
// Disable resolve() requirement for dynamic hrefs in components
|
||||
"svelte/no-navigation-without-resolve": "off",
|
||||
},
|
||||
},
|
||||
{
|
||||
files: ["**/*.svelte.ts"],
|
||||
languageOptions: {
|
||||
parser: ts.parser,
|
||||
},
|
||||
},
|
||||
{
|
||||
ignores: ["build/", ".svelte-kit/", "dist/"],
|
||||
|
||||
Reference in New Issue
Block a user