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

@@ -15,8 +15,9 @@ describe('markdownToPlainText', () => {
})
test('removes code block fences', () => {
expect(markdownToPlainText("```js\nconsole.log('hi');\n```"))
.toBe("console.log('hi');")
expect(markdownToPlainText("```js\nconsole.log('hi');\n```")).toBe(
"console.log('hi');",
)
})
test('converts links to text with URL', () => {
@@ -26,7 +27,8 @@ describe('markdownToPlainText', () => {
})
test('handles mixed markdown', () => {
expect(markdownToPlainText('# Hello\n\n**bold** and *italic* with `code`'))
.toBe('Hello\n\nbold and italic with code')
expect(
markdownToPlainText('# Hello\n\n**bold** and *italic* with `code`'),
).toBe('Hello\n\nbold and italic with code')
})
})