diff options
| author | Dawid Rycerz <dawid@rycerz.xyz> | 2025-07-03 10:56:21 +0300 |
|---|---|---|
| committer | Dawid Rycerz <dawid@rycerz.xyz> | 2025-07-03 10:56:21 +0300 |
| commit | 456cf011b36de91c9936994b1fa45703adcd309b (patch) | |
| tree | 8e60daf998f731ac50d100fa490eaecae1168042 /.prettierrc.js | |
Initial fork of chrismwilliams/astro-theme-cactus theme
Diffstat (limited to '.prettierrc.js')
| -rw-r--r-- | .prettierrc.js | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/.prettierrc.js b/.prettierrc.js new file mode 100644 index 0000000..2d3bc3b --- /dev/null +++ b/.prettierrc.js @@ -0,0 +1,23 @@ +/** @type {import("@types/prettier").Options} */ +module.exports = { + printWidth: 100, + semi: true, + singleQuote: false, + tabWidth: 2, + useTabs: true, + plugins: ["prettier-plugin-astro", "prettier-plugin-tailwindcss" /* Must come last */], + overrides: [ + { + files: "**/*.astro", + options: { + parser: "astro", + }, + }, + { + files: ["*.mdx", "*.md"], + options: { + printWidth: 80, + }, + }, + ], +}; |
