Promote `json1` as the primary JSON format
This commit is contained in:
parent
80b7e1e099
commit
5ccaddbcc2
|
@ -149,11 +149,11 @@ not warn at all, as `ksh` supports decimals in arithmetic contexts.
|
||||||
...
|
...
|
||||||
</checkstyle>
|
</checkstyle>
|
||||||
|
|
||||||
**json**
|
**json1**
|
||||||
|
|
||||||
: Json is a popular serialization format that is more suitable for web
|
: Json is a popular serialization format that is more suitable for web
|
||||||
applications. ShellCheck's json is compact and contains only the bare
|
applications. ShellCheck's json is compact and contains only the bare
|
||||||
minimum. Tabs are 8 characters.
|
minimum. Tabs are counted as 1 character.
|
||||||
|
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
|
@ -167,12 +167,12 @@ not warn at all, as `ksh` supports decimals in arithmetic contexts.
|
||||||
...
|
...
|
||||||
]
|
]
|
||||||
|
|
||||||
**json1**
|
**json**
|
||||||
|
|
||||||
: This is the same as shellcheck's json format, but tabs are treated as
|
: This is a legacy version of the **json1** format, with a tab stop
|
||||||
single characters instead of 8-character tabstops.
|
of 8 instead of 1.
|
||||||
|
|
||||||
*quiet*
|
**quiet**
|
||||||
|
|
||||||
: Suppress all normal output. Exit with zero if no issues are found,
|
: Suppress all normal output. Exit with zero if no issues are found,
|
||||||
otherwise exit with one. Stops processing after the first issue.
|
otherwise exit with one. Stops processing after the first issue.
|
||||||
|
|
Loading…
Reference in New Issue