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 = {
|
const config = {
|
||||||
|
plugins: ['prettier-plugin-svelte', 'prettier-plugin-tailwindcss'],
|
||||||
|
overrides: [{ files: '*.svelte', options: { parser: 'svelte' } }],
|
||||||
|
tailwindStylesheet: './src/app.css',
|
||||||
printWidth: 80,
|
printWidth: 80,
|
||||||
tabWidth: 2,
|
tabWidth: 2,
|
||||||
useTabs: true,
|
useTabs: true,
|
||||||
semi: true,
|
semi: false,
|
||||||
singleQuote: true,
|
singleQuote: true,
|
||||||
trailingComma: 'es5',
|
trailingComma: 'es5',
|
||||||
bracketSpacing: true,
|
bracketSpacing: true,
|
||||||
|
bracketSameLine: false,
|
||||||
arrowParens: 'always',
|
arrowParens: 'always',
|
||||||
};
|
}
|
||||||
|
|
||||||
export default config;
|
export default config
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue