From 456cf011b36de91c9936994b1fa45703adcd309b Mon Sep 17 00:00:00 2001 From: Dawid Rycerz Date: Thu, 3 Jul 2025 10:56:21 +0300 Subject: Initial fork of chrismwilliams/astro-theme-cactus theme --- .prettierrc.js | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .prettierrc.js (limited to '.prettierrc.js') 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, + }, + }, + ], +}; -- cgit v1.2.3