Skip to content

Commit 8a1b79f

Browse files
chore: format code
1 parent 197d222 commit 8a1b79f

File tree

3 files changed

+26
-10
lines changed

3 files changed

+26
-10
lines changed

biome.json

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
},
1111
"linter": {
1212
"enabled": true,
13-
"rules": { "recommended": true, "nursery": { "useSortedClasses": "error" } }
13+
"rules": { "recommended": true }
1414
},
1515
"javascript": {
1616
"formatter": {
@@ -27,5 +27,22 @@
2727
"assist": {
2828
"enabled": true,
2929
"actions": { "source": { "organizeImports": "on" } }
30-
}
30+
},
31+
"overrides": [
32+
{
33+
"includes": ["**/*.svelte", "**/*.astro", "**/*.vue"],
34+
"linter": {
35+
"rules": {
36+
"style": {
37+
"useConst": "off",
38+
"useImportType": "off"
39+
},
40+
"correctness": {
41+
"noUnusedVariables": "off",
42+
"noUnusedImports": "off"
43+
}
44+
}
45+
}
46+
}
47+
]
3148
}

src/main.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
import { createApp } from "vue"
22
import App from "./App.vue"
33
import "./style.css"
4+
import { createVfm } from "vue-final-modal"
45
import router from "./router"
56
import { loadConfig as initConfig } from "./systems/config"
67
import { initDb } from "./systems/db/db"
78
import { initDownload } from "./systems/download/download"
8-
import { initMedia } from "./systems/player/playlist"
99
import { i18n, initI18n } from "./systems/i18n"
10-
import { createVfm } from "vue-final-modal"
10+
import { initMedia } from "./systems/player/playlist"
1111

1212
async function initApp() {
1313
// load systems

vite.config.ts

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
1-
import { defineConfig } from "vite"
2-
import vue from "@vitejs/plugin-vue"
1+
import path from "node:path"
32
import tailwindcss from "@tailwindcss/vite"
3+
import vue from "@vitejs/plugin-vue"
4+
import IconsResolver from "unplugin-icons/resolver"
45
import Icons from "unplugin-icons/vite"
56
import Components from "unplugin-vue-components/vite"
6-
import IconsResolver from "unplugin-icons/resolver"
7-
8-
import path from "path"
7+
import { defineConfig } from "vite"
98

109
const host = process.env.TAURI_DEV_HOST
1110

1211
// https://vite.dev/config/
13-
export default defineConfig(async ({ command }) => ({
12+
export default defineConfig(async () => ({
1413
plugins: [
1514
vue(),
1615
tailwindcss(),

0 commit comments

Comments
 (0)