Skip to content

ci(lint): adopt the canonical org lint gate - #30

Merged
bryanfawcett merged 1 commit into
mainfrom
ci/adopt-org-lint
Sep 11, 2026
Merged

ci(lint): adopt the canonical org lint gate#30
bryanfawcett merged 1 commit into
mainfrom
ci/adopt-org-lint

Conversation

@bryanfawcett

Copy link
Copy Markdown
Collaborator

Adds the identical lint caller every repo in the seven Bundu Foundation orgs now uses, calling the single reusable policy in nyuchi/.github, plus the canonical config files.

Markdown fixes the gate found

  • README tagline used bold emphasis as a heading (MD036) — now a blockquote.
  • Tables normalised to markdownlint's compact pipe style (MD060).
  • SECURITY.md bare contact address is now a proper link (MD034).
  • RFC template list surrounded by blank lines (MD032).

Known red: lint / JSON validity

mcp/ntl-postgres-mcp-server/tsconfig.json contains a legal JSONC comment. TypeScript explicitly supports comments in tsconfig.json; the shared check parses every *.json with strict JSON and rejects it.

This is a defect in the check, not in the file. The comment it objects to documents why exactOptionalPropertyTypes is deliberately off — that the MCP SDK's own Transport and CallToolResult types are not written for it. Deleting a correct explanation to satisfy a parser pointed at the wrong file type would be the wrong repair, so I have not done it.

A fix to the shared reusable (parse the JSONC-by-specification filenames — tsconfig*.json, jsconfig*.json, .vscode/*.json, devcontainer.json, .eslintrc.json — with a JSONC parser, keeping strict JSON everywhere else) is pending a decision. Auto-merge is armed, so this PR lands itself the moment that ships.

The other four contexts are green.

Co-Authored-By: Claude Opus 5 (1M context) noreply@anthropic.com

Adds the identical caller every repo in the seven Bundu Foundation orgs
now uses, calling the single reusable lint policy in nyuchi/.github, plus
the canonical .prettierrc, .prettierignore, .markdownlint.jsonc,
.yamllint.yaml and .editorconfig.

Markdown fixes found by the gate: the README tagline used bold emphasis
as a heading (MD036), which is now a blockquote; tables are normalised to
markdownlint's compact pipe style; SECURITY.md's bare contact address is
now a proper link; and the RFC template's list is surrounded by blank
lines.

KNOWN RED: `lint / JSON validity` fails on
mcp/ntl-postgres-mcp-server/tsconfig.json, which contains a legal JSONC
comment. TypeScript supports comments in tsconfig.json; the shared check
parses every *.json with strict JSON and so rejects it. That is a defect
in the check, not in this file, and the comment it objects to documents
why exactOptionalPropertyTypes is deliberately off. Deleting it to make a
parser happy would be the wrong repair. A fix to the shared reusable is
pending; this PR is set to auto-merge once it lands.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@bryanfawcett
bryanfawcett merged commit cedb025 into main Sep 11, 2026
16 of 17 checks passed
@bryanfawcett
bryanfawcett deleted the ci/adopt-org-lint branch September 11, 2026 18:46
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