Skip to content

Commit 33bdfbf

Browse files
macklinuSimenB
authored andcommitted
chore(lint): add pattern option to require-meta-docs-url rule
1 parent 5a6d64b commit 33bdfbf

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.eslintrc.js

+7-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,13 @@ module.exports = {
1717
},
1818
rules: {
1919
strict: 'error',
20-
'eslint-plugin/require-meta-docs-url': 'error',
20+
'eslint-plugin/require-meta-docs-url': [
21+
'error',
22+
{
23+
pattern:
24+
'https://github.com/jest-community/eslint-plugin-jest/blob/master/docs/rules/{{name}}.md',
25+
},
26+
],
2127
'prettier/prettier': 'error',
2228
},
2329
overrides: [

0 commit comments

Comments
 (0)