mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-25 15:07:17 +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
|
@ -27,7 +27,8 @@ export interface BlogContent {
|
|||
|
||||
export interface BlogTags {
|
||||
// TODO, the key is the tag slug/permalink
|
||||
// This is due to legacy frontmatter: tags: [{label: "xyz", permalink: "/1"}, {label: "xyz", permalink: "/2"}
|
||||
// This is due to legacy frontmatter: tags:
|
||||
// [{label: "xyz", permalink: "/1"}, {label: "xyz", permalink: "/2"}]
|
||||
// Soon we should forbid declaring permalink through frontmatter
|
||||
[tagKey: string]: BlogTag;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue