From 6f5c7296a6f048e58ac6460b4c11bf9fdeb11493 Mon Sep 17 00:00:00 2001 From: Vidar Holen Date: Mon, 13 May 2019 19:28:06 -0700 Subject: [PATCH] Updated Integration (markdown) --- Integration.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Integration.md b/Integration.md index a0dd4e9..35fcd1b 100644 --- a/Integration.md +++ b/Integration.md @@ -16,14 +16,14 @@ Here is an integration checklist. Each point is described further below: ## 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 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", @@ -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