diff --git a/website/eslint.config.mjs b/website/eslint.config.mjs index 1d7d0e5..4d65289 100644 --- a/website/eslint.config.mjs +++ b/website/eslint.config.mjs @@ -144,17 +144,6 @@ export default defineConfig( }, }, - // MDX files - { - files: ["**/*.mdx"], - plugins: { - prettier: eslintPluginPrettier, - }, - rules: { - "prettier/prettier": "warn", - }, - }, - // Linter options { linterOptions: { diff --git a/website/src/components/ui/sidebar.tsx b/website/src/components/ui/sidebar.tsx index b5f8ca5..0e649c3 100644 --- a/website/src/components/ui/sidebar.tsx +++ b/website/src/components/ui/sidebar.tsx @@ -607,6 +607,7 @@ function SidebarMenuSkeleton({ }) { // Random width between 50 to 90%. const width = React.useMemo(() => { + // eslint-disable-next-line react-hooks/purity return `${Math.floor(Math.random() * 40) + 50}%`; }, []);