-
-
Notifications
You must be signed in to change notification settings - Fork 154
Closed
Labels
enhancementNew feature or requestNew feature or requesttoolingTooling related feature (formatter, documentation, production builder)Tooling related feature (formatter, documentation, production builder)
Milestone
Description
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:
- filename
- line number
- column from
- column to
- basic message (like
I was looking for a branch of a case expression but found "Result::Ok" instead.
) - full message
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.
Sija
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesttoolingTooling related feature (formatter, documentation, production builder)Tooling related feature (formatter, documentation, production builder)
Type
Projects
Status
Done