-
-
Notifications
You must be signed in to change notification settings - Fork 740
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix issue with MD044/proper-names where stateful RegExp could fail to…
… match bare URLs, remove unnecessary use of bareUrlRe by MD033/no-inline-html.
- Loading branch information
1 parent
57c6617
commit 31ffe52
Showing
4 changed files
with
51 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"default": true, | ||
"proper-names": { | ||
"names": [ | ||
"HTTPS", | ||
"EXAMPLE", | ||
"COM", | ||
"DIRECTORY", | ||
"FILE" | ||
] | ||
}, | ||
"no-bare-urls": false, | ||
"code-block-style": false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# Proper Names in URLs | ||
|
||
Text https text {MD044} | ||
Text example text {MD044} | ||
Text com text {MD044} | ||
Text directory text {MD044} | ||
Text file text {MD044} | ||
Text HTTPS EXAMPLE COM DIRECTORY FILE text | ||
|
||
> The following lines are deliberately duplicated | ||
Text https://example.com/directory/file text | ||
|
||
Text https://example.com/directory/file text | ||
|
||
Text <https://example.com/directory/file> text | ||
|
||
Text <https://example.com/directory/file> text | ||
|
||
Text [https://example.com/directory/file](https://example.com/directory/file) text | ||
|
||
Text [https://example.com/directory/file](https://example.com/directory/file) text | ||
|
||
Text `https://example.com/directory/file` text | ||
Text `https://example.com/directory/file` text | ||
|
||
```text | ||
Text https://example.com/directory/file text | ||
Text https://example.com/directory/file text | ||
``` | ||
|
||
Text https://example.com/directory/file text | ||
Text https://example.com/directory/file text |