From 0ad4595d1c861600adc614dce7a1780f933a5944 Mon Sep 17 00:00:00 2001 From: Victorien Elvinger Date: Tue, 23 Apr 2024 12:14:43 +0200 Subject: [PATCH] docs: fix JSON schemas of last versions (#131) --- biome | 2 +- src/pages/schemas/1.7.0/schema.json.js | 6 +++--- src/pages/schemas/1.7.1/schema.json.js | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/biome b/biome index 65a61d794..b150000f9 160000 --- a/biome +++ b/biome @@ -1 +1 @@ -Subproject commit 65a61d794191a66f7ab3205eb405d278babbaf13 +Subproject commit b150000f92a821ef0d36ff06ae568b55f0b6ab73 diff --git a/src/pages/schemas/1.7.0/schema.json.js b/src/pages/schemas/1.7.0/schema.json.js index 505976147..b8206aef1 100644 --- a/src/pages/schemas/1.7.0/schema.json.js +++ b/src/pages/schemas/1.7.0/schema.json.js @@ -1205,7 +1205,7 @@ export function GET() { "A list of global bindings that should be ignored by the analyzers\n\nIf defined here, they should not emit diagnostics.", anyOf: [{ $ref: "#/definitions/StringSet" }, { type: "null" }], }, - jsx_runtime: { + jsxRuntime: { description: "Indicates the type of runtime or transformation used for interpreting JSX.", anyOf: [{ $ref: "#/definitions/JsxRuntime" }, { type: "null" }], @@ -1425,13 +1425,13 @@ export function GET() { description: "Indicates a modern or native JSX environment, that doesn't require special handling by Biome.", type: "string", - enum: ["Transparent"], + enum: ["transparent"], }, { description: "Indicates a classic React environment that requires the `React` import.\n\nCorresponds to the `react` value for the `jsx` option in TypeScript's `tsconfig.json`.\n\nThis option should only be necessary if you cannot upgrade to a React version that supports the new JSX runtime. For more information about the old vs. new JSX runtime, please see: ", type: "string", - enum: ["ReactClassic"], + enum: ["reactClassic"], }, ], }, diff --git a/src/pages/schemas/1.7.1/schema.json.js b/src/pages/schemas/1.7.1/schema.json.js index 1bca81233..c7681653f 100644 --- a/src/pages/schemas/1.7.1/schema.json.js +++ b/src/pages/schemas/1.7.1/schema.json.js @@ -1205,7 +1205,7 @@ export function GET() { "A list of global bindings that should be ignored by the analyzers\n\nIf defined here, they should not emit diagnostics.", anyOf: [{ $ref: "#/definitions/StringSet" }, { type: "null" }], }, - jsx_runtime: { + jsxRuntime: { description: "Indicates the type of runtime or transformation used for interpreting JSX.", anyOf: [{ $ref: "#/definitions/JsxRuntime" }, { type: "null" }], @@ -1425,13 +1425,13 @@ export function GET() { description: "Indicates a modern or native JSX environment, that doesn't require special handling by Biome.", type: "string", - enum: ["Transparent"], + enum: ["transparent"], }, { description: "Indicates a classic React environment that requires the `React` import.\n\nCorresponds to the `react` value for the `jsx` option in TypeScript's `tsconfig.json`.\n\nThis option should only be necessary if you cannot upgrade to a React version that supports the new JSX runtime. For more information about the old vs. new JSX runtime, please see: ", type: "string", - enum: ["ReactClassic"], + enum: ["reactClassic"], }, ], },