syncpack icon indicating copy to clipboard operation
syncpack copied to clipboard

fix(config): add `$schema` property as optional string

Open turbocrime opened this issue 1 year ago • 1 comments

Description

  1. create any valid syncpack config json
  2. add "$schema": "https://unpkg.com/[email protected]/dist/schema.json" to your config
  3. the schema fails to validate due to the presence of a $schema field

Suggested Solution

include "$schema": { "type": "string" } in your schema properties

turbocrime avatar Apr 19 '24 02:04 turbocrime

Thanks @turbocrime 👍

JamieMason avatar Apr 19 '24 07:04 JamieMason

Released in 12.4.0

JamieMason avatar Jul 24 '24 07:07 JamieMason