mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-16 22:10:13 +01:00
Exclude file in test-repos scenario due to table parsing (breaking) change in markdown-it v12.
This commit is contained in:
parent
85563c3e63
commit
c2541468ff
2 changed files with 18 additions and 1 deletions
|
|
@ -101,7 +101,13 @@ if (existsSync(dotnetDocsDir)) {
|
|||
const rootDir = dotnetDocsDir;
|
||||
const globPatterns = [
|
||||
join(rootDir, "**/*.md"),
|
||||
"!" + join(rootDir, "samples/**/*.md")
|
||||
"!" + join(rootDir, "samples/**/*.md"),
|
||||
// A table parsing change in markdown-it v12 causes a new issue here
|
||||
"!" + join(
|
||||
rootDir,
|
||||
"docs/standard/base-types/" +
|
||||
"regular-expression-example-scanning-for-hrefs.md"
|
||||
)
|
||||
];
|
||||
const configPath = join(rootDir, ".markdownlint.json");
|
||||
lintTestRepo(test, globPatterns, configPath);
|
||||
|
|
|
|||
11
test/reversed-link-issue-with-markdownlint-12.md
Normal file
11
test/reversed-link-issue-with-markdownlint-12.md
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
# reversed-link-issue-with-markdownlint-12
|
||||
|
||||
|Pattern|Description|
|
||||
|-------------|-----------------|
|
||||
|`(?:\["'\](?<1>\[^"'\]*)["']|(?<1>\S+))`|...|
|
||||
|
||||
{MD011:5}
|
||||
|
||||
|Pattern|Description|
|
||||
|-------------|-----------------|
|
||||
|`(?:\["'\](?<1>\[^"'\]*)["']\|(?<1>\S+))`|...|
|
||||
Loading…
Add table
Add a link
Reference in a new issue