Switch to ts and ESM configs

This commit is contained in:
Sebastian
2024-09-26 01:51:00 +02:00
parent 50527d03cb
commit fae36652f2
6 changed files with 40 additions and 37 deletions

15
.prettierrc.mjs Normal file
View File

@@ -0,0 +1,15 @@
// .prettierrc.mjs
/** @type {import("prettier").Config} */
export default {
plugins: ["prettier-plugin-tailwindcss"],
trailingComma: "es5",
tabWidth: 2,
useTabs: true,
singleQuote: false,
semi: true,
bracketSameLine: false,
bracketSpacing: true,
jsxSingleQuote: false,
quoteProps: "as-needed",
endOfLine: "lf",
};