mirror of
https://github.com/KazooTTT/kazoottt-blog.git
synced 2025-06-16 23:41:21 +08:00
23 lines
481 B
JavaScript
23 lines
481 B
JavaScript
/** @type {import("prettier").Config} */
|
|
module.exports = {
|
|
// i am just using the standard config, change if you need something else
|
|
...require('prettier-config-standard'),
|
|
pluginSearchDirs: [__dirname],
|
|
plugins: [
|
|
'prettier-plugin-astro',
|
|
'prettier-plugin-tailwindcss'
|
|
],
|
|
overrides: [
|
|
{
|
|
files: '*.astro',
|
|
options: {
|
|
parser: 'astro'
|
|
}
|
|
},
|
|
],
|
|
useTabs: true,
|
|
singleQuote: true,
|
|
trailingComma: 'none',
|
|
printWidth: 100
|
|
}
|