Skip to content

Commit 5c4fffd

Browse files
committed
chore(biome): lint and fix config
1 parent 60d9a4c commit 5c4fffd

21 files changed

Lines changed: 42 additions & 62 deletions

frontend/biome.json

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
},
88
"files": {
99
"ignoreUnknown": false,
10-
"includes": ["**", "!components.d.ts", "!auto-imports.d.ts"]
10+
"include": ["**"],
11+
"ignore": ["components.d.ts", "auto-imports.d.ts"]
1112
},
1213
"formatter": {
1314
"enabled": true,
@@ -39,12 +40,9 @@
3940
"bracketSpacing": true
4041
}
4142
},
42-
"html": {
43-
"experimentalFullSupportEnabled": true
44-
},
4543
"overrides": [
4644
{
47-
"includes": ["**/*.vue"],
45+
"include": ["**/*.vue"],
4846
"linter": {
4947
"rules": {
5048
"style": {

frontend/src/assets/Inter/inter.css

Lines changed: 18 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,15 @@
33
font-style: normal;
44
font-weight: 100;
55
font-display: swap;
6-
src:
7-
url("Inter-Thin.woff2?v=3.12") format("woff2"),
6+
src: url("Inter-Thin.woff2?v=3.12") format("woff2"),
87
url("Inter-Thin.woff?v=3.12") format("woff");
98
}
109
@font-face {
1110
font-family: "Inter";
1211
font-style: italic;
1312
font-weight: 100;
1413
font-display: swap;
15-
src:
16-
url("Inter-ThinItalic.woff2?v=3.12") format("woff2"),
14+
src: url("Inter-ThinItalic.woff2?v=3.12") format("woff2"),
1715
url("Inter-ThinItalic.woff?v=3.12") format("woff");
1816
}
1917

@@ -22,17 +20,15 @@
2220
font-style: normal;
2321
font-weight: 200;
2422
font-display: swap;
25-
src:
26-
url("Inter-ExtraLight.woff2?v=3.12") format("woff2"),
23+
src: url("Inter-ExtraLight.woff2?v=3.12") format("woff2"),
2724
url("Inter-ExtraLight.woff?v=3.12") format("woff");
2825
}
2926
@font-face {
3027
font-family: "Inter";
3128
font-style: italic;
3229
font-weight: 200;
3330
font-display: swap;
34-
src:
35-
url("Inter-ExtraLightItalic.woff2?v=3.12") format("woff2"),
31+
src: url("Inter-ExtraLightItalic.woff2?v=3.12") format("woff2"),
3632
url("Inter-ExtraLightItalic.woff?v=3.12") format("woff");
3733
}
3834

@@ -41,17 +37,15 @@
4137
font-style: normal;
4238
font-weight: 300;
4339
font-display: swap;
44-
src:
45-
url("Inter-Light.woff2?v=3.12") format("woff2"),
40+
src: url("Inter-Light.woff2?v=3.12") format("woff2"),
4641
url("Inter-Light.woff?v=3.12") format("woff");
4742
}
4843
@font-face {
4944
font-family: "Inter";
5045
font-style: italic;
5146
font-weight: 300;
5247
font-display: swap;
53-
src:
54-
url("Inter-LightItalic.woff2?v=3.12") format("woff2"),
48+
src: url("Inter-LightItalic.woff2?v=3.12") format("woff2"),
5549
url("Inter-LightItalic.woff?v=3.12") format("woff");
5650
}
5751

@@ -60,17 +54,15 @@
6054
font-style: normal;
6155
font-weight: 400;
6256
font-display: swap;
63-
src:
64-
url("Inter-Regular.woff2?v=3.12") format("woff2"),
57+
src: url("Inter-Regular.woff2?v=3.12") format("woff2"),
6558
url("Inter-Regular.woff?v=3.12") format("woff");
6659
}
6760
@font-face {
6861
font-family: "Inter";
6962
font-style: italic;
7063
font-weight: 400;
7164
font-display: swap;
72-
src:
73-
url("Inter-Italic.woff2?v=3.12") format("woff2"),
65+
src: url("Inter-Italic.woff2?v=3.12") format("woff2"),
7466
url("Inter-Italic.woff?v=3.12") format("woff");
7567
}
7668

@@ -79,17 +71,15 @@
7971
font-style: normal;
8072
font-weight: 500;
8173
font-display: swap;
82-
src:
83-
url("Inter-Medium.woff2?v=3.12") format("woff2"),
74+
src: url("Inter-Medium.woff2?v=3.12") format("woff2"),
8475
url("Inter-Medium.woff?v=3.12") format("woff");
8576
}
8677
@font-face {
8778
font-family: "Inter";
8879
font-style: italic;
8980
font-weight: 500;
9081
font-display: swap;
91-
src:
92-
url("Inter-MediumItalic.woff2?v=3.12") format("woff2"),
82+
src: url("Inter-MediumItalic.woff2?v=3.12") format("woff2"),
9383
url("Inter-MediumItalic.woff?v=3.12") format("woff");
9484
}
9585

@@ -98,17 +88,15 @@
9888
font-style: normal;
9989
font-weight: 600;
10090
font-display: swap;
101-
src:
102-
url("Inter-SemiBold.woff2?v=3.12") format("woff2"),
91+
src: url("Inter-SemiBold.woff2?v=3.12") format("woff2"),
10392
url("Inter-SemiBold.woff?v=3.12") format("woff");
10493
}
10594
@font-face {
10695
font-family: "Inter";
10796
font-style: italic;
10897
font-weight: 600;
10998
font-display: swap;
110-
src:
111-
url("Inter-SemiBoldItalic.woff2?v=3.12") format("woff2"),
99+
src: url("Inter-SemiBoldItalic.woff2?v=3.12") format("woff2"),
112100
url("Inter-SemiBoldItalic.woff?v=3.12") format("woff");
113101
}
114102

@@ -117,17 +105,15 @@
117105
font-style: normal;
118106
font-weight: 700;
119107
font-display: swap;
120-
src:
121-
url("Inter-Bold.woff2?v=3.12") format("woff2"),
108+
src: url("Inter-Bold.woff2?v=3.12") format("woff2"),
122109
url("Inter-Bold.woff?v=3.12") format("woff");
123110
}
124111
@font-face {
125112
font-family: "Inter";
126113
font-style: italic;
127114
font-weight: 700;
128115
font-display: swap;
129-
src:
130-
url("Inter-BoldItalic.woff2?v=3.12") format("woff2"),
116+
src: url("Inter-BoldItalic.woff2?v=3.12") format("woff2"),
131117
url("Inter-BoldItalic.woff?v=3.12") format("woff");
132118
}
133119

@@ -136,17 +122,15 @@
136122
font-style: normal;
137123
font-weight: 800;
138124
font-display: swap;
139-
src:
140-
url("Inter-ExtraBold.woff2?v=3.12") format("woff2"),
125+
src: url("Inter-ExtraBold.woff2?v=3.12") format("woff2"),
141126
url("Inter-ExtraBold.woff?v=3.12") format("woff");
142127
}
143128
@font-face {
144129
font-family: "Inter";
145130
font-style: italic;
146131
font-weight: 800;
147132
font-display: swap;
148-
src:
149-
url("Inter-ExtraBoldItalic.woff2?v=3.12") format("woff2"),
133+
src: url("Inter-ExtraBoldItalic.woff2?v=3.12") format("woff2"),
150134
url("Inter-ExtraBoldItalic.woff?v=3.12") format("woff");
151135
}
152136

@@ -155,16 +139,14 @@
155139
font-style: normal;
156140
font-weight: 900;
157141
font-display: swap;
158-
src:
159-
url("Inter-Black.woff2?v=3.12") format("woff2"),
142+
src: url("Inter-Black.woff2?v=3.12") format("woff2"),
160143
url("Inter-Black.woff?v=3.12") format("woff");
161144
}
162145
@font-face {
163146
font-family: "Inter";
164147
font-style: italic;
165148
font-weight: 900;
166149
font-display: swap;
167-
src:
168-
url("Inter-BlackItalic.woff2?v=3.12") format("woff2"),
150+
src: url("Inter-BlackItalic.woff2?v=3.12") format("woff2"),
169151
url("Inter-BlackItalic.woff?v=3.12") format("woff");
170152
}

frontend/src/components/ChatPanel.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868

6969
<script setup>
7070
import data from "@emoji-mart/data";
71-
import { init, SearchIndex } from "emoji-mart";
71+
import { SearchIndex, init } from "emoji-mart";
7272
import { Button, FormControl } from "frappe-ui";
7373
import { computed, nextTick, onMounted, ref, toRefs, watch } from "vue";
7474
import EmojiPicker from "./EmojiPicker.vue";

frontend/src/components/MeetingPreview.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@
133133
</template>
134134

135135
<script setup>
136-
import { Button, createResource, FormControl, toast } from "frappe-ui";
136+
import { Button, FormControl, createResource, toast } from "frappe-ui";
137137
import { computed, inject, nextTick, onMounted, ref, watch } from "vue";
138138
import ParticipantAvatarGroup from "../components/ParticipantAvatarGroup.vue";
139139
import PreviewToolbar from "../components/PreviewToolbar.vue";

frontend/src/components/VideoPreview.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,13 @@
3535
</template>
3636

3737
<script setup>
38-
import { onMounted, onUnmounted, ref, watch } from "vue";
3938
import {
4039
cameraEnabled,
4140
micEnabled,
4241
setCameraEnabled,
4342
setMicEnabled,
4443
} from "@/data/mediaPreferences";
44+
import { onMounted, onUnmounted, ref, watch } from "vue";
4545
import { useBackgroundEffects } from "../composables/useBackgroundEffects";
4646
import {
4747
backgroundBlurEnabled,

frontend/src/components/settings/MeetingAccessSettingsTab.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
</template>
4444

4545
<script setup lang="ts">
46-
import { debounce, FormControl, Switch, toast } from "frappe-ui";
46+
import { FormControl, Switch, debounce, toast } from "frappe-ui";
4747
import { onMounted, ref, watch } from "vue";
4848
import { useMeetingDoc } from "../../composables/useMeetingDoc";
4949
import SettingsLayoutBase from "./SettingsLayoutBase.vue";

frontend/src/composables/useBackgroundEffects.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
import type { SelfieSegmentation } from "@mediapipe/selfie_segmentation";
22
import { toast } from "frappe-ui";
3-
import { onUnmounted, type Ref, ref } from "vue";
3+
import { type Ref, onUnmounted, ref } from "vue";
44
import { availableBackgroundImages } from "../data/backgroundEffects";
55
import {
6+
CompositingError,
67
applyBlurEffect,
78
applyVirtualBackground,
8-
CompositingError,
99
getBackgroundImageData,
1010
} from "../utils/compositing";
1111
import { WebGLManager } from "../utils/webglShaders";

frontend/src/composables/useLayout.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { type ComputedRef, computed, type Ref } from "vue";
1+
import { type ComputedRef, type Ref, computed } from "vue";
22
import type { Participant } from "../types";
33
import { useResponsiveGrid } from "./useResponsiveGrid";
44

frontend/src/composables/useMeetingDoc.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { createDocumentResource } from "frappe-ui";
2-
import { type ComputedRef, computed, type Ref, ref } from "vue";
2+
import { type ComputedRef, type Ref, computed, ref } from "vue";
33
import { session } from "../data/session.js";
44

55
interface MeetingDocument {

frontend/src/composables/useMeetingPreviewPresence.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { createResource } from "frappe-ui";
2-
import { io, type Socket } from "socket.io-client";
2+
import { type Socket, io } from "socket.io-client";
33
import { computed, onUnmounted, readonly, ref } from "vue";
44
import { session } from "../data/session";
55
import type {

0 commit comments

Comments
 (0)