You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Something like this has been implemented in node core in nodejs/node#35244. However, the checkLinks.js script doesn't check documentation files (but instead, all the other markdown files that are not cover make lint-md).
If nodejs/node#35191 lands, that would change, enforcing de facto the ordering of references for the docs, so I'm not sure it's worth investing time making a lint rule on top of it.
@aduh95 interesting, thanks! It would be interesting to find/write a remark-lint rule though, because then other repos that use this preset could take advantage as well
Yes, #188 do enforce ordering of reference links, and would typically flag the example in the OP as invalid.
Closing, @nschonni please reopen if you meant something else.
This is more style over function, but got the idea from @aduh95 in #139
Basic premise would be to flag:
Would flag that the
Link A
reference is before theLink B
reference in the bottom.Reasoning is, some pages the reference section gets quite large, and an alphabetical list is easier to visually parse when looking for one to update.
The text was updated successfully, but these errors were encountered: