Commit f0969fa
committed
fix: markdown linter not loading repository configuration
The markdown linter was not loading .markdownlint.json because:
- Missing --config flag when invoking markdownlint
- No working directory specified for child processes
Changes:
- Add --config flag with absolute path to .markdownlint.json
- Set current_dir() for find and markdownlint child processes
- Ensures config is loaded regardless of invocation directory
This fixes the issue where MD013 (line-length) warnings appeared
even though the rule is disabled in .markdownlint.json1 parent 7e12de4 commit f0969fa
1 file changed
+13
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| |||
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
19 | 24 | | |
20 | 25 | | |
21 | 26 | | |
22 | 27 | | |
23 | 28 | | |
| 29 | + | |
24 | 30 | | |
25 | 31 | | |
26 | 32 | | |
| |||
44 | 50 | | |
45 | 51 | | |
46 | 52 | | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | 53 | | |
53 | 54 | | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
54 | 62 | | |
55 | 63 | | |
56 | 64 | | |
| |||
0 commit comments