@eslint-react/shared
Advanced tools
Comparing version
@@ -188,4 +188,4 @@ 'use strict'; | ||
var getDocsUrl = (pluginName) => (ruleName) => { | ||
if (pluginName === "x") return `${WEBSITE_URL}/rules/${ruleName}`; | ||
return `${WEBSITE_URL}/rules/${pluginName}-${ruleName}`; | ||
if (pluginName === "x") return `${WEBSITE_URL}/docs/rules/${ruleName}`; | ||
return `${WEBSITE_URL}/docs/rules/${pluginName}-${ruleName}`; | ||
}; | ||
@@ -192,0 +192,0 @@ var createRuleForPlugin = (pluginName) => utils.ESLintUtils.RuleCreator(getDocsUrl(pluginName)); |
{ | ||
"name": "@eslint-react/shared", | ||
"version": "1.5.20-next.6", | ||
"version": "1.5.20-next.7", | ||
"description": "ESLint React's Shared constants and functions.", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/rel1cx/eslint-react", |
Sorry, the diff of this file is not supported yet
37284
0.05%