mirror of
https://github.com/zen-browser/www.git
synced 2025-07-07 17:05:32 +02:00
feat(pnpm): replace npm with pnpm and setup cspell
This commit is contained in:
parent
199d83f25c
commit
d7e5bb6af1
22 changed files with 10923 additions and 14994 deletions
|
@ -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,
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue