Skip to content

Add lint rule to validate type descriptions in README #3847

Add lint rule to validate type descriptions in README

Add lint rule to validate type descriptions in README #3847

Triggered via pull request March 31, 2026 12:47
Status Failure
Total duration 2m 46s
Artifacts

main.yml

on: pull_request
Matrix: test
Matrix: types
Fit to window
Zoom out
Zoom in

Annotations

18 errors
TypeScript latest
Process completed with exit code 2.
TypeScript latest: xo.config.js#L160
Type 'typeof plugin' is not assignable to type 'Plugin'.
TypeScript latest: xo.config.js#L80
Type 'MarkdownRuleDefinition<{}>' is not assignable to type 'RuleModule'.
TypeScript ~6.0.0
Process completed with exit code 2.
TypeScript ~6.0.0: xo.config.js#L160
Type 'typeof plugin' is not assignable to type 'Plugin'.
TypeScript ~6.0.0: xo.config.js#L80
Type 'MarkdownRuleDefinition<{}>' is not assignable to type 'RuleModule'.
TypeScript ~5.9.0
Process completed with exit code 2.
TypeScript ~5.9.0: xo.config.js#L160
Type 'typeof plugin' is not assignable to type 'Plugin'.
TypeScript ~5.9.0: xo.config.js#L80
Type 'MarkdownRuleDefinition<{}>' is not assignable to type 'RuleModule'.
Node.js 24
Process completed with exit code 1.
Node.js 24: xo.config.js#L160
Type 'typeof plugin' is not assignable to type 'Plugin'.
Node.js 24: xo.config.js#L80
Type 'MarkdownRuleDefinition<{}>' is not assignable to type 'RuleModule'.
Node.js 22
Process completed with exit code 1.
Node.js 22: xo.config.js#L160
Type 'typeof plugin' is not assignable to type 'Plugin'.
Node.js 22: xo.config.js#L80
Type 'MarkdownRuleDefinition<{}>' is not assignable to type 'RuleModule'.
Node.js 20
Process completed with exit code 1.
Node.js 20: xo.config.js#L160
Type 'typeof plugin' is not assignable to type 'Plugin'.
Node.js 20: xo.config.js#L80
Type 'MarkdownRuleDefinition<{}>' is not assignable to type 'RuleModule'.