Skip to content

feat: copyright headers for go, javascript, and typescript - #22

Merged
emersonknapp merged 1 commit into
mainfrom
copyright-web-go
Sep 10, 2026
Merged

emersonknapp merged 1 commit into
mainfrom
copyright-web-go

Conversation

@emersonknapp

Copy link
Copy Markdown
Member

Extend the // comment-style file set of polymath-copyright to Go, JavaScript, JSX, TypeScript, and TSX, so those languages get the same header insertion and validation as C and C++.

The --relicense strip loop now stops at Go directive comments, which keeps a //go:build or // +build constraint out of the block it deletes.

Extend the `//` comment-style file set of `polymath-copyright` to Go,
JavaScript, JSX, TypeScript, and TSX, so those languages get the same
header insertion and validation as C and C++.

The `--relicense` strip loop now stops at Go directive comments, which
keeps a `//go:build` or `// +build` constraint out of the block it
deletes.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Signed-off-by: Emerson Knapp <emerson@polymathrobotics.com>
@emersonknapp
emersonknapp merged commit cebea2d into main Sep 10, 2026
4 checks passed
@emersonknapp
emersonknapp deleted the copyright-web-go branch September 10, 2026 18:19
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