From c9d9426561b5f8835dba81aa50ec3dd7d8bd6472 Mon Sep 17 00:00:00 2001 From: Oliver Kopp Date: Fri, 17 Nov 2023 12:41:27 +0100 Subject: [PATCH 1/2] Add information on how to change indent --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/README.md b/README.md index ac817eb7..829eb6aa 100644 --- a/README.md +++ b/README.md @@ -131,6 +131,24 @@ You can directly import the config into IntelliJ Idea for instance: ![Import Checkstyle configuration](./docs/checkstyle/import-checkstyle-configuration.gif) +## Indent configuration + +In `.prettierrc.yaml`, you can configure the indent: + +For using four spaces: + +```yaml +tabWidth: 4 +``` + +For using tabs: + +```yaml +useTabs: true +``` + +For more details see . + ## Contributing Contributions are very welcome. From 75d0eaa73c8e0be9dcf509870de0d839bce3e77b Mon Sep 17 00:00:00 2001 From: Oliver Kopp Date: Sat, 18 Nov 2023 11:19:32 +0100 Subject: [PATCH 2/2] Update README.md --- README.md | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/README.md b/README.md index 829eb6aa..b12e0345 100644 --- a/README.md +++ b/README.md @@ -141,13 +141,7 @@ For using four spaces: tabWidth: 4 ``` -For using tabs: - -```yaml -useTabs: true -``` - -For more details see . +For more configuration options such as using tabs, maximum line length, and more see . ## Contributing