mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-17 02:56:57 +02:00
chore(website): enable eslint in website (#5889)
* chore: enable eslint in website * Fixes * prettier users
This commit is contained in:
parent
0aba31de7b
commit
e0127c66be
29 changed files with 272 additions and 163 deletions
|
@ -1,4 +1,4 @@
|
|||
/*
|
||||
/**
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
|
@ -64,7 +64,6 @@ module.exports = {
|
|||
};
|
||||
|
||||
function generateHugeSidebarItems() {
|
||||
const maxLevel = 4;
|
||||
const linksCount = 8;
|
||||
const categoriesCount = 8;
|
||||
|
||||
|
@ -88,5 +87,5 @@ function generateHugeSidebarItems() {
|
|||
return [...linkItems, ...categoryItems];
|
||||
}
|
||||
|
||||
return generateRecursive(maxLevel);
|
||||
return generateRecursive(4);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue