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,7 @@ function railwayFormatter(record: LogRecord): string {
|
||||
}
|
||||
|
||||
function stripAnsi(str: string): string {
|
||||
// eslint-disable-next-line no-control-regex
|
||||
return str.replace(/\u001b\[[0-9;]*m/g, "").trim();
|
||||
}
|
||||
|
||||
@@ -115,7 +116,6 @@ export function jsonLogger(): Plugin {
|
||||
server = s;
|
||||
const logger = getLogger(["vite"]);
|
||||
|
||||
const originalPrintUrls = server.printUrls;
|
||||
server.printUrls = () => {
|
||||
const urls = server.resolvedUrls;
|
||||
if (urls) {
|
||||
|
||||
Reference in New Issue
Block a user