docusaurus/packages/docusaurus-utils-validation/src/__tests__
Clement Demonchy 1cd4757828
feat: allow numbers in plugin ID (#6656)
* fix example for id that didn't respect regex

example for id don't work with version 2.0.0-beta.15:
ValidationError: "id" with value "docs1" fails to match the required pattern: /^[a-zA-Z_-]+$/
Error: Process completed with exit code 1.

* properly fix

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-02-11 11:57:58 +08:00
..
__snapshots__ feat: allow numbers in plugin ID (#6656) 2022-02-11 11:57:58 +08:00
validationSchemas.test.ts feat: allow numbers in plugin ID (#6656) 2022-02-11 11:57:58 +08:00
validationUtils.test.ts chore: clean up ESLint config, enable a few rules (#6514) 2022-01-31 10:31:24 +08:00