Tweak oxlint config & delint our code (#34301)
* Remove stale max-len disablements * Remove stale camelCase & naming-convention disablements * Remove stale ban-ts-comment disablements * Remove stale no-var disablements * Remove stale no-empty-property disablements * Remove stale react rule disablements * Remove stale no-constant-condition disablements * Remove stale no-unused-vars disablements * Remove stale disablements for disabled rules * fixup camelcase * Remove dead code * Tidy code * Tweak oxlint config
This commit is contained in:
@@ -7,7 +7,7 @@ Please see LICENSE in the repository root for full details.
|
||||
|
||||
import { withMermaid } from "vitepress-plugin-mermaid";
|
||||
|
||||
function customPathResolver(href: string, currentPath: string) {
|
||||
function customPathResolver(href: string, currentPath: string): string {
|
||||
const [link, fragment] = href.split("#", 2);
|
||||
if (currentPath === "index.md") {
|
||||
if (link.startsWith("./docs/")) {
|
||||
|
||||
Reference in New Issue
Block a user