From 33bdfbf03d98a5919fc9a373887744b80040a4b2 Mon Sep 17 00:00:00 2001 From: Macklin Underdown Date: Thu, 8 Feb 2018 11:48:16 -0500 Subject: [PATCH] chore(lint): add pattern option to require-meta-docs-url rule --- .eslintrc.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.eslintrc.js b/.eslintrc.js index 39ce6d46c..fe443359e 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -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: [