mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-10 15:47:23 +02:00
chore: fix ESLint warnings, restrict export all syntax (#6605)
* chore: fix ESLint warnings, forbid export all syntax * fix... * reorder
This commit is contained in:
parent
3fd99ad8d4
commit
45f6f8b869
22 changed files with 220 additions and 148 deletions
|
@ -182,7 +182,6 @@ const templates = (
|
|||
await fs.readdir('./packages/create-docusaurus/templates')
|
||||
).filter((name) => !excludes.includes(name));
|
||||
console.log(`Will generate examples for templates: ${templates.join(',')}`);
|
||||
// eslint-disable-next-line no-restricted-syntax
|
||||
for (const template of templates) {
|
||||
await generateTemplateExample(template);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue