vscode-proselint
vscode-proselint copied to clipboard
Error reported on wrong column
Installed extension version: v0.0.4

test file content (test.txt)
This is a test ... <- warning
This is a test ... <- warning
proselint test.txt
output
test.txt:1:17: typography.symbols.ellipsis '...' is an approximation, use the ellipsis symbol '…'.
test.txt:3:17: typography.symbols.ellipsis '...' is an approximation, use the ellipsis symbol '…'.
proselint --json
output (formatted)
{
"data": {
"errors": [
{
"check": "typography.symbols.ellipsis",
"column": 17,
"end": 19,
"extent": 2,
"line": 1,
"message": "'...' is an approximation, use the ellipsis symbol '\u2026'.",
"replacements": null,
"severity": "warning",
"start": 17
},
{
"check": "typography.symbols.ellipsis",
"column": 17,
"end": 50,
"extent": 2,
"line": 3,
"message": "'...' is an approximation, use the ellipsis symbol '\u2026'.",
"replacements": null,
"severity": "warning",
"start": 48
}
]
},
"status": "success"
}
I noticed this as well. Every error is reported at the end of the line that it occurs on, which makes the extension pretty hard to use.