Skip to content

Commit 7bb7298

Browse files
committed
Update Prettier config for Svelte
1 parent 3637165 commit 7bb7298

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

.prettierignore

+7
Original file line numberDiff line numberDiff line change
@@ -1 +1,8 @@
11
.github/
2+
**/.svelte-kit
3+
**/bootstrap/ssr
4+
**/composer.json
5+
**/composer.lock
6+
**/dist
7+
**/public/build
8+
**/vendor

prettier.config.js

+8
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,12 @@ module.exports = {
55
tabWidth: 2,
66
trailingComma: 'all',
77
plugins: ['prettier-plugin-svelte', 'prettier-plugin-organize-imports', 'prettier-plugin-tailwindcss'],
8+
overrides: [
9+
{
10+
files: '*.svelte',
11+
options: {
12+
parser: 'svelte',
13+
},
14+
},
15+
],
816
}

0 commit comments

Comments
 (0)