Commit 640823f
committed
ci: run markdown formatting check via the Makefile target
The lint workflow duplicated the prettier invocation inline, so it could
drift from the Makefile, and the `lint.markdown` target was interactive
(prompted y/n) — unusable in CI and in scripts. It also probed a
misspelled `node_module` directory.
Collapse `lint.markdown` to a single non-interactive target that reformats
with prettier, sharing one `PRETTIER_ARGS` definition. CI now runs
`make lint.markdown` and fails on any resulting diff, so the workflow and
local formatting use the exact same rules.
Signed-off-by: Sean Chittenden <sean.chittenden@crowdstrike.com>1 parent e0d0520 commit 640823f
2 files changed
Lines changed: 7 additions & 35 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
249 | 249 | | |
250 | 250 | | |
251 | 251 | | |
252 | | - | |
253 | | - | |
254 | | - | |
255 | | - | |
256 | | - | |
257 | | - | |
258 | | - | |
259 | | - | |
260 | | - | |
261 | | - | |
262 | | - | |
263 | | - | |
264 | | - | |
265 | | - | |
266 | | - | |
267 | | - | |
268 | | - | |
269 | | - | |
270 | | - | |
271 | | - | |
272 | | - | |
273 | | - | |
274 | | - | |
275 | | - | |
276 | | - | |
277 | | - | |
278 | | - | |
279 | | - | |
280 | | - | |
281 | | - | |
282 | | - | |
283 | | - | |
284 | | - | |
285 | | - | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
286 | 256 | | |
287 | 257 | | |
288 | 258 | | |
| |||
0 commit comments