Fix ESLint errors

This commit is contained in:
adilallo
2026-01-28 11:38:38 -07:00
parent 2e027f5bb2
commit 6b8d646f8a
82 changed files with 217 additions and 193 deletions
+2 -3
View File
@@ -5,7 +5,6 @@
* Monitors Core Web Vitals and performance metrics
*/
const { execSync } = require("child_process");
const fs = require("fs");
const path = require("path");
@@ -67,7 +66,7 @@ class PerformanceMonitor {
execSync("curl -s http://localhost:3000 > /dev/null", {
stdio: "pipe",
});
} catch (error) {
} catch {
console.warn(
"⚠️ Development server not running, skipping Lighthouse CI...",
);
@@ -82,7 +81,7 @@ class PerformanceMonitor {
// Parse Lighthouse results
await this.parseLighthouseResults();
} catch (error) {
} catch {
console.warn("⚠️ Lighthouse CI failed, continuing with other metrics...");
}
}
+1 -1
View File
@@ -202,7 +202,7 @@ class PerformanceTester {
execSync("curl -s http://localhost:3000 > /dev/null", {
stdio: "pipe",
});
} catch (error) {
} catch {
console.warn(
"⚠️ Development server not running, skipping Lighthouse CI...",
);