Apply Biome formatting across the workspace

Fixes the formatting deltas from the initial Astro/Strapi scaffold
and brings the legacy generate-og-images/generate-llms/validate-post
scripts in line with Biome's style. No behavioral changes.
This commit is contained in:
2026-08-30 17:59:30 +03:00
parent 8be678d488
commit cae62d4a66
14 changed files with 332 additions and 236 deletions
+11 -9
View File
@@ -1,24 +1,26 @@
import type { Core } from '@strapi/strapi';
import type { Core } from "@strapi/strapi";
const config = ({ env }: Core.Config.Shared.ConfigParams): Core.Config.Admin => ({
const config = ({
env,
}: Core.Config.Shared.ConfigParams): Core.Config.Admin => ({
auth: {
secret: env('ADMIN_JWT_SECRET')!,
secret: env("ADMIN_JWT_SECRET")!,
},
apiToken: {
salt: env('API_TOKEN_SALT')!,
salt: env("API_TOKEN_SALT")!,
},
transfer: {
token: {
salt: env('TRANSFER_TOKEN_SALT')!,
salt: env("TRANSFER_TOKEN_SALT")!,
},
},
secrets: {
encryptionKey: env('ENCRYPTION_KEY')!,
encryptionKey: env("ENCRYPTION_KEY")!,
},
flags: {
nps: env.bool('FLAG_NPS', true),
promoteEE: env.bool('FLAG_PROMOTE_EE', true),
docLinks: env.bool('FLAG_DOC_LINKS', true),
nps: env.bool("FLAG_NPS", true),
promoteEE: env.bool("FLAG_PROMOTE_EE", true),
docLinks: env.bool("FLAG_DOC_LINKS", true),
},
});