Expand the json output of mint lint to have more metadata #465
Labels
enhancement
New feature or request
tooling
Tooling related feature (formatter, documentation, production builder)
I was looking at what it would take to have inline warnings in VSCode, and testing with master mint to use
lint --json
.The json that the linter outputs an array of strings with the error messages. In order to effectively use the json output, it would be helpful for it to output an array of objects that include metadata like:
I was looking for a branch of a case expression but found "Result::Ok" instead.
)It could be parsed out from the error message, but that would be brittle, and the error message does not include the "end" column number, so any errors in-editor would have to be drawn for the whole line.
The text was updated successfully, but these errors were encountered: