tamasfe / taplo

A TOML toolkit written in Rust
https://taplo.tamasfe.dev
MIT License
1.26k stars 108 forks source link

Incorrect error in wrangler.toml #589

Closed ethan-tqa closed 2 months ago

ethan-tqa commented 2 months ago

Cloudflare recently add new capability to configure Pages in the wrangler.toml file, one of the new properties is pages_build_output_dir. However the extension is reporting it as error. Please refer to Cloudflare's doc

panekj commented 2 months ago

Errors are based on the available schemas which are provided by SchemaStore. Since Cloudflare maintains their own schema, they have to update it.

magicalpuffin commented 2 months ago

For those who find this issue, a temporary workaround is to disable schema validation with: "evenBetterToml.schema.enabled": false Not sure if there is a way to disable schema validation for specific files.