Skip to content

Commit 89b95b3

Browse files
author
Brijesh Bittu
committed
Fix lint
1 parent 410851d commit 89b95b3

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

docs/src/app/(public)/page.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ import Image from 'next/image';
33

44
import { Link } from 'docs/components/Link';
55
import { ArrowRightIcon } from 'docs/icons/ArrowRightIcon';
6-
import { Root, Content, Heading, linkStyle, Caption } from './page.pigment';
76
import { nav } from 'docs/nav';
7+
import { Root, Content, Heading, linkStyle, Caption } from './page.pigment';
88

99
const description = 'A build-time CSS-in-JS styling engine';
1010

docs/src/mdx-components.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { Changelog } from './components/Changelog';
1010
import { LinkIcon } from './icons/LinkIcon';
1111

1212
interface MDXComponents {
13-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
13+
1414
[key: string]: React.FC<any> | MDXComponents;
1515
}
1616

@@ -54,7 +54,7 @@ export const mdxComponents: MDXComponents = {
5454
code: (props) => <Styled.Code {...props} />,
5555
// Don't pass the tabindex prop from shiki, most browsers
5656
// now handle scroll containers focus out of the box
57-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
57+
5858
pre: ({ tabIndex: _tabIndex, ...props }) => <CodeBlock.Pre {...props} />,
5959
Subtitle: (props) => <Styled.Subtitle {...props} />,
6060
Meta: (props: React.ComponentProps<'meta'>) => {

docs/src/utils/rehype/rehypeInlineCode.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export const rehypeInlineCode: Pluggable = () => {
2929
delete node.properties.style;
3030

3131
// Tweak how `undefined`, `null`, and `""` are highlighted
32-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
32+
3333
node.children?.forEach((part: any) => {
3434
const text = part.children[0]?.value;
3535
if (text === 'undefined' || text === 'null' || text === '""' || text === "''") {
@@ -40,10 +40,10 @@ export const rehypeInlineCode: Pluggable = () => {
4040
// Tweak `<tag>` highlights to paint the bracket with the tag highlight color
4141
if (toString(node).match(/^<.+>$/)) {
4242
const keyNode = node.children?.find(
43-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
43+
4444
(part: any) => part.properties.style !== 'color:var(--syntax-default)',
4545
);
46-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
46+
4747
node.children?.forEach((part: any) => {
4848
part.properties.style = keyNode.properties.style;
4949
});

0 commit comments

Comments
 (0)