8000 Fix SARIF columns for Unicode source by dajiaohuang · Pull Request #1807 · dominikh/go-tools · GitHub
[go: up one dir, main page]

Skip to content

Fix SARIF columns for Unicode source - #1807

Open
dajiaohuang wants to merge 1 commit into
dominikh:masterfrom
dajiaohuang:fix/sarif-utf16
Open

dajiaohuang wants to merge 1 commit into
dominikh:masterfrom
dajiaohuang:fix/sarif-utf16

Conversation

@dajiaohuang
@dajiaohuang dajiaohuang commented Oct 1, 2026 •
Copy link
Copy Markdown

Convert token.Position byte columns to SARIF UTF-16 columns for diagnostics, related locations, and fixes. Preserve existing columns when source text is unavailable. Add Unicode and fallback regression tests.

Validation: go test ./lintcmd

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

0