mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-12 15:52:39 +02:00
chore: clean up ESLint config, enable a few rules (#6514)
* chore: clean up ESLint config, enable a few rules * enable max-len for comments * fix build
This commit is contained in:
parent
b8ccb869f1
commit
aa446b7a9c
167 changed files with 1157 additions and 960 deletions
|
@ -44,7 +44,8 @@ function headings(): Transformer {
|
|||
|
||||
if (parsedHeading.id) {
|
||||
// When there's an id, it is always in the last child node
|
||||
// Sometimes heading is in multiple "parts" (** syntax creates a child node):
|
||||
// Sometimes heading is in multiple "parts" (** syntax creates a child
|
||||
// node):
|
||||
// ## part1 *part2* part3 {#id}
|
||||
const lastNode = headingNode.children[
|
||||
headingNode.children.length - 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue