docusaurus/packages/docusaurus-utils-validation/src
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
..
__tests__ feat: allow numbers in plugin ID (#6656) 2022-02-11 11:57:58 +08:00
index.ts chore: fix ESLint warnings, restrict export all syntax (#6605) 2022-02-04 21:57:10 +08:00
Joi.ts
JoiFrontMatter.ts chore: clean up ESLint config, enable a few rules (#6514) 2022-01-31 10:31:24 +08:00
validationSchemas.ts feat: allow numbers in plugin ID (#6656) 2022-02-11 11:57:58 +08:00
validationUtils.ts chore: clean up ESLint config, enable a few rules (#6514) 2022-01-31 10:31:24 +08:00