diff --git a/website/.astro/types.d.ts b/website/.astro/types.d.ts deleted file mode 100644 index 0e8bec867bfd..000000000000 --- a/website/.astro/types.d.ts +++ /dev/null @@ -1,1444 +0,0 @@ -declare module 'astro:content' { - interface Render { - '.mdx': Promise<{ - Content: import('astro').MarkdownInstance<{}>['Content']; - headings: import('astro').MarkdownHeading[]; - remarkPluginFrontmatter: Record; - }>; - } -} - -declare module 'astro:content' { - interface Render { - '.md': Promise<{ - Content: import('astro').MarkdownInstance<{}>['Content']; - headings: import('astro').MarkdownHeading[]; - remarkPluginFrontmatter: Record; - }>; - } -} - -declare module 'astro:content' { - export { z } from 'astro/zod'; - - type Flatten = T extends { [K: string]: infer U } ? U : never; - export type CollectionEntry = Flatten; - - // TODO: Remove this when having this fallback is no longer relevant. 2.3? 3.0? - erika, 2023-04-04 - /** - * @deprecated - * `astro:content` no longer provide `image()`. - * - * Please use it through `schema`, like such: - * ```ts - * import { defineCollection, z } from "astro:content"; - * - * defineCollection({ - * schema: ({ image }) => - * z.object({ - * image: image(), - * }), - * }); - * ``` - */ - export const image: never; - - // This needs to be in sync with ImageMetadata - export type ImageFunction = () => import('astro/zod').ZodObject<{ - src: import('astro/zod').ZodString; - width: import('astro/zod').ZodNumber; - height: import('astro/zod').ZodNumber; - format: import('astro/zod').ZodUnion< - [ - import('astro/zod').ZodLiteral<'png'>, - import('astro/zod').ZodLiteral<'jpg'>, - import('astro/zod').ZodLiteral<'jpeg'>, - import('astro/zod').ZodLiteral<'tiff'>, - import('astro/zod').ZodLiteral<'webp'>, - import('astro/zod').ZodLiteral<'gif'>, - import('astro/zod').ZodLiteral<'svg'> - ] - >; - }>; - - type BaseSchemaWithoutEffects = - | import('astro/zod').AnyZodObject - | import('astro/zod').ZodUnion<[BaseSchemaWithoutEffects, ...BaseSchemaWithoutEffects[]]> - | import('astro/zod').ZodDiscriminatedUnion - | import('astro/zod').ZodIntersection; - - type BaseSchema = - | BaseSchemaWithoutEffects - | import('astro/zod').ZodEffects; - - export type SchemaContext = { image: ImageFunction }; - - type DataCollectionConfig = { - type: 'data'; - schema?: S | ((context: SchemaContext) => S); - }; - - type ContentCollectionConfig = { - type?: 'content'; - schema?: S | ((context: SchemaContext) => S); - }; - - type CollectionConfig = ContentCollectionConfig | DataCollectionConfig; - - export function defineCollection( - input: CollectionConfig - ): CollectionConfig; - - type AllValuesOf = T extends any ? T[keyof T] : never; - type ValidContentEntrySlug = AllValuesOf< - ContentEntryMap[C] - >['slug']; - - export function getEntryBySlug< - C extends keyof ContentEntryMap, - E extends ValidContentEntrySlug | (string & {}) - >( - collection: C, - // Note that this has to accept a regular string too, for SSR - entrySlug: E - ): E extends ValidContentEntrySlug - ? Promise> - : Promise | undefined>; - - export function getDataEntryById( - collection: C, - entryId: E - ): Promise>; - - export function getCollection>( - collection: C, - filter?: (entry: CollectionEntry) => entry is E - ): Promise; - export function getCollection( - collection: C, - filter?: (entry: CollectionEntry) => unknown - ): Promise[]>; - - export function getEntry< - C extends keyof ContentEntryMap, - E extends ValidContentEntrySlug | (string & {}) - >(entry: { - collection: C; - slug: E; - }): E extends ValidContentEntrySlug - ? Promise> - : Promise | undefined>; - export function getEntry< - C extends keyof DataEntryMap, - E extends keyof DataEntryMap[C] | (string & {}) - >(entry: { - collection: C; - id: E; - }): E extends keyof DataEntryMap[C] - ? Promise - : Promise | undefined>; - export function getEntry< - C extends keyof ContentEntryMap, - E extends ValidContentEntrySlug | (string & {}) - >( - collection: C, - slug: E - ): E extends ValidContentEntrySlug - ? Promise> - : Promise | undefined>; - export function getEntry< - C extends keyof DataEntryMap, - E extends keyof DataEntryMap[C] | (string & {}) - >( - collection: C, - id: E - ): E extends keyof DataEntryMap[C] - ? Promise - : Promise | undefined>; - - /** Resolve an array of entry references from the same collection */ - export function getEntries( - entries: { - collection: C; - slug: ValidContentEntrySlug; - }[] - ): Promise[]>; - export function getEntries( - entries: { - collection: C; - id: keyof DataEntryMap[C]; - }[] - ): Promise[]>; - - export function reference( - collection: C - ): import('astro/zod').ZodEffects< - import('astro/zod').ZodString, - C extends keyof ContentEntryMap - ? { - collection: C; - slug: ValidContentEntrySlug; - } - : { - collection: C; - id: keyof DataEntryMap[C]; - } - >; - // Allow generic `string` to avoid excessive type errors in the config - // if `dev` is not running to update as you edit. - // Invalid collection names will be caught at build time. - export function reference( - collection: C - ): import('astro/zod').ZodEffects; - - type ReturnTypeOrOriginal = T extends (...args: any[]) => infer R ? R : T; - type InferEntrySchema = import('astro/zod').infer< - ReturnTypeOrOriginal['schema']> - >; - - type ContentEntryMap = { - "docs": { -"404.md": { - id: "404.md"; - slug: "404"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"analyzer/index.mdx": { - id: "analyzer/index.mdx"; - slug: "analyzer"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".mdx"] }; -"blog/announcing-biome.mdx": { - id: "blog/announcing-biome.mdx"; - slug: "blog/announcing-biome"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".mdx"] }; -"blog/biome-v1.mdx": { - id: "blog/biome-v1.mdx"; - slug: "blog/biome-v1"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".mdx"] }; -"blog/index.mdx": { - id: "blog/index.mdx"; - slug: "blog"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".mdx"] }; -"formatter/index.mdx": { - id: "formatter/index.mdx"; - slug: "formatter"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".mdx"] }; -"guides/getting-started.mdx": { - id: "guides/getting-started.mdx"; - slug: "guides/getting-started"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".mdx"] }; -"guides/manual-installation.mdx": { - id: "guides/manual-installation.mdx"; - slug: "guides/manual-installation"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".mdx"] }; -"index.mdx": { - id: "index.mdx"; - slug: "index"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".mdx"] }; -"internals/architecture.mdx": { - id: "internals/architecture.mdx"; - slug: "internals/architecture"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".mdx"] }; -"internals/changelog.mdx": { - id: "internals/changelog.mdx"; - slug: "internals/changelog"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".mdx"] }; -"internals/credits.mdx": { - id: "internals/credits.mdx"; - slug: "internals/credits"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".mdx"] }; -"internals/language-support.mdx": { - id: "internals/language-support.mdx"; - slug: "internals/language-support"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".mdx"] }; -"internals/philosophy.mdx": { - id: "internals/philosophy.mdx"; - slug: "internals/philosophy"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".mdx"] }; -"internals/versioning.mdx": { - id: "internals/versioning.mdx"; - slug: "internals/versioning"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".mdx"] }; -"linter/index.mdx": { - id: "linter/index.mdx"; - slug: "linter"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".mdx"] }; -"linter/rules/index.mdx": { - id: "linter/rules/index.mdx"; - slug: "linter/rules"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".mdx"] }; -"linter/rules/no-access-key.md": { - id: "linter/rules/no-access-key.md"; - slug: "linter/rules/no-access-key"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-accumulating-spread.md": { - id: "linter/rules/no-accumulating-spread.md"; - slug: "linter/rules/no-accumulating-spread"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-arguments.md": { - id: "linter/rules/no-arguments.md"; - slug: "linter/rules/no-arguments"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-aria-unsupported-elements.md": { - id: "linter/rules/no-aria-unsupported-elements.md"; - slug: "linter/rules/no-aria-unsupported-elements"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-array-index-key.md": { - id: "linter/rules/no-array-index-key.md"; - slug: "linter/rules/no-array-index-key"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-assign-in-expressions.md": { - id: "linter/rules/no-assign-in-expressions.md"; - slug: "linter/rules/no-assign-in-expressions"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-async-promise-executor.md": { - id: "linter/rules/no-async-promise-executor.md"; - slug: "linter/rules/no-async-promise-executor"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-autofocus.md": { - id: "linter/rules/no-autofocus.md"; - slug: "linter/rules/no-autofocus"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-banned-types.md": { - id: "linter/rules/no-banned-types.md"; - slug: "linter/rules/no-banned-types"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-blank-target.md": { - id: "linter/rules/no-blank-target.md"; - slug: "linter/rules/no-blank-target"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-catch-assign.md": { - id: "linter/rules/no-catch-assign.md"; - slug: "linter/rules/no-catch-assign"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-children-prop.md": { - id: "linter/rules/no-children-prop.md"; - slug: "linter/rules/no-children-prop"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-class-assign.md": { - id: "linter/rules/no-class-assign.md"; - slug: "linter/rules/no-class-assign"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-comma-operator.md": { - id: "linter/rules/no-comma-operator.md"; - slug: "linter/rules/no-comma-operator"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-comment-text.md": { - id: "linter/rules/no-comment-text.md"; - slug: "linter/rules/no-comment-text"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-compare-neg-zero.md": { - id: "linter/rules/no-compare-neg-zero.md"; - slug: "linter/rules/no-compare-neg-zero"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-confusing-arrow.md": { - id: "linter/rules/no-confusing-arrow.md"; - slug: "linter/rules/no-confusing-arrow"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-confusing-labels.md": { - id: "linter/rules/no-confusing-labels.md"; - slug: "linter/rules/no-confusing-labels"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-console-log.md": { - id: "linter/rules/no-console-log.md"; - slug: "linter/rules/no-console-log"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-const-assign.md": { - id: "linter/rules/no-const-assign.md"; - slug: "linter/rules/no-const-assign"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-const-enum.md": { - id: "linter/rules/no-const-enum.md"; - slug: "linter/rules/no-const-enum"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-constant-condition.md": { - id: "linter/rules/no-constant-condition.md"; - slug: "linter/rules/no-constant-condition"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-constructor-return.md": { - id: "linter/rules/no-constructor-return.md"; - slug: "linter/rules/no-constructor-return"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-control-characters-in-regex.md": { - id: "linter/rules/no-control-characters-in-regex.md"; - slug: "linter/rules/no-control-characters-in-regex"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-dangerously-set-inner-html-with-children.md": { - id: "linter/rules/no-dangerously-set-inner-html-with-children.md"; - slug: "linter/rules/no-dangerously-set-inner-html-with-children"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-dangerously-set-inner-html.md": { - id: "linter/rules/no-dangerously-set-inner-html.md"; - slug: "linter/rules/no-dangerously-set-inner-html"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-debugger.md": { - id: "linter/rules/no-debugger.md"; - slug: "linter/rules/no-debugger"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-delete.md": { - id: "linter/rules/no-delete.md"; - slug: "linter/rules/no-delete"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-distracting-elements.md": { - id: "linter/rules/no-distracting-elements.md"; - slug: "linter/rules/no-distracting-elements"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-double-equals.md": { - id: "linter/rules/no-double-equals.md"; - slug: "linter/rules/no-double-equals"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-duplicate-case.md": { - id: "linter/rules/no-duplicate-case.md"; - slug: "linter/rules/no-duplicate-case"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-duplicate-class-members.md": { - id: "linter/rules/no-duplicate-class-members.md"; - slug: "linter/rules/no-duplicate-class-members"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-duplicate-json-keys.md": { - id: "linter/rules/no-duplicate-json-keys.md"; - slug: "linter/rules/no-duplicate-json-keys"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-duplicate-jsx-props.md": { - id: "linter/rules/no-duplicate-jsx-props.md"; - slug: "linter/rules/no-duplicate-jsx-props"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-duplicate-object-keys.md": { - id: "linter/rules/no-duplicate-object-keys.md"; - slug: "linter/rules/no-duplicate-object-keys"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-duplicate-parameters.md": { - id: "linter/rules/no-duplicate-parameters.md"; - slug: "linter/rules/no-duplicate-parameters"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-empty-interface.md": { - id: "linter/rules/no-empty-interface.md"; - slug: "linter/rules/no-empty-interface"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-empty-pattern.md": { - id: "linter/rules/no-empty-pattern.md"; - slug: "linter/rules/no-empty-pattern"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-excessive-complexity.md": { - id: "linter/rules/no-excessive-complexity.md"; - slug: "linter/rules/no-excessive-complexity"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-explicit-any.md": { - id: "linter/rules/no-explicit-any.md"; - slug: "linter/rules/no-explicit-any"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-extra-boolean-cast.md": { - id: "linter/rules/no-extra-boolean-cast.md"; - slug: "linter/rules/no-extra-boolean-cast"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-extra-non-null-assertion.md": { - id: "linter/rules/no-extra-non-null-assertion.md"; - slug: "linter/rules/no-extra-non-null-assertion"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-fallthrough-switch-clause.md": { - id: "linter/rules/no-fallthrough-switch-clause.md"; - slug: "linter/rules/no-fallthrough-switch-clause"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-for-each.md": { - id: "linter/rules/no-for-each.md"; - slug: "linter/rules/no-for-each"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-function-assign.md": { - id: "linter/rules/no-function-assign.md"; - slug: "linter/rules/no-function-assign"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-global-is-finite.md": { - id: "linter/rules/no-global-is-finite.md"; - slug: "linter/rules/no-global-is-finite"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-global-is-nan.md": { - id: "linter/rules/no-global-is-nan.md"; - slug: "linter/rules/no-global-is-nan"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-global-object-calls.md": { - id: "linter/rules/no-global-object-calls.md"; - slug: "linter/rules/no-global-object-calls"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-header-scope.md": { - id: "linter/rules/no-header-scope.md"; - slug: "linter/rules/no-header-scope"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-implicit-boolean.md": { - id: "linter/rules/no-implicit-boolean.md"; - slug: "linter/rules/no-implicit-boolean"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-import-assign.md": { - id: "linter/rules/no-import-assign.md"; - slug: "linter/rules/no-import-assign"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-inferrable-types.md": { - id: "linter/rules/no-inferrable-types.md"; - slug: "linter/rules/no-inferrable-types"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-inner-declarations.md": { - id: "linter/rules/no-inner-declarations.md"; - slug: "linter/rules/no-inner-declarations"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-invalid-constructor-super.md": { - id: "linter/rules/no-invalid-constructor-super.md"; - slug: "linter/rules/no-invalid-constructor-super"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-label-var.md": { - id: "linter/rules/no-label-var.md"; - slug: "linter/rules/no-label-var"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-multiple-spaces-in-regular-expression-literals.md": { - id: "linter/rules/no-multiple-spaces-in-regular-expression-literals.md"; - slug: "linter/rules/no-multiple-spaces-in-regular-expression-literals"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-namespace.md": { - id: "linter/rules/no-namespace.md"; - slug: "linter/rules/no-namespace"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-negation-else.md": { - id: "linter/rules/no-negation-else.md"; - slug: "linter/rules/no-negation-else"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-new-symbol.md": { - id: "linter/rules/no-new-symbol.md"; - slug: "linter/rules/no-new-symbol"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-non-null-assertion.md": { - id: "linter/rules/no-non-null-assertion.md"; - slug: "linter/rules/no-non-null-assertion"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-noninteractive-element-to-interactive-role.md": { - id: "linter/rules/no-noninteractive-element-to-interactive-role.md"; - slug: "linter/rules/no-noninteractive-element-to-interactive-role"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-noninteractive-tabindex.md": { - id: "linter/rules/no-noninteractive-tabindex.md"; - slug: "linter/rules/no-noninteractive-tabindex"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-nonoctal-decimal-escape.md": { - id: "linter/rules/no-nonoctal-decimal-escape.md"; - slug: "linter/rules/no-nonoctal-decimal-escape"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-parameter-assign.md": { - id: "linter/rules/no-parameter-assign.md"; - slug: "linter/rules/no-parameter-assign"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-parameter-properties.md": { - id: "linter/rules/no-parameter-properties.md"; - slug: "linter/rules/no-parameter-properties"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-positive-tabindex.md": { - id: "linter/rules/no-positive-tabindex.md"; - slug: "linter/rules/no-positive-tabindex"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-precision-loss.md": { - id: "linter/rules/no-precision-loss.md"; - slug: "linter/rules/no-precision-loss"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-prototype-builtins.md": { - id: "linter/rules/no-prototype-builtins.md"; - slug: "linter/rules/no-prototype-builtins"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-redeclare.md": { - id: "linter/rules/no-redeclare.md"; - slug: "linter/rules/no-redeclare"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-redundant-alt.md": { - id: "linter/rules/no-redundant-alt.md"; - slug: "linter/rules/no-redundant-alt"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-redundant-roles.md": { - id: "linter/rules/no-redundant-roles.md"; - slug: "linter/rules/no-redundant-roles"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-redundant-use-strict.md": { - id: "linter/rules/no-redundant-use-strict.md"; - slug: "linter/rules/no-redundant-use-strict"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-render-return-value.md": { - id: "linter/rules/no-render-return-value.md"; - slug: "linter/rules/no-render-return-value"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-restricted-globals.md": { - id: "linter/rules/no-restricted-globals.md"; - slug: "linter/rules/no-restricted-globals"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-self-assign.md": { - id: "linter/rules/no-self-assign.md"; - slug: "linter/rules/no-self-assign"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-self-compare.md": { - id: "linter/rules/no-self-compare.md"; - slug: "linter/rules/no-self-compare"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-setter-return.md": { - id: "linter/rules/no-setter-return.md"; - slug: "linter/rules/no-setter-return"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-shadow-restricted-names.md": { - id: "linter/rules/no-shadow-restricted-names.md"; - slug: "linter/rules/no-shadow-restricted-names"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-shouty-constants.md": { - id: "linter/rules/no-shouty-constants.md"; - slug: "linter/rules/no-shouty-constants"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-sparse-array.md": { - id: "linter/rules/no-sparse-array.md"; - slug: "linter/rules/no-sparse-array"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-static-only-class.md": { - id: "linter/rules/no-static-only-class.md"; - slug: "linter/rules/no-static-only-class"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-string-case-mismatch.md": { - id: "linter/rules/no-string-case-mismatch.md"; - slug: "linter/rules/no-string-case-mismatch"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-svg-without-title.md": { - id: "linter/rules/no-svg-without-title.md"; - slug: "linter/rules/no-svg-without-title"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-switch-declarations.md": { - id: "linter/rules/no-switch-declarations.md"; - slug: "linter/rules/no-switch-declarations"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-undeclared-variables.md": { - id: "linter/rules/no-undeclared-variables.md"; - slug: "linter/rules/no-undeclared-variables"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-unnecessary-continue.md": { - id: "linter/rules/no-unnecessary-continue.md"; - slug: "linter/rules/no-unnecessary-continue"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-unreachable-super.md": { - id: "linter/rules/no-unreachable-super.md"; - slug: "linter/rules/no-unreachable-super"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-unreachable.md": { - id: "linter/rules/no-unreachable.md"; - slug: "linter/rules/no-unreachable"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-unsafe-declaration-merging.md": { - id: "linter/rules/no-unsafe-declaration-merging.md"; - slug: "linter/rules/no-unsafe-declaration-merging"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-unsafe-finally.md": { - id: "linter/rules/no-unsafe-finally.md"; - slug: "linter/rules/no-unsafe-finally"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-unsafe-negation.md": { - id: "linter/rules/no-unsafe-negation.md"; - slug: "linter/rules/no-unsafe-negation"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-unsafe-optional-chaining.md": { - id: "linter/rules/no-unsafe-optional-chaining.md"; - slug: "linter/rules/no-unsafe-optional-chaining"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-unused-labels.md": { - id: "linter/rules/no-unused-labels.md"; - slug: "linter/rules/no-unused-labels"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-unused-template-literal.md": { - id: "linter/rules/no-unused-template-literal.md"; - slug: "linter/rules/no-unused-template-literal"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-unused-variables.md": { - id: "linter/rules/no-unused-variables.md"; - slug: "linter/rules/no-unused-variables"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-useless-catch.md": { - id: "linter/rules/no-useless-catch.md"; - slug: "linter/rules/no-useless-catch"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-useless-constructor.md": { - id: "linter/rules/no-useless-constructor.md"; - slug: "linter/rules/no-useless-constructor"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-useless-empty-export.md": { - id: "linter/rules/no-useless-empty-export.md"; - slug: "linter/rules/no-useless-empty-export"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-useless-fragments.md": { - id: "linter/rules/no-useless-fragments.md"; - slug: "linter/rules/no-useless-fragments"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-useless-label.md": { - id: "linter/rules/no-useless-label.md"; - slug: "linter/rules/no-useless-label"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-useless-rename.md": { - id: "linter/rules/no-useless-rename.md"; - slug: "linter/rules/no-useless-rename"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-useless-switch-case.md": { - id: "linter/rules/no-useless-switch-case.md"; - slug: "linter/rules/no-useless-switch-case"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-useless-this-alias.md": { - id: "linter/rules/no-useless-this-alias.md"; - slug: "linter/rules/no-useless-this-alias"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-useless-type-constraint.md": { - id: "linter/rules/no-useless-type-constraint.md"; - slug: "linter/rules/no-useless-type-constraint"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-var.md": { - id: "linter/rules/no-var.md"; - slug: "linter/rules/no-var"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-void-elements-with-children.md": { - id: "linter/rules/no-void-elements-with-children.md"; - slug: "linter/rules/no-void-elements-with-children"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-void-type-return.md": { - id: "linter/rules/no-void-type-return.md"; - slug: "linter/rules/no-void-type-return"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-void.md": { - id: "linter/rules/no-void.md"; - slug: "linter/rules/no-void"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/no-with.md": { - id: "linter/rules/no-with.md"; - slug: "linter/rules/no-with"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/use-alt-text.md": { - id: "linter/rules/use-alt-text.md"; - slug: "linter/rules/use-alt-text"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/use-anchor-content.md": { - id: "linter/rules/use-anchor-content.md"; - slug: "linter/rules/use-anchor-content"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/use-aria-prop-types.md": { - id: "linter/rules/use-aria-prop-types.md"; - slug: "linter/rules/use-aria-prop-types"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/use-aria-props-for-role.md": { - id: "linter/rules/use-aria-props-for-role.md"; - slug: "linter/rules/use-aria-props-for-role"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/use-arrow-function.md": { - id: "linter/rules/use-arrow-function.md"; - slug: "linter/rules/use-arrow-function"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/use-block-statements.md": { - id: "linter/rules/use-block-statements.md"; - slug: "linter/rules/use-block-statements"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/use-button-type.md": { - id: "linter/rules/use-button-type.md"; - slug: "linter/rules/use-button-type"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/use-const.md": { - id: "linter/rules/use-const.md"; - slug: "linter/rules/use-const"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/use-default-parameter-last.md": { - id: "linter/rules/use-default-parameter-last.md"; - slug: "linter/rules/use-default-parameter-last"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/use-default-switch-clause-last.md": { - id: "linter/rules/use-default-switch-clause-last.md"; - slug: "linter/rules/use-default-switch-clause-last"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/use-enum-initializers.md": { - id: "linter/rules/use-enum-initializers.md"; - slug: "linter/rules/use-enum-initializers"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/use-exhaustive-dependencies.md": { - id: "linter/rules/use-exhaustive-dependencies.md"; - slug: "linter/rules/use-exhaustive-dependencies"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/use-exponentiation-operator.md": { - id: "linter/rules/use-exponentiation-operator.md"; - slug: "linter/rules/use-exponentiation-operator"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/use-flat-map.md": { - id: "linter/rules/use-flat-map.md"; - slug: "linter/rules/use-flat-map"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/use-fragment-syntax.md": { - id: "linter/rules/use-fragment-syntax.md"; - slug: "linter/rules/use-fragment-syntax"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/use-getter-return.md": { - id: "linter/rules/use-getter-return.md"; - slug: "linter/rules/use-getter-return"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/use-grouped-type-import.md": { - id: "linter/rules/use-grouped-type-import.md"; - slug: "linter/rules/use-grouped-type-import"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/use-heading-content.md": { - id: "linter/rules/use-heading-content.md"; - slug: "linter/rules/use-heading-content"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/use-hook-at-top-level.md": { - id: "linter/rules/use-hook-at-top-level.md"; - slug: "linter/rules/use-hook-at-top-level"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/use-html-lang.md": { - id: "linter/rules/use-html-lang.md"; - slug: "linter/rules/use-html-lang"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/use-iframe-title.md": { - id: "linter/rules/use-iframe-title.md"; - slug: "linter/rules/use-iframe-title"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/use-import-restrictions.md": { - id: "linter/rules/use-import-restrictions.md"; - slug: "linter/rules/use-import-restrictions"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/use-is-array.md": { - id: "linter/rules/use-is-array.md"; - slug: "linter/rules/use-is-array"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/use-is-nan.md": { - id: "linter/rules/use-is-nan.md"; - slug: "linter/rules/use-is-nan"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/use-key-with-click-events.md": { - id: "linter/rules/use-key-with-click-events.md"; - slug: "linter/rules/use-key-with-click-events"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/use-key-with-mouse-events.md": { - id: "linter/rules/use-key-with-mouse-events.md"; - slug: "linter/rules/use-key-with-mouse-events"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/use-literal-enum-members.md": { - id: "linter/rules/use-literal-enum-members.md"; - slug: "linter/rules/use-literal-enum-members"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/use-literal-keys.md": { - id: "linter/rules/use-literal-keys.md"; - slug: "linter/rules/use-literal-keys"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/use-media-caption.md": { - id: "linter/rules/use-media-caption.md"; - slug: "linter/rules/use-media-caption"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/use-namespace-keyword.md": { - id: "linter/rules/use-namespace-keyword.md"; - slug: "linter/rules/use-namespace-keyword"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/use-naming-convention.md": { - id: "linter/rules/use-naming-convention.md"; - slug: "linter/rules/use-naming-convention"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/use-numeric-literals.md": { - id: "linter/rules/use-numeric-literals.md"; - slug: "linter/rules/use-numeric-literals"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/use-optional-chain.md": { - id: "linter/rules/use-optional-chain.md"; - slug: "linter/rules/use-optional-chain"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/use-self-closing-elements.md": { - id: "linter/rules/use-self-closing-elements.md"; - slug: "linter/rules/use-self-closing-elements"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/use-shorthand-array-type.md": { - id: "linter/rules/use-shorthand-array-type.md"; - slug: "linter/rules/use-shorthand-array-type"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/use-simple-number-keys.md": { - id: "linter/rules/use-simple-number-keys.md"; - slug: "linter/rules/use-simple-number-keys"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/use-simplified-logic-expression.md": { - id: "linter/rules/use-simplified-logic-expression.md"; - slug: "linter/rules/use-simplified-logic-expression"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/use-single-case-statement.md": { - id: "linter/rules/use-single-case-statement.md"; - slug: "linter/rules/use-single-case-statement"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/use-single-var-declarator.md": { - id: "linter/rules/use-single-var-declarator.md"; - slug: "linter/rules/use-single-var-declarator"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/use-template.md": { - id: "linter/rules/use-template.md"; - slug: "linter/rules/use-template"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/use-valid-anchor.md": { - id: "linter/rules/use-valid-anchor.md"; - slug: "linter/rules/use-valid-anchor"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/use-valid-aria-props.md": { - id: "linter/rules/use-valid-aria-props.md"; - slug: "linter/rules/use-valid-aria-props"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/use-valid-for-direction.md": { - id: "linter/rules/use-valid-for-direction.md"; - slug: "linter/rules/use-valid-for-direction"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/use-valid-lang.md": { - id: "linter/rules/use-valid-lang.md"; - slug: "linter/rules/use-valid-lang"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/use-valid-typeof.md": { - id: "linter/rules/use-valid-typeof.md"; - slug: "linter/rules/use-valid-typeof"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/use-while.md": { - id: "linter/rules/use-while.md"; - slug: "linter/rules/use-while"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"linter/rules/use-yield.md": { - id: "linter/rules/use-yield.md"; - slug: "linter/rules/use-yield"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".md"] }; -"reference/cli.mdx": { - id: "reference/cli.mdx"; - slug: "reference/cli"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".mdx"] }; -"reference/configuration.mdx": { - id: "reference/configuration.mdx"; - slug: "reference/configuration"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".mdx"] }; -"reference/vscode.mdx": { - id: "reference/vscode.mdx"; - slug: "reference/vscode"; - body: string; - collection: "docs"; - data: InferEntrySchema<"docs"> -} & { render(): Render[".mdx"] }; -}; - - }; - - type DataEntryMap = { - - }; - - type AnyEntryMap = ContentEntryMap & DataEntryMap; - - type ContentConfig = typeof import("../src/content/config"); -} diff --git a/website/.gitignore b/website/.gitignore index 17a5d86ba1b6..f5b1909a220c 100644 --- a/website/.gitignore +++ b/website/.gitignore @@ -6,3 +6,4 @@ package-lock.json # Auto generated src/_includes/styles +.astro/ diff --git a/website/astro.config.ts b/website/astro.config.ts index 94921f22ac2c..78e792ef707d 100644 --- a/website/astro.config.ts +++ b/website/astro.config.ts @@ -148,9 +148,6 @@ const site = "https://biomejs.dev"; export default defineConfig({ site, output: "static", - redirects: { - // "/blog/annoucing-biome": "/blog/announcing-biome", - }, compressHTML: true, diff --git a/website/package.json b/website/package.json index bbf8f1ff4f87..b29782090052 100644 --- a/website/package.json +++ b/website/package.json @@ -2,7 +2,7 @@ "name": "@biomejs/website", "private": true, "scripts": { - "start": "astro dev", + "start": "astro dev --open", "format": "cargo biome-cli-dev format --write .", "tsc": "tsc --skipLibCheck", "check": "cargo biome-cli-dev check ./", diff --git a/website/src/content/docs/internals/language-support.mdx b/website/src/content/docs/internals/language-support.mdx index 8cda7d261952..b563d9c69448 100644 --- a/website/src/content/docs/internals/language-support.mdx +++ b/website/src/content/docs/internals/language-support.mdx @@ -3,16 +3,18 @@ title: Language support description: Languages and features supported by Biome. --- -| Language | Parsing | Formatting | Linting | -|-----------------------------------|---------------------------------------------------------|---------------------------------------------------------|---------------------------------------------------------| -| [JavaScript](#javascript-support) | | | | -| [TypeScript](#typescript-support) | | | | -| JSX | | | | -| JSON | | | | -| JSONC | | | | -| HTML | 🚫 | 🚫 | 🚫 | -| CSS | ⌛️ | 🚫 | 🚫 | -| Markdown | 🚫 | 🚫 | 🚫 | +| Language | Parsing | Formatting | Linting | +|-----------------------------------------|---------------------------------------------------------|---------------------------------------------------------|---------------------------------------------------------| +| [JavaScript](#javascript-support) | | | | +| [TypeScript](#typescript-support) | | | | +| JSX | | | | +| JSON | | | | +| JSONC | | | | +| HTML | 🚫 | 🚫 | 🚫 | +| [Vue](#html-super-languages-support) | 🚫 | 🚫 | 🚫 | +| [Svelte](#html-super-languages-support) | 🚫 | 🚫 | 🚫 | +| CSS | ⌛️ | 🚫 | 🚫 | +| Markdown | 🚫 | 🚫 | 🚫 | ## JavaScript support @@ -25,3 +27,8 @@ Biome supports only the official syntax. The team starts development of the new ## TypeScript support Biome supports TypeScript version 5.2. + +## HTML super languages support + +These languages require CSS, HTML and JavaScript parsing to be supported properly. Once those parsers are +available, the works around these super languages can start.