refactor: 🚨 Turn every linter rule on and fix issues (there were a LOT :3)

This commit is contained in:
Jesse Wierzbinski 2024-06-12 16:26:43 -10:00
parent 2e98859153
commit a1e02d0d78
No known key found for this signature in database
177 changed files with 1826 additions and 1248 deletions

View file

@ -16,7 +16,7 @@ export const meta = applyConfig({
});
export default (app: Hono) =>
app.on(meta.allowedMethods, meta.route, async () => {
app.on(meta.allowedMethods, meta.route, () => {
return jsonResponse({
version: "2.0",
software: { name: "lysand", version: manifest.version },

View file

@ -16,7 +16,7 @@ export const meta = applyConfig({
});
export default (app: Hono) =>
app.on(meta.allowedMethods, meta.route, async () => {
app.on(meta.allowedMethods, meta.route, () => {
return redirect(
new URL("/.well-known/nodeinfo/2.0", config.http.base_url),
301,