live-tip-20260605201052-config-validation-schema-strictness: Reject unknown config keys and invalid ranges #5
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "task/live-tip-20260605201052-config-validation-schema-strictness"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@ -0,0 +10,4 @@$id: "https://example.invalid/schemas/config.schema.json",$schema: "https://json-schema.org/draft/2020-12/schema",type: "object",additionalProperties: false,ass
@ -0,0 +15,4 @@}const allowedKeys = Object.keys(configSchema.properties);for (const key of Object.keys(config)) {dont nest for loops
@ -0,0 +34,4 @@// scheduler (if present)// eslint-disable-next-line @typescript-eslint/no-explicit-anyconst scheduler = (config as any).scheduler;if (scheduler !== undefined) {dont nest if statements
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.