Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Zamiell committed Dec 2, 2023
1 parent 1287956 commit 2670be7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,14 @@ const config = {

rules: {
// Insert changed or disabled rules here, if necessary.

// @template-customization-start

// Docusaurus is stuck on ESM. Remove this when "package.json" can be converted:
// https://github.com/facebook/docusaurus/issues/6520
"n/file-extension-in-import": "off",

// @template-customization-end
},
};

Expand Down
2 changes: 1 addition & 1 deletion src/beginnersGuide.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { useEffect } from "react";
import { CircularProgressbar } from "react-circular-progressbar";
import "react-circular-progressbar/dist/styles.css"; // eslint-disable-line import/no-unassigned-import, @typescript-eslint/no-restricted-imports
import sidebars from "../sidebars";
import { isObject } from "./utils.js";
import { isObject } from "./utils";

const BEGINNERS_GUIDE_PARTS: readonly string[] = (() => {
const { mainSidebar } = sidebars;
Expand Down

0 comments on commit 2670be7

Please sign in to comment.