Skip to content

Commit e6f8344

Browse files
committed
chore: wip
1 parent 941286d commit e6f8344

File tree

3 files changed

+4
-9
lines changed

3 files changed

+4
-9
lines changed

eslint.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ const config: ESLintConfig = stacks({
1212
yaml: true,
1313
ignores: [
1414
'fixtures/**',
15+
'**/*.md',
1516
],
1617
})
1718

packages/benchmarks/src/index.ts

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ async function runBenchmarks() {
125125
})
126126

127127
// Cache benchmarks
128-
group({ name: 'With Caching (repeated highlighting)', summary: false }, () => {
128+
group('With Caching (repeated highlighting)', () => {
129129
bench('ts-syntax-highlighter (no cache)', async () => {
130130
await tsHighlighter.highlight(mediumCode, 'javascript')
131131
})
@@ -180,13 +180,7 @@ async function runBenchmarks() {
180180
})
181181
})
182182

183-
await run({
184-
avg: true,
185-
json: false,
186-
colors: true,
187-
min_max: true,
188-
percentiles: true,
189-
})
183+
await run()
190184

191185
console.log('\n✅ Benchmarks complete!')
192186
}

packages/ts-syntax-highlighter/src/renderer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { RenderedCode, RenderOptions, Theme, TokenLine, TokenSettings } from './types'
1+
import type { RenderedCode, RenderOptions, Theme, Token, TokenLine, TokenSettings } from './types'
22

33
export class Renderer {
44
private theme: Theme

0 commit comments

Comments
 (0)