[ci] yarn format

This commit is contained in:
FredKSchott 2021-08-23 21:08:16 +00:00 committed by GitHub Actions
parent f9cd031033
commit 69272dc8d1
6 changed files with 10 additions and 11 deletions

View file

@ -7,6 +7,8 @@
// You can disable this by removing "@ts-check" and `@type` comments below.
// @ts-check
export default /** @type {import('astro').AstroUserConfig} */ ({
export default /** @type {import('astro').AstroUserConfig} */ (
{
// ...
});
}
);

View file

@ -15,7 +15,6 @@ export interface ManifestData {
routes: RouteData[];
}
export interface JsxItem {
name: string;
jsx: string;

View file

@ -81,7 +81,6 @@ export interface AstroUserConfig {
};
}
// NOTE(fks): We choose to keep our hand-generated AstroUserConfig interface so that
// we can add JSDoc-style documentation and link to the definition file in our repo.
// However, Zod comes with the ability to auto-generate AstroConfig from the schema

View file

@ -44,7 +44,6 @@ export function validateGetStaticPathsResult(result: GetStaticPathsResult, loggi
});
}
/** Add / to beginning of string (but dont double-up) */
export function addLeadingSlash(path: string) {
return path.replace(/^\/?/, '/');