style: 完成所有文件的lint

This commit is contained in:
claude-code-best
2026-05-01 21:39:30 +08:00
parent d136872cc9
commit 6182015005
1333 changed files with 68255 additions and 77882 deletions

View File

@@ -1,13 +1,13 @@
import React from 'react'
import { pathToFileURL } from 'url'
import { Link } from '@anthropic/ink'
import React from 'react';
import { pathToFileURL } from 'url';
import { Link } from '@anthropic/ink';
type Props = {
/** The absolute file path */
filePath: string
filePath: string;
/** Optional display text (defaults to filePath) */
children?: React.ReactNode
}
children?: React.ReactNode;
};
/**
* Renders a file path as an OSC 8 hyperlink.
@@ -15,5 +15,5 @@ type Props = {
* even when they appear inside parentheses or other text.
*/
export function FilePathLink({ filePath, children }: Props): React.ReactNode {
return <Link url={pathToFileURL(filePath).href}>{children ?? filePath}</Link>
return <Link url={pathToFileURL(filePath).href}>{children ?? filePath}</Link>;
}