Skip to content

Commit 95466e2

Browse files
committed
Remove some ignores for external repository testing that are no longer needed.
1 parent 59a4a56 commit 95466e2

File tree

1 file changed

+2
-16
lines changed

1 file changed

+2
-16
lines changed

test/markdownlint-test-repos.js

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -234,8 +234,7 @@ test("https://github.com/webpack/webpack.js.org", (t) => {
234234
const rootDir = "./test-repos/webpack-webpack-js-org";
235235
const globPatterns = [ join(rootDir, "**/*.md") ];
236236
const configPath = join(rootDir, ".markdownlint.json");
237-
const ignoreRes = [ /^test-repos\/webpack-webpack-js-org\/README\.md: \d+: MD053\/.*$\r?\n?/gm ];
238-
return lintTestRepo(t, globPatterns, configPath, ignoreRes);
237+
return lintTestRepo(t, globPatterns, configPath);
239238
});
240239

241240
// Optional repositories (very large)
@@ -246,20 +245,7 @@ if (existsSync(dotnetDocsDir)) {
246245
const rootDir = dotnetDocsDir;
247246
const globPatterns = [ join(rootDir, "**/*.md") ];
248247
const configPath = join(rootDir, ".markdownlint.json");
249-
const ignoreRes = [
250-
/^[^:]+: \d+: MD051\/.*$\r?\n?/gm,
251-
/^test-repos\/dotnet-docs\/docs\/core\/diagnostics\/sos-debugging-extension\.md: \d+: MD052\/.*$\r?\n?/gm,
252-
/^test-repos\/dotnet-docs\/docs\/core\/install\/macos\.md: \d+: MD053\/.*$\r?\n?/gm,
253-
/^test-repos\/dotnet-docs\/docs\/framework\/data\/adonet\/dataset-datatable-dataview\/diffgrams\.md: \d+: MD052\/.*$\r?\n?/gm,
254-
/^test-repos\/dotnet-docs\/docs\/framework\/tools\/al-exe-assembly-linker\.md: \d+: MD052\/.*$\r?\n?/gm,
255-
/^test-repos\/dotnet-docs\/docs\/framework\/tools\/sos-dll-sos-debugging-extension\.md: \d+: MD052\/.*$\r?\n?/gm,
256-
/^test-repos\/dotnet-docs\/docs\/fsharp\/language-reference\/compiler-options\.md: \d+: MD052\/.*$\r?\n?/gm,
257-
/^test-repos\/dotnet-docs\/docs\/fundamentals\/code-analysis\/quality-rules\/ca2241\.md: \d+: MD052\/.*$\r?\n?/gm,
258-
/^test-repos\/dotnet-docs\/docs\/standard\/base-types\/composite-formatting\.md: \d+: MD052\/.*$\r?\n?/gm,
259-
/^test-repos\/dotnet-docs\/docs\/standard\/base-types\/standard-timespan-format-strings\.md: \d+: MD052\/.*$\r?\n?/gm,
260-
/^test-repos\/dotnet-docs\/docs\/standard\/native-interop\/tutorial-comwrappers\.md: \d+: MD053\/.*$\r?\n?/gm
261-
];
262-
return lintTestRepo(t, globPatterns, configPath, ignoreRes);
248+
return lintTestRepo(t, globPatterns, configPath);
263249
});
264250
}
265251

0 commit comments

Comments
 (0)