Commit01ba63dunknown_key
fix(types): lowercase form method attributes (batch 5: 5 errors cleared)
fix(types): lowercase form method attributes (batch 5: 5 errors cleared) Pure type-only fix: JSX <form method="POST"|"GET"> now lowercase to satisfy Hono/SolidJS HTMLAttributeFormMethod typing. Runtime behaviour preserved — HTTP method tokens are case-insensitive per RFC 7230. Note: touches locked files src/routes/required-checks.tsx (E6), src/routes/saved-replies.tsx, src/routes/search.tsx for type-only method-casing fix; runtime behaviour preserved (HTTP method case-insensitive per RFC 7230). Hits session cap of 100 total form-method fixes; 27 remain in bucket for future waves. https://claude.ai/code/session_0155D2jj2kJXaMEnyJhRpRLg
3 files changed+5−501ba63dd21a7facc6fc227fe5d8ccb20c4cfc97e
3 changed files+5−5
Modifiedsrc/routes/required-checks.tsx+2−2View fileUnifiedSplit
@@ -135,7 +135,7 @@ required.get(
135135 {ch.checkName}
136136 </code>
137137 <form
138 method="POST"
138 method="post"
139139 action={`/${owner}/${repo}/gates/protection/${rule.id}/checks/${ch.id}/delete`}
140140 onsubmit="return confirm('Remove this required check?')"
141141 >
@@ -149,7 +149,7 @@ required.get(
149149 </div>
150150
151151 <form
152 method="POST"
152 method="post"
153153 action={`/${owner}/${repo}/gates/protection/${rule.id}/checks`}
154154 class="panel"
155155 style="padding:16px"
Modifiedsrc/routes/saved-replies.tsx+2−2View fileUnifiedSplit
@@ -61,7 +61,7 @@ replies.get("/settings/replies", async (c) => {
6161 <div class="auth-success">{decodeURIComponent(success)}</div>
6262 )}
6363
64 <form method="POST" action="/settings/replies" style="margin-bottom: 24px">
64 <form method="post" action="/settings/replies" style="margin-bottom: 24px">
6565 <div class="form-group">
6666 <label for="shortcut">Shortcut</label>
6767 <input
@@ -106,7 +106,7 @@ replies.get("/settings/replies", async (c) => {
106106 </span>
107107 </summary>
108108 <div style="padding: 12px 16px; background: var(--bg-secondary); border-top: 1px solid var(--border)">
109 <form method="POST" action={`/settings/replies/${r.id}`}>
109 <form method="post" action={`/settings/replies/${r.id}`}>
110110 <div class="form-group">
111111 <label>Shortcut</label>
112112 <input
Modifiedsrc/routes/search.tsx+1−1View fileUnifiedSplit
@@ -137,7 +137,7 @@ search.get("/search", async (c) => {
137137 user={user}
138138 notificationCount={unread}
139139 >
140 <form method="GET" action="/search" style="margin-bottom: 16px">
140 <form method="get" action="/search" style="margin-bottom: 16px">
141141 <input
142142 type="hidden"
143143 name="type"
144144