diff --git a/.lintstagedrc.mjs b/.lintstagedrc.mjs
index aa1b9bea..7fc5b11e 100644
--- a/.lintstagedrc.mjs
+++ b/.lintstagedrc.mjs
@@ -1,4 +1,9 @@
export default {
"*.{j,t}s": [() => "npm run build:src:tsgo", "eslint --concurrency 4" /* sweet spot it seems */, "prettier --write"],
- "src/schemas/{*,**/*}.ts": [() => "npm run build:src:tsgo", () => "node scripts/schema.js", () => "node scripts/openapi.js", () => "git add assets/schemas.json assets/openapi.json"],
+ "src/schemas/{*,**/*}.ts": [
+ () => "npm run build:src:tsgo",
+ () => "node scripts/schema.js",
+ () => "node scripts/openapi.js",
+ () => "git add assets/schemas.json assets/openapi.json",
+ ],
};
diff --git a/eslint.config.mjs b/eslint.config.mjs
index 83ff1e78..cd8f785e 100644
--- a/eslint.config.mjs
+++ b/eslint.config.mjs
@@ -66,7 +66,7 @@ export default defineConfig([
// "sort-imports": ["error", {}],
"default-case": "error",
"default-case-last": "error",
- "yoda": "error",
+ yoda: "error",
// unsure what the defaults are here, but we want them to error
"for-direction": "error",
"constructor-super": "error",
diff --git a/src/cdn/util/Storage.ts b/src/cdn/util/Storage.ts
index 7579e2d6..3245f655 100644
--- a/src/cdn/util/Storage.ts
+++ b/src/cdn/util/Storage.ts
@@ -86,7 +86,9 @@ if (process.env.STORAGE_PROVIDER === "file" || !process.env.STORAGE_PROVIDER) {
const forcePathStyle = process.env.STORAGE_FORCE_PATH_STYLE === "true";
if (process.env.STORAGE_FORCE_PATH_STYLE === undefined) {
- console.warn(`[CDN] STORAGE_FORCE_PATH_STYLE is not set for S3 provider; defaulting to virtual-hosted style. Set STORAGE_FORCE_PATH_STYLE=true to enable path-style addressing.`);
+ console.warn(
+ `[CDN] STORAGE_FORCE_PATH_STYLE is not set for S3 provider; defaulting to virtual-hosted style. Set STORAGE_FORCE_PATH_STYLE=true to enable path-style addressing.`,
+ );
}
const { S3Storage } = require("./S3Storage");
|