Updated Integration (markdown)

Vidar Holen
2019-05-13 19:28:06 -07:00
parent 87887d5bb6
commit 6f5c7296a6

@@ -16,14 +16,14 @@ Here is an integration checklist. Each point is described further below:
## Pick the output format that makes your life easier ## Pick the output format that makes your life easier
ShellCheck currently has three machine parsable output formats ShellCheck currently has three machine parseable output formats
### JSON output ### JSON output
ShellCheck can output a simple JSON format consisting of a single array of objects (formatted for clarity): ShellCheck can output a simple JSON format consisting of a single array of objects (formatted for clarity):
``` ```
$ shellcheck -f json myscript myotherscript $ shellcheck -f json1 myscript myotherscript
[ [
{ {
"file": "myotherscript", "file": "myotherscript",
@@ -52,7 +52,9 @@ $ shellcheck -f json myscript myotherscript
] ]
``` ```
`line` and `column` start at 1, and assume a tab size of 8. In the `json1` format, `line` and `column` start at 1, and tabs count as 1.
The legacy format `json` is the same, but with a tab stop of 8.
### XML output ### XML output