diff --git a/.prettierrc b/.prettierrc deleted file mode 100644 index 8973894db..000000000 --- a/.prettierrc +++ /dev/null @@ -1,4 +0,0 @@ -{ - "useTabs": false, - "tabWidth": 2 -} diff --git a/prettierrc.yaml b/prettierrc.yaml new file mode 100644 index 000000000..27a0fcfbb --- /dev/null +++ b/prettierrc.yaml @@ -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