style: auto-fix lint and format

This commit is contained in:
ajnart authored and github-actions[bot] committed 2026-07-11 22:44:04 +00:00
1 parent aa8410d326
commit d37545c98e
5 files changed
+11 -19

No files matched your search

@@ -32,7 +32,7 @@ export function extractHttpMethods(template: string): string[] {
if (/<ToggleSwitch\b/.test(template) && methods.size === 0) methods.add("POST");
if (/<SubFetch\b/.test(template) && methods.size === 0) methods.add("GET");
}
return [...methods].sort();
return [...methods].toSorted();
}
const METHOD_COLORS: Record<string, string> = {