From 5d39ef5b62b25616ea3d50a34bd80acf448cb6da Mon Sep 17 00:00:00 2001 From: Sam Freund Date: Thu, 30 Oct 2025 18:52:14 -0500 Subject: [PATCH] Fix client linting in CI (#2167) --- photon-client/package.json | 2 +- .../components/cameras/CameraCalibrationCard.vue | 2 +- .../src/components/settings/NetworkingCard.vue | 16 ++++++++-------- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/photon-client/package.json b/photon-client/package.json index d701ef9bf..cf2485b2d 100644 --- a/photon-client/package.json +++ b/photon-client/package.json @@ -10,7 +10,7 @@ "build-demo": "vite build --mode demo", "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix", "format": "prettier --write src/", - "lint-ci": "eslint . --max-warnings 0 --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix", + "lint-ci": "eslint . --max-warnings 0 --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts", "format-ci": "prettier --check src/" }, "dependencies": { diff --git a/photon-client/src/components/cameras/CameraCalibrationCard.vue b/photon-client/src/components/cameras/CameraCalibrationCard.vue index 147ae35aa..94b78fc96 100644 --- a/photon-client/src/components/cameras/CameraCalibrationCard.vue +++ b/photon-client/src/components/cameras/CameraCalibrationCard.vue @@ -297,11 +297,11 @@ const setSelectedVideoFormat = (format: VideoFormat) => { :select-cols="8" :disabled="isCalibrating" tooltip="Resolution to calibrate at (you will have to calibrate every resolution you use 3D mode on)" + :items="getUniqueVideoResolutionStrings()" @update:model-value=" useStateStore().calibrationData.videoFormatIndex = getUniqueVideoResolutionStrings().find((v) => v.value === $event)?.value || 0 " - :items="getUniqueVideoResolutionStrings()" /> { Background Surface @@ -339,23 +339,23 @@ watchEffect(() => { Primary Secondary