UNPKG

beam-cli

Version:

A beautifully simple CLI for running Lighthouse audits on a statically generated (SSG) website

10 lines (9 loc) 615 B
import { ConfigurationOptions } from './types.js'; export declare const validateConfigurationFile: (data: any) => (boolean | import("ajv").ErrorObject<string, Record<string, any>, unknown>[] | null | undefined)[]; /** * Ensures that the lighthouse options within the user configuration is correct. * - If the lighthouse options is an array then the last item must be the fallback * - The fallback may not have the `targets` property set * - All other items should have a `targets` property */ export declare const validateLighthouseOptionsArray: (userConfiguration: ConfigurationOptions) => [boolean, string];