Skip to content

Add MDS035 rule to flag renderer-specific TOC directives - #144

Merged
jeduden merged 2 commits into
mainfrom
claude/plan-88-toc-directive
Apr 19, 2026
Merged

Add MDS035 rule to flag renderer-specific TOC directives#144
jeduden merged 2 commits into
mainfrom
claude/plan-88-toc-directive

Re-parse with lint.NewParser for link-ref lookup

5e7c283
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Apr 19, 2026 in 0s

86.76% (+0.05%) compared to fef3ac3

View this Pull Request on Codecov

86.76% (+0.05%) compared to fef3ac3

Details

Codecov Report

❌ Patch coverage is 96.82540% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 86.76%. Comparing base (fef3ac3) to head (5e7c283).

Files with missing lines Patch % Lines
internal/rules/tocdirective/rule.go 96.55% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #144      +/-   ##
==========================================
+ Coverage   86.70%   86.76%   +0.05%     
==========================================
  Files          95       96       +1     
  Lines       10387    10446      +59     
==========================================
+ Hits         9006     9063      +57     
- Misses        899      900       +1     
- Partials      482      483       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.