From 5ad15993e6853b00d0a0050cd1362aaf37c838b3 Mon Sep 17 00:00:00 2001 From: Zadkiel Aharonian Date: Wed, 24 Aug 2022 13:01:00 +0200 Subject: [PATCH] chore: fix indent typo in configuration options (#25) * chore: fix indent typo in configuration options * Update README.md --- README.md | 2 +- formatters/basic/README.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index b928682..8d1bef2 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,7 @@ In your `.yamlfmt` file you can also specify configuration for the formatter if ```yaml formatter: type: basic - indentation: 4 + indent: 4 ``` If the type is not specified, the default formatter will be used. In the tool included in this repo, the default is the [basic formatter](formatters/basic). diff --git a/formatters/basic/README.md b/formatters/basic/README.md index ccc7fb4..d61e450 100644 --- a/formatters/basic/README.md +++ b/formatters/basic/README.md @@ -6,5 +6,5 @@ The basic formatter is a barebones formatter that simply takes the data provided | Key | Default | Description | |:-------------------------|:--------|:------------| -| `indentation` | 2 | The indentation level in spaces to use for the formatted yaml| -| `include_document_start` | false | Include `---` at document start | \ No newline at end of file +| `indent` | 2 | The indentation level in spaces to use for the formatted yaml| +| `include_document_start` | false | Include `---` at document start |