client9 / misspell

Correct commonly misspelled English words in source files
MIT License
1.35k stars 114 forks source link

JSON output, checkstyle compatible #89

Open client9 opened 8 years ago

client9 commented 8 years ago

interestingly gometalinter emits a JSON array. as per https://github.com/koalaman/shellcheck/blob/master/shellcheck.1.md#user-content-formats

I would have expected 1-object-per-line style, but so be it.

(line breaks added for clarity)

[
 {
"linter":"misspell",
"severity":"warning",
"path":"words.go",
"line":83922,
"col":2,
"message":"\"mkea\" is a misspelling of \"make\""
}
]