mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-21 21:16:59 +02:00
chore: tighten ESLint config (#6931)
* chore: tighten ESLint config * more refactor * refactor push * fix
This commit is contained in:
parent
f70ddf7e69
commit
cc0bceab9c
54 changed files with 177 additions and 193 deletions
|
@ -5,26 +5,25 @@
|
|||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
export {useThemeConfig} from './utils/useThemeConfig';
|
||||
export {
|
||||
useThemeConfig,
|
||||
type ThemeConfig,
|
||||
type UserThemeConfig,
|
||||
type Navbar,
|
||||
type NavbarItem,
|
||||
type NavbarLogo,
|
||||
type MultiColumnFooter,
|
||||
type SimpleFooter,
|
||||
type Footer,
|
||||
type FooterLogo,
|
||||
type FooterLinkItem,
|
||||
type ColorModeConfig,
|
||||
} from './utils/useThemeConfig';
|
||||
export {
|
||||
DocSidebarItemsExpandedStateProvider,
|
||||
useDocSidebarItemsExpandedState,
|
||||
} from './utils/docSidebarItemsExpandedState';
|
||||
|
||||
export type {
|
||||
ThemeConfig,
|
||||
UserThemeConfig,
|
||||
Navbar,
|
||||
NavbarItem,
|
||||
NavbarLogo,
|
||||
MultiColumnFooter,
|
||||
SimpleFooter,
|
||||
Footer,
|
||||
FooterLogo,
|
||||
FooterLinkItem,
|
||||
ColorModeConfig,
|
||||
} from './utils/useThemeConfig';
|
||||
|
||||
export {createStorageSlot, listStorageKeys} from './utils/storageUtils';
|
||||
|
||||
export {useAlternatePageUtils} from './utils/useAlternatePageUtils';
|
||||
|
@ -63,14 +62,14 @@ export {useLocationChange} from './utils/useLocationChange';
|
|||
|
||||
export {usePrevious} from './utils/usePrevious';
|
||||
|
||||
export {useCollapsible, Collapsible} from './components/Collapsible';
|
||||
export type {
|
||||
UseCollapsibleConfig,
|
||||
UseCollapsibleReturns,
|
||||
export {
|
||||
useCollapsible,
|
||||
Collapsible,
|
||||
type UseCollapsibleConfig,
|
||||
type UseCollapsibleReturns,
|
||||
} from './components/Collapsible';
|
||||
|
||||
export {default as Details} from './components/Details';
|
||||
export type {DetailsProps} from './components/Details';
|
||||
export {default as Details, type DetailsProps} from './components/Details';
|
||||
|
||||
export {
|
||||
MobileSecondaryMenuProvider,
|
||||
|
@ -97,13 +96,19 @@ export {
|
|||
|
||||
export {useLocalPathname} from './utils/useLocalPathname';
|
||||
|
||||
export {translateTagsPageTitle, listTagsByLetters} from './utils/tagsUtils';
|
||||
export type {TagLetterEntry} from './utils/tagsUtils';
|
||||
export {
|
||||
translateTagsPageTitle,
|
||||
listTagsByLetters,
|
||||
type TagLetterEntry,
|
||||
type TagsListItem,
|
||||
} from './utils/tagsUtils';
|
||||
|
||||
export {useHistoryPopHandler} from './utils/historyUtils';
|
||||
|
||||
export {default as useTOCHighlight} from './utils/useTOCHighlight';
|
||||
export type {TOCHighlightConfig} from './utils/useTOCHighlight';
|
||||
export {
|
||||
default as useTOCHighlight,
|
||||
type TOCHighlightConfig,
|
||||
} from './utils/useTOCHighlight';
|
||||
|
||||
export {
|
||||
useFilteredAndTreeifiedTOC,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue