Skip to content

build: add eslint and prettier with a check script - #11

Closed
TheGreatAxios wants to merge 4 commits into
cl-9232-agent-token-make-readme-snippets-compilefrom
cl-9205-agent-token-add-eslint-prettier-check-script-and-ci
Closed

TheGreatAxios wants to merge 4 commits into
cl-9232-agent-token-make-readme-snippets-compilefrom
cl-9205-agent-token-add-eslint-prettier-check-script-and-ci

Conversation

@TheGreatAxios

@TheGreatAxios TheGreatAxios commented Sep 25, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • eslint and prettier configs follow Interchange's, with versions matching Interchange's pins; formatting is a separate commit.
  • check runs lint, format check, typecheck and test:e2e. CI (Bun 1.4.2) runs it on PRs with a Postgres service, then build and npm pack --dry-run.
  • DB suite response bodies are validated with arktype instead of cast (lint rule).
  • The last commit releases 0.2.0.
  • Stacked on docs(readme): polish to the Corbits README standard #10.

Verification

  • DATABASE_URL=... bun run check against local Postgres: pass (6 e2e tests)

Closes CL-9205

@TheGreatAxios TheGreatAxios left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Self-review: diff matches the linked ticket(s); independent review passes addressed (fixed or waived as noted in the description); typecheck, build and the Postgres-backed suite pass on this branch.

@TheGreatAxios
TheGreatAxios force-pushed the cl-9205-agent-token-add-eslint-prettier-check-script-and-ci branch from c079448 to 068f071 Compare September 25, 2026 18:09
@TheGreatAxios
TheGreatAxios force-pushed the cl-9232-agent-token-make-readme-snippets-compile branch from e41a8db to 9b4615a Compare September 25, 2026 18:09
@TheGreatAxios
TheGreatAxios force-pushed the cl-9205-agent-token-add-eslint-prettier-check-script-and-ci branch from 068f071 to b95fe8d Compare September 25, 2026 18:22
@TheGreatAxios
TheGreatAxios force-pushed the cl-9232-agent-token-make-readme-snippets-compile branch from 9b4615a to 2b10cc1 Compare September 25, 2026 18:22
@TheGreatAxios TheGreatAxios reopened this Sep 25, 2026
@TheGreatAxios
TheGreatAxios force-pushed the cl-9205-agent-token-add-eslint-prettier-check-script-and-ci branch 2 times, most recently from 107898c to 863bcaf Compare September 25, 2026 23:14
@TheGreatAxios
TheGreatAxios force-pushed the cl-9232-agent-token-make-readme-snippets-compile branch from 2b10cc1 to d2d71b5 Compare September 25, 2026 23:48
@TheGreatAxios
TheGreatAxios force-pushed the cl-9205-agent-token-add-eslint-prettier-check-script-and-ci branch 2 times, most recently from c632ffe to f3e568e Compare September 25, 2026 23:49
@TheGreatAxios
TheGreatAxios force-pushed the cl-9232-agent-token-make-readme-snippets-compile branch from d2d71b5 to 3f0c232 Compare September 25, 2026 23:49
@TheGreatAxios
TheGreatAxios force-pushed the cl-9205-agent-token-add-eslint-prettier-check-script-and-ci branch from f3e568e to b6c59e0 Compare September 25, 2026 23:53
@TheGreatAxios
TheGreatAxios force-pushed the cl-9232-agent-token-make-readme-snippets-compile branch from 21613fc to db86476 Compare September 26, 2026 00:35
@TheGreatAxios
TheGreatAxios force-pushed the cl-9205-agent-token-add-eslint-prettier-check-script-and-ci branch 2 times, most recently from 0615b73 to ab6010c Compare September 26, 2026 00:54
@TheGreatAxios
TheGreatAxios force-pushed the cl-9232-agent-token-make-readme-snippets-compile branch from db86476 to c2f6bc9 Compare September 26, 2026 00:54
@TheGreatAxios TheGreatAxios changed the title Add eslint, prettier, a check script and CI build: add eslint and prettier with a check script Sep 26, 2026
@TheGreatAxios
TheGreatAxios force-pushed the cl-9205-agent-token-add-eslint-prettier-check-script-and-ci branch from ab6010c to 995cdb0 Compare September 26, 2026 01:27
@TheGreatAxios
TheGreatAxios force-pushed the cl-9232-agent-token-make-readme-snippets-compile branch from c2f6bc9 to 40b1722 Compare September 26, 2026 01:27
@TheGreatAxios
TheGreatAxios force-pushed the cl-9205-agent-token-add-eslint-prettier-check-script-and-ci branch from 995cdb0 to 3659310 Compare September 26, 2026 01:37
@TheGreatAxios
TheGreatAxios added this pull request to stack #12 September 26, 2026 01:58
@TheGreatAxios
TheGreatAxios force-pushed the cl-9205-agent-token-add-eslint-prettier-check-script-and-ci branch from 3659310 to 2cf6b0b Compare September 26, 2026 02:23
The configs follow Interchange's. Response bodies in the database suite
are validated instead of asserted, which the lint rules require.
@TheGreatAxios
TheGreatAxios force-pushed the cl-9205-agent-token-add-eslint-prettier-check-script-and-ci branch from 2cf6b0b to 9af2cae Compare September 26, 2026 02:30
@TheGreatAxios

Copy link
Copy Markdown
Contributor Author

Superseded: oxfmt and oxlint replace ESLint and Prettier in this repo.

@TheGreatAxios
TheGreatAxios removed this pull request from stack #12 September 27, 2026 01:42
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