Skip to content

feat: implement MD013 line-length rule with comprehensive architectur… - #23

Merged
ekropotin merged 2 commits into
mainfrom
md013
Aug 5, 2025
Merged

feat: implement MD013 line-length rule with comprehensive architectur…#23
ekropotin merged 2 commits into
mainfrom
md013

Conversation

@ekropotin

Copy link
Copy Markdown
Owner

feat: implement MD013 line-length rule with comprehensive architecture enchantments

Major changes:

  • Implemented MD013 (line-length) rule with configurable limits and exceptions
  • Enhanced architecture with single-pass document processing and context caching
  • Added comprehensive rules implementation checklist (48 total markdownlint rules)
  • Categorized rules into 5 implementation types for optimal development strategy

Key architectural improvements:

  • Enhanced Context system with line caching and node-to-line mapping
  • Hybrid AST + line processing for optimal performance
  • Document-wide state preparation for complex rules
  • Single-use contract enforcement for memory safety

Code quality improvements:

  • Fixed clippy warnings (or_default, format string inlining)
  • Suppressed false-positive recursive parameter warnings
  • Added comprehensive documentation and usage examples

Test coverage:

  • 75 total tests passing
  • Comprehensive MD013 test suite with multiple configuration modes
  • Integration tests for CLI error reporting

Documentation:

  • Added MD013 rule documentation following project conventions
  • Updated CLAUDE.md with complete rules roadmap and architecture analysis

🤖 Generated with Claude Code

ekropotin and others added 2 commits August 5, 2025 11:49
…e enhancements

Major changes:
- Implemented MD013 (line-length) rule with configurable limits and exceptions
- Enhanced architecture with single-pass document processing and context caching
- Added comprehensive rules implementation checklist (48 total markdownlint rules)
- Categorized rules into 5 implementation types for optimal development strategy

Key architectural improvements:
- Enhanced Context system with line caching and node-to-line mapping
- Hybrid AST + line processing for optimal performance
- Document-wide state preparation for complex rules
- Single-use contract enforcement for memory safety

Code quality improvements:
- Fixed clippy warnings (or_default, format string inlining)
- Suppressed false-positive recursive parameter warnings
- Added comprehensive documentation and usage examples

Test coverage:
- 75 total tests passing
- Comprehensive MD013 test suite with multiple configuration modes
- Integration tests for CLI error reporting

Documentation:
- Added MD013 rule documentation following project conventions
- Updated CLAUDE.md with complete rules roadmap and architecture analysis

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@ekropotin
ekropotin merged commit abc7cce into main Aug 5, 2025
1 check passed
@ekropotin
ekropotin deleted the md013 branch August 8, 2025 21:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant