Lint: quality
passingResults of the run of the commit 8df3cc3b89 at 2026-11-22 16:24 UTC (the run) that made this site; a library whose suite was not run in it has none.
The library: Lint.
Quality gate
The library holds every condition of the gate.
| Condition | Holds | Why not |
|---|---|---|
| its tests were in the run | yes | |
| no test failed | yes | |
| no open issue of severity high or critical | yes |
Line coverage
32.3% of 362 lines of 9 source files are reached by the library's tests. The least covered files:
| File | Lines | Hit | Covered |
|---|---|---|---|
commons/lint/src/rules/switch-absurd.ts | 46 | 8 | 17.4% |
commons/lint/src/rule.ts | 67 | 14 | 20.9% |
commons/lint/src/rules/import-boundary.ts | 41 | 10 | 24.4% |
commons/lint/src/rules/no-registry-import.ts | 30 | 9 | 30% |
commons/lint/src/rules/no-vendor-api.ts | 30 | 9 | 30% |
commons/lint/src/rules/module-doc.ts | 28 | 9 | 32.1% |
commons/lint/src/test-rule.ts | 68 | 25 | 36.8% |
commons/lint/src/rules/terminal-writers.ts | 34 | 15 | 44.1% |
commons/lint/src/plugin.ts | 18 | 18 | 100% |
Tests
9 tests: 1 passed, 0 failed, 8 skipped, 0 planned or other.
Skipped or planned
| Test | File | Result | Time |
|---|---|---|---|
| a harness defines its own rule with defineRule, in a plugin of its own, and bun lint loads it by --plugin | suite/plugin.test.ts | skipped | 0 ms |
| options that do not decode are reported, never ignored: an allowed file without its reason, a list that is not one | suite/plugin.test.ts | skipped | 0 ms |
| no-vendor-api refuses a vendor's global in code and in types outside the files allowed with their reasons | suite/plugin.test.ts | skipped | 0 ms |
| no-registry-import refuses npm:, jsr: and URL specifiers in every form of import; a bare name, node: and a relative path pass | suite/plugin.test.ts | skipped | 0 ms |
| import-boundary refuses a relative import that leaves its package; one inside it, or from a file in no package, passes | suite/plugin.test.ts | skipped | 0 ms |
| module-doc refuses a file that does not begin with a JSDoc block saying @module; a shebang may come first | suite/plugin.test.ts | skipped | 0 ms |
| switch-absurd refuses a switch on kind that does not end in a default calling absurd; every: true holds every switch to it | suite/plugin.test.ts | skipped | 0 ms |
| terminal-writers refuses process.stdout, process.stderr, console and the vendors' streams outside the files allowed | suite/plugin.test.ts | skipped | 0 ms |
History
The last 6 runs in which the library's tests ran, oldest first.
Requirements
10 requirements: 1 proved, 8 partly (a test skipped or planned), 0 failing, 1 with no test recorded.
Not proved by a passing test: 0001-lint FR-002, 0001-lint FR-003, 0001-lint FR-004, 0001-lint FR-005, 0001-lint FR-006, 0001-lint FR-007, 0001-lint FR-008, 0001-lint FR-009, 0001-lint FR-010