feat(pnpm): replace npm with pnpm and setup cspell

This commit is contained in:
Shintaro Jokagi 2025-06-02 13:11:57 +12:00
parent 199d83f25c
commit d7e5bb6af1
No known key found for this signature in database
GPG key ID: 0DDF8FA44C9A0DA8
22 changed files with 10923 additions and 14994 deletions

View file

@ -8,36 +8,36 @@ export default {
useTabs: false,
semi: false,
singleQuote: true,
quoteProps: "as-needed",
trailingComma: "es5",
quoteProps: 'as-needed',
trailingComma: 'es5',
bracketSpacing: true,
bracketSameLine: false,
arrowParens: "avoid",
arrowParens: 'avoid',
// Language-specific formatting
overrides: [
{
files: "*.astro",
files: '*.astro',
options: {
parser: "astro",
parser: 'astro',
},
},
{
files: ["*.json", "*.jsonc"],
files: ['*.json', '*.jsonc'],
options: {
trailingComma: "none",
trailingComma: 'none',
singleQuote: false,
},
},
{
files: ["*.md", "*.mdx"],
files: ['*.md', '*.mdx'],
options: {
printWidth: 80,
proseWrap: "never",
proseWrap: 'never',
},
},
{
files: ["*.yml", "*.yaml"],
files: ['*.yml', '*.yaml'],
options: {
singleQuote: false,
},
@ -46,13 +46,13 @@ export default {
// Plugins
plugins: [
"prettier-plugin-astro",
"prettier-plugin-tailwindcss", // Must be last
'prettier-plugin-astro',
'prettier-plugin-tailwindcss', // Must be last
],
// Plugin-specific options
tailwindFunctions: ["clsx", "cn", "twMerge"],
tailwindFunctions: ['clsx', 'cn', 'twMerge'],
// Astro-specific options
astroAllowShorthand: false,
};
}