Skip to content

Commit

Permalink
fix: don't allow FQDN links
Browse files Browse the repository at this point in the history
  • Loading branch information
nschonni committed Oct 10, 2022
1 parent e30b308 commit 859117b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .markdownlint-cli2.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,13 @@
"searchPattern": "/ +$/gm",
"replace": "",
"skipCode": false
},
{
"name": "fqdn-moz-links",
"message": "Don't use developer.mozilla.org for links",
"search": "](https://developer.mozilla.org/",
"replace": "](/",
"skipCode": true
}
]
}
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -560,3 +560,5 @@ The best way to do this is to use the `yarn content add-redirect` command:

You can learn more about contributing to MDN on
[the MDN Web Docs for Contributors site](https://mdn-contributor-docs.mozilla.org/).

<!-- markdownlint-disable-file search-replace -->
2 changes: 2 additions & 0 deletions REVIEWING.md
Original file line number Diff line number Diff line change
Expand Up @@ -206,3 +206,5 @@ longer have the time to contribute; we want to give them our sincere thanks
for all their help.

- [@vkWeb](https://github.com/vkWeb/)

<!-- markdownlint-disable-file search-replace -->

0 comments on commit 859117b

Please sign in to comment.