Commit 326c27b
fix(markdown-validator): use global markdownlint config with MD013=160 (#11)
* fix(markdown-validator): use global markdownlint config with MD013=160
Update markdown-validator plugin to use global markdownlint configuration
with 160-character line length instead of default 80-character limit.
Changes:
- Update validate-markdown.sh to use --config ~/.markdownlint-cli2.yaml
- Document global config requirement in README
- Update .markdownlint.json with MD013 settings and MD060 disabled
Configuration:
- line_length: 160 (regular text, prevents mid-sentence breaks)
- heading_line_length: 120 (headings)
- code_block_line_length: 160 (code blocks)
- tables: false (disable table length checks)
- MD060: false (version mismatch workaround)
Users must create ~/.markdownlint-cli2.yaml with these settings
(deployed automatically via nix-config for nix users).
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
* fix: address PR review feedback on config handling and docs
Changes made:
- Use $HOME instead of ~ for better portability
- Add config file existence check with user-friendly error message
- Update documentation to clarify config requirement and failure behavior
- Add note explaining YAML vs JSON config format differences
Addresses review threads on PR #11:
- Thread PRRT_kwDOQx7E5c5qZyRI: Config check and $HOME usage
- Thread PRRT_kwDOQx7E5c5qZzxw: Config file existence validation
- Thread PRRT_kwDOQx7E5c5qZzyF: YAML/JSON format clarification
- Thread PRRT_kwDOQx7E5c5qZzyW: Config requirement language
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent 18a39a5 commit 326c27b
3 files changed
Lines changed: 50 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
5 | 9 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
43 | 81 | | |
44 | 82 | | |
45 | 83 | | |
| |||
73 | 111 | | |
74 | 112 | | |
75 | 113 | | |
| 114 | + | |
76 | 115 | | |
77 | 116 | | |
78 | 117 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
37 | 41 | | |
38 | 42 | | |
39 | 43 | | |
| |||
0 commit comments