Skip to content

Commit 8fe1017

Browse files
committed
Chore: require-meta-docs-url allows prereleases
1 parent f4b984c commit 8fe1017

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/lib/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ describe('exported plugin', () => {
1111
it(ruleName, () => {
1212
assert.match(
1313
plugin.rules[ruleName].meta.docs.url,
14-
/^https:\/\/github.com\/not-an-aardvark\/eslint-plugin-eslint-plugin\/tree\/v\d+\.\d+\.\d+\/docs\/rules\/[\w-]+\.md$/
14+
/^https:\/\/github.com\/not-an-aardvark\/eslint-plugin-eslint-plugin\/tree\/v\d+\.\d+\.\d+(-\d+)?\/docs\/rules\/[\w-]+\.md$/
1515
);
1616
});
1717
});

0 commit comments

Comments
 (0)