From 1e394fefb19e618fb51a48186dec4c929e266daa Mon Sep 17 00:00:00 2001 From: Kyle Altendorf Date: Thu, 11 Jul 2024 13:16:28 -0400 Subject: [PATCH] yaml config --- .prettierrc.json | 26 -------------------------- .prettierrc.yaml | 26 ++++++++++++++++++++++++++ 2 files changed, 26 insertions(+), 26 deletions(-) delete mode 100755 .prettierrc.json create mode 100644 .prettierrc.yaml diff --git a/.prettierrc.json b/.prettierrc.json deleted file mode 100755 index dc2bd50dfb..0000000000 --- a/.prettierrc.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "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 - } - } - ] -} diff --git a/.prettierrc.yaml b/.prettierrc.yaml new file mode 100644 index 0000000000..af9b472a25 --- /dev/null +++ b/.prettierrc.yaml @@ -0,0 +1,26 @@ +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