Skip to content

Commit 19a80b8

Browse files
committed
chore: lint
1 parent fb16006 commit 19a80b8

File tree

6 files changed

+15
-16
lines changed

6 files changed

+15
-16
lines changed

.markdownlint-cli2.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ ignores:
2424
- '.claude-skills/**/*.md'
2525
- './specify/**/*.md'
2626
- 'worktrees/**/*.md'
27+
- '.tmp/**/*.md'
2728
outputFormatters:
2829
- - 'markdownlint-cli2-formatter-pretty'
2930
- appendLink: true

cspell.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@
3232
"*.csv",
3333
"worktrees",
3434
"assets/*.ans",
35-
"assets/*.txt"
35+
"assets/*.txt",
36+
".tmp"
3637
],
3738
"ignoreRandomStrings": true,
3839
"ignoreWords": [

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
"docs:preview": "astro preview --config astro.config.js",
7373
"fix": "run-s -sl fix:*",
7474
"fix:eslint": "eslint --fix .",
75-
"fix:format": "prettier --write .",
75+
"fix:format": "prettier --write . && markdownlint-cli2 --fix \"**/*.md\"",
7676
"fix:pkg": "npm pkg fix",
7777
"lint": "run-p -sl --aggregate-output lint:*",
7878
"lint-staged": "lint-staged",
@@ -101,15 +101,15 @@
101101
"zod": "4.1.12"
102102
},
103103
"devDependencies": {
104-
"@astrojs/starlight": "0.36.1",
104+
"@astrojs/starlight": "^0.36.1",
105105
"@commitlint/cli": "20.1.0",
106106
"@commitlint/config-conventional": "20.0.0",
107107
"@eslint/js": "9.38.0",
108108
"@stylistic/eslint-plugin": "5.5.0",
109109
"@types/node": "24.8.1",
110110
"@types/wallabyjs": "0.0.15",
111111
"@types/yargs": "17.0.33",
112-
"astro": "5.14.8",
112+
"astro": "^5.14.8",
113113
"bupkis": "0.11.1",
114114
"cspell": "9.2.1",
115115
"eslint": "9.38.0",

site/src/content/docs/guides/output.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@ You can always override the default by explicitly specifying `--reporters`.
1919

2020
The human reporter provides color-coded terminal output with real-time progress bars and formatted results. This is the default when running in an interactive terminal (TTY) with color support.
2121

22-
### Features
22+
### Human Reporter Features
2323

2424
- **Real-time progress bars** - Visual feedback during benchmark execution
2525
- **Color-coded results** - Green for pass, red for fail, cyan for info
2626
- **Performance summaries** - Operations per second, mean time, standard deviation
2727
- **Environment information** - Node.js version, platform, CPU, memory
2828
- **Structured output** - File → Suite → Task hierarchy
2929

30-
### Example Output
30+
### Human Reporter Example Output
3131

3232
```text
3333
🚀 ModestBench
@@ -61,7 +61,7 @@ Found 1 benchmark file(s)
6161
🎉 All benchmarks completed successfully!
6262
```
6363

64-
### Usage
64+
### Human Reporter Usage
6565

6666
```bash
6767
# Human reporter is default
@@ -87,14 +87,14 @@ In CI/CD environments, modestbench automatically uses the `simple` reporter for
8787

8888
The simple reporter provides clean, text-only output without colors or progress bars. This is the default in non-TTY environments (CI/CD, piped output) or when `FORCE_COLOR` is not set.
8989

90-
### Features
90+
### Simple ReporterFeatures
9191

9292
- **Plain text output** - No ANSI colors or escape codes
9393
- **No progress bars** - Clean output suitable for logs and pipes
9494
- **Structured results** - Same hierarchy as human reporter (File → Suite → Task)
9595
- **Machine-readable** - Perfect for parsing and CI/CD logs
9696

97-
### Example Output
97+
### Simple Reporter Example Output
9898

9999
```text
100100
modestbench
@@ -128,7 +128,7 @@ Duration: 1.82s
128128
All benchmarks completed successfully!
129129
```
130130

131-
### Usage
131+
### Simple Reporter Usage
132132

133133
```bash
134134
# Simple reporter is default in non-TTY environments

src/reporters/human.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -306,8 +306,6 @@ export class HumanReporter extends BaseReporter {
306306
return;
307307
}
308308

309-
this.clearLine();
310-
311309
let header: string;
312310
if (run.environment) {
313311
header = `
@@ -388,8 +386,7 @@ export class HumanReporter extends BaseReporter {
388386
return;
389387
}
390388

391-
this.clearLine();
392-
this.lastProgressLine = ''; // Reset for new suite section
389+
// Don't clear the sticky progress bar - it should persist through suite transitions
393390
this.suiteResults = []; // Reset buffer for new suite
394391

395392
// Skip displaying the implicit "default" suite header

0 commit comments

Comments
 (0)