Apply formatting and fix web request utilities

Add consistent indent rule to ESLint and normalize formatting/indentation across multiple files. Refactor RequestUtil: improve cookie extraction, redirect handling, and HttpGetJson/HttpGetText request flow; fix cookie string builder formatting. Fix uploadGroupNoticeImage promise/error handling and network request flow. Also apply minor style/refactor tweaks in bridge web APIs, onebot handlers, message-store SQL alignment, and Proton AST collector utilities to improve readability and correctness.
This commit is contained in:
手瓜一十雪 committed 2026-05-20 19:16:06 +08:00
1 parent aea2676c31
commit 36c3ed031b
22 files changed
+2144 -2140

No files matched your search

+1
View File
@@ -25,6 +25,7 @@ export default defineConfig([
},
},
rules: {
'indent': ['error', 2, { SwitchCase: 1 }],
'react-refresh/only-export-components': 'off',
'react-hooks/set-state-in-effect': 'off',
},