mirror of
https://github.com/prdlk/website.git
synced 2026-08-02 17:31:41 +00:00
init(): Initialize project with basic configuration files
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
/** @type {import("@types/prettier").Options} */
|
||||
export default {
|
||||
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,
|
||||
},
|
||||
},
|
||||
],
|
||||
};
|
||||
Reference in New Issue
Block a user