From 81d4d62b1f04ce3a4691678853977c33dca61e1d Mon Sep 17 00:00:00 2001 From: Ricky James Smith Date: Tue, 28 Nov 2023 16:37:44 +0100 Subject: [PATCH] Limit code-width in docs to prevent horizontal scrolling (#1447) The prettier-config in `docs/` is required for the prettier-config in `docs/docs/` to work. --- docs/.prettierrc.json | 6 ++++++ docs/docs/.prettierrc.json | 6 ++++++ 2 files changed, 12 insertions(+) create mode 100644 docs/.prettierrc.json create mode 100644 docs/docs/.prettierrc.json diff --git a/docs/.prettierrc.json b/docs/.prettierrc.json new file mode 100644 index 0000000000..6cd561fb17 --- /dev/null +++ b/docs/.prettierrc.json @@ -0,0 +1,6 @@ +{ + "printWidth": 150, + "tabWidth": 4, + "trailingComma": "all", + "semi": true +} diff --git a/docs/docs/.prettierrc.json b/docs/docs/.prettierrc.json new file mode 100644 index 0000000000..205dcc9a0a --- /dev/null +++ b/docs/docs/.prettierrc.json @@ -0,0 +1,6 @@ +{ + "printWidth": 100, + "tabWidth": 4, + "trailingComma": "all", + "semi": true +}