renovatebot/renovate
View on GitHubReplace bare links in `index.ts` files in the `modules/versioning/*/` pattern with good links
Open
#30312 opened on Jul 22, 2024
help wantedpriority-4-low
Description
Describe the proposed change(s).
Replace bare links in index.ts files in the modules/versioning/*/ pattern with good links.
Bare links are hard to read, and especially bad for screen reader users. Add a descriptive name to each bare link.
Todos
- Write failing test first
- Update all
urlsconstants - Open PR
Write failing test first
Scope of test: all urls constants in the pattern modules/versioning/*/index.ts.
| Condition | Test result |
|---|---|
Any item in the urls array is not wrapped between []() characters. |
Fail |
All items in the urls array are wrapped between []() characters. |
Pass |
Update all urls constants
Example of a good link, that passes the test:
export const urls = [
'[Microsoft API versioning guidelines](https://github.com/microsoft/api-guidelines/blob/vNext/azure/Guidelines.md#api-versioning)',
];
Open PR
You are ready to open a pull request when the test passes.
Related discussion/issue
I asked about fixing the bare links in this discussion:
- #29483
Fixing the bare links is part of the work for:
- #29148