alphagov / govuk-prototype-kit

Rapidly create HTML prototypes of GOV.UK services
https://prototype-kit.service.gov.uk
MIT License
301 stars 236 forks source link

Plugin validator allows the user to specify unknown keys #2314

Closed nataliecarey closed 1 year ago

nataliecarey commented 1 year ago

This allows the following syntax when running the validator:

npx govuk-prototype-kit@latest validate-plugin --keysToIgnoreIfUnknown="aProposedFeatures,anotherProposedFeature"

This means that people can add proposed features to their config before the interface is added to the validator as explained in https://github.com/alphagov/govuk-prototype-kit/issues/2312