textlint
Version:
The pluggable linting tool for text and markdown.
27 lines (21 loc) • 670 B
Markdown
Architecture
# Overview
```mermaid
sequenceDiagram
>Loader: Load textlintrc
>CLI: Return TextlintDescriptor
>Linter: File*s* and TextlintDescriptor
>Linter: File->Text
>Kernel: Text
>Kernel: Linting text
>Linter: Message
>CLI: Message*s*
>Formatter: Message*s*
>CLI: Formatted output
>CLI: Output
```
- CLI know Linter
- Linter know Kernel
- Kernel does not depend on other modules
- Kernel work on Browser/Node.js
textlint apply [Separation of Concern](http://weblogs.asp.net/arturtrosin/separation-of-concern-vs-single-responsibility-principle-soc-vs-srp).