Skip to content

Commit

Permalink
chore(lint): add pattern option to require-meta-docs-url rule
Browse files Browse the repository at this point in the history
  • Loading branch information
macklinu authored and SimenB committed Feb 9, 2018
1 parent 5a6d64b commit 33bdfbf
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,13 @@ module.exports = {
},
rules: {
strict: 'error',
'eslint-plugin/require-meta-docs-url': 'error',
'eslint-plugin/require-meta-docs-url': [
'error',
{
pattern:
'https://github.com/jest-community/eslint-plugin-jest/blob/master/docs/rules/{{name}}.md',
},
],
'prettier/prettier': 'error',
},
overrides: [
Expand Down

0 comments on commit 33bdfbf

Please # to comment.