Skip to content
This repository was archived by the owner on Aug 24, 2024. It is now read-only.

Commit 28279d2

Browse files
committed
Prettier, fix installation
1 parent 5a3b90b commit 28279d2

File tree

8 files changed

+634
-68
lines changed

8 files changed

+634
-68
lines changed

frontend/.prettierrc.mjs

+9-1
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,13 @@ export default {
55
singleQuote: true,
66
printWidth: 120,
77
tabWidth: 4,
8-
plugins: ['prettier-plugin-tailwindcss'],
8+
plugins: ['prettier-plugin-svelte', 'prettier-plugin-tailwindcss'],
9+
overrides: [
10+
{
11+
files: '*.svelte',
12+
options: {
13+
parser: 'svelte',
14+
},
15+
},
16+
],
917
};

frontend/index.html

-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
</head>
88
<body class="flex h-screen w-full flex-col items-center justify-center bg-slate-800 text-slate-200">
99
<div id="app"></div>
10-
<div id="fps"></div>
1110
<script type="module" src="/src/main.ts"></script>
1211
</body>
1312
</html>

0 commit comments

Comments
 (0)