From 1091574d2de1e522bc4c63c83113ecd61b858e9c Mon Sep 17 00:00:00 2001 From: Douglas Thor Date: Thu, 27 Feb 2020 15:04:33 -0800 Subject: [PATCH] Fix docs for pretty-format-json: default indent is **2** spaces. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c98ba1b..b96f44f 100644 --- a/README.md +++ b/README.md @@ -136,7 +136,7 @@ Checks that all your JSON files are pretty. "Pretty" here means that keys are sorted and indented. You can configure this with the following commandline options: - `--autofix` - automatically format json files - - `--indent ...` - Control the indentation (either a number for a number of spaces or a string of whitespace). Defaults to 4 spaces. + - `--indent ...` - Control the indentation (either a number for a number of spaces or a string of whitespace). Defaults to 2 spaces. - `--no-ensure-ascii` preserve unicode characters instead of converting to escape sequences - `--no-sort-keys` - when autofixing, retain the original key ordering (instead of sorting the keys) - `--top-keys comma,separated,keys` - Keys to keep at the top of mappings.