Lint: comma-spacing (error) & comma-dangle (error) (#4200)

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton authored and GitHub committed 2021-11-02 17:38:20 -04:00
1 parent 02e77afcd1
commit c6dce043a7
406 files changed
+1590 -1580

No files matched your search

@@ -71,7 +71,7 @@ export const ScrollSpy = observer(({ render, htmlFor, rootMargin = "0px 0px -100
parentId,
name,
selected,
children: getNavigation(section)
children: getNavigation(section),
});
});
@@ -87,7 +87,7 @@ export const ScrollSpy = observer(({ render, htmlFor, rootMargin = "0px 0px -100
const observeSections = () => {
const options: IntersectionObserverInit = {
root: document.getElementById(htmlFor) || getSectionsParentElement(),
rootMargin
rootMargin,
};
sections.current.forEach((section) => {