From fbd293e7c73eb098e3019fb30bcd3085a93fc000 Mon Sep 17 00:00:00 2001 From: Chia Automation Date: Tue, 16 Jul 2024 13:50:09 +0000 Subject: [PATCH] Update prettier --- .prettierrc.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .prettierrc.yml diff --git a/.prettierrc.yml b/.prettierrc.yml new file mode 100644 index 000000000..27a0fcfbb --- /dev/null +++ b/.prettierrc.yml @@ -0,0 +1,14 @@ +overrides: + - files: ["*.yaml", "*.yml", "*.toml", "*.json", "*.ini"] + options: + tabWidth: 2 + singleQuote: false + experimentalTernaries: true + useTabs: false + - files: ["*.md"] + options: + singleQuote: false + - files: ["*.js", "*.jsx", "*.ts", "*.tsx", "*.cjs", "*.mjs"] + options: + printWidth: 120 + singleQuote: true