Skip to content

chore: apply deno fmt, fix lint, add CI fmt/lint gates#7

Merged
AquiGorka merged 1 commit into
mainfrom
chore/fmt-and-lint
Apr 28, 2026
Merged

chore: apply deno fmt, fix lint, add CI fmt/lint gates#7
AquiGorka merged 1 commit into
mainfrom
chore/fmt-and-lint

Conversation

@AquiGorka

Copy link
Copy Markdown
Contributor

Summary

Part of the mainnet-hygiene effort. Brings the repo to a clean state under deno fmt --check and deno lint, and adds CI gates so regressions are caught at PR time.

Changes

  • fmt: deno fmt across the repo (23 files reformatted)
  • lint: 13 violations fixed
    • deno lint --fix handled 8 no-window / no-window-prefix (window -> globalThis)
    • inline // deno-lint-ignore no-import-prefix on 2 build.ts imports that intentionally pin URL/version
    • inline // deno-lint-ignore require-await on 3 view functions whose declared return type satisfies the router's Promise<HTMLElement> contract
  • CI: add fmt and lint jobs to ci.yml
  • version: bump 0.2.3 -> 0.2.4

No behavior changes.

Test plan

  • deno fmt --check clean
  • deno lint clean (was 13 errors)
  • deno task test — 28/28 pass
  • deno task build succeeds
  • Confirm full CI passes

- run deno fmt across the repo (23 files)
- deno lint --fix for no-window/no-window-prefix (8 fixes)
- inline deno-lint-ignore on 2 build.ts pinned-version imports
- inline deno-lint-ignore require-await on 3 view fns whose return
  type satisfies the router's Promise<HTMLElement> contract
- add fmt and lint jobs to ci.yml
- bump version 0.2.3 -> 0.2.4

No behavior changes.
@AquiGorka AquiGorka merged commit 6eeeeb8 into main Apr 28, 2026
4 checks passed
@AquiGorka AquiGorka deleted the chore/fmt-and-lint branch April 28, 2026 20:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant