add prettier-tailwind && prettier-svelte
This commit is contained in:
parent
68ea56ddb0
commit
624419efe0
1 changed files with 7 additions and 3 deletions
|
@ -1,12 +1,16 @@
|
|||
const config = {
|
||||
plugins: ['prettier-plugin-svelte', 'prettier-plugin-tailwindcss'],
|
||||
overrides: [{ files: '*.svelte', options: { parser: 'svelte' } }],
|
||||
tailwindStylesheet: './src/app.css',
|
||||
printWidth: 80,
|
||||
tabWidth: 2,
|
||||
useTabs: true,
|
||||
semi: true,
|
||||
semi: false,
|
||||
singleQuote: true,
|
||||
trailingComma: 'es5',
|
||||
bracketSpacing: true,
|
||||
bracketSameLine: false,
|
||||
arrowParens: 'always',
|
||||
};
|
||||
}
|
||||
|
||||
export default config;
|
||||
export default config
|
||||
|
|
Loading…
Add table
Reference in a new issue