This linter is fairly limited for now, and will only check for dead
local links (links within the project scope).
Details
Details
- Reviewers
jasonbcox - Group Reviewers
Restricted Project - Commits
- rABCe1124ea61c0d: [LINTER] Add a markdown linter
arc lint --everything
Revert one of the markdown changes from this diff:
arc lint
Check the linter raises an error.
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Branch
- linter_dead_links_md
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 12694 Build 25481: Build Diff build-clang-tidy · build-clang-10 · build-diff · build-without-wallet Build 25480: arc lint + arc unit
Event Timeline
arcanist/linter/MarkdownLinter.php | ||
---|---|---|
53 ↗ | (On Diff #23418) | This looks incredibly fragile and difficult to improve in the future. Some suggestions:
|
Comment Actions
Address feedback and improve robustness:
- Simplify the base regex pattern
- Add support for link titles
- Check for valid syntax in URLs and email addresses