style(repo): clear workspace lint violations

Align existing managed source with the repository lint rules so the workspace can adopt one reliable root validation command.

This normalizes the private file upload block, removes stale test suppressions, makes an error boundary explicit, and records a stable settings dependency without changing user-facing behavior.

The cleanup creates a deterministic baseline before lint becomes a required pull request gate.
This commit is contained in:
DrSmoothl committed 2026-07-31 13:08:33 +08:00
1 parent c3a1970e1c
commit 8dd986a565
4 files changed
+122 -121

No files matched your search

@@ -33,7 +33,6 @@ describe('qzone feeds JS-literal parsing (issue #182)', () => {
it('mapFeeds drops the undefined hole and normalises the feed', () => {
const data = parseQzoneCallback(SAMPLE);
// eslint-disable-next-line @typescript-eslint/no-explicit-any
const result = mapFeeds(data as any);
expect(result.feeds).toHaveLength(1);
const f = result.feeds[0]!;
@@ -59,7 +58,6 @@ describe('qzone feeds JS-literal parsing (issue #182)', () => {
it('does not pollute Object.prototype via a __proto__ key', () => {
parseQzoneCallback('_preloadCallback({"__proto__":{"polluted":1},"code":0})');
// eslint-disable-next-line @typescript-eslint/no-explicit-any
expect(({} as any).polluted).toBeUndefined();
});