Skip to content

Commit 5d39ef5

Browse files
authored
Fix client linting in CI (#2167)
1 parent 2bb59f8 commit 5d39ef5

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

photon-client/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"build-demo": "vite build --mode demo",
1111
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix",
1212
"format": "prettier --write src/",
13-
"lint-ci": "eslint . --max-warnings 0 --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix",
13+
"lint-ci": "eslint . --max-warnings 0 --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts",
1414
"format-ci": "prettier --check src/"
1515
},
1616
"dependencies": {

photon-client/src/components/cameras/CameraCalibrationCard.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,11 +297,11 @@ const setSelectedVideoFormat = (format: VideoFormat) => {
297297
:select-cols="8"
298298
:disabled="isCalibrating"
299299
tooltip="Resolution to calibrate at (you will have to calibrate every resolution you use 3D mode on)"
300+
:items="getUniqueVideoResolutionStrings()"
300301
@update:model-value="
301302
useStateStore().calibrationData.videoFormatIndex =
302303
getUniqueVideoResolutionStrings().find((v) => v.value === $event)?.value || 0
303304
"
304-
:items="getUniqueVideoResolutionStrings()"
305305
/>
306306
<pv-select
307307
v-model="boardType"

photon-client/src/components/settings/NetworkingCard.vue

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -315,47 +315,47 @@ watchEffect(() => {
315315
<v-col class="text-center">
316316
Background
317317
<v-color-picker
318+
v-model:model-value="backgroundColor"
318319
class="ma-auto pt-3"
319320
elevation="0"
320321
mode="hex"
321322
:modes="['hex']"
322-
v-model:model-value="backgroundColor"
323-
v-on:update:model-value="(hex) => setThemeColor(theme, 'background', hex)"
323+
@update:model-value="(hex) => setThemeColor(theme, 'background', hex)"
324324
></v-color-picker>
325325
</v-col>
326326
<v-col class="text-center">
327327
Surface
328328
<v-color-picker
329+
v-model:model-value="surfaceColor"
329330
class="ma-auto pt-3"
330331
elevation="0"
331332
mode="hex"
332333
:modes="['hex']"
333-
v-model:model-value="surfaceColor"
334-
v-on:update:model-value="(hex) => setThemeColor(theme, 'surface', hex)"
334+
@update:model-value="(hex) => setThemeColor(theme, 'surface', hex)"
335335
></v-color-picker>
336336
</v-col>
337337
</v-row>
338338
<v-row>
339339
<v-col class="text-center">
340340
Primary
341341
<v-color-picker
342+
v-model:model-value="primaryColor"
342343
class="ma-auto pt-3"
343344
elevation="0"
344345
mode="hex"
345346
:modes="['hex']"
346-
v-model:model-value="primaryColor"
347-
v-on:update:model-value="(hex) => setThemeColor(theme, 'primary', hex)"
347+
@update:model-value="(hex) => setThemeColor(theme, 'primary', hex)"
348348
></v-color-picker>
349349
</v-col>
350350
<v-col class="text-center">
351351
Secondary
352352
<v-color-picker
353+
v-model:model-value="secondaryColor"
353354
class="ma-auto pt-3"
354355
elevation="0"
355356
mode="hex"
356357
:modes="['hex']"
357-
v-model:model-value="secondaryColor"
358-
v-on:update:model-value="(hex) => setThemeColor(theme, 'secondary', hex)"
358+
@update:model-value="(hex) => setThemeColor(theme, 'secondary', hex)"
359359
></v-color-picker>
360360
</v-col>
361361
</v-row>

0 commit comments

Comments
 (0)