github-pages-deploy-action/node_modules/eslint-plugin-react/lib/util/docsUrl.js

8 lines
172 B
JavaScript
Raw Normal View History

2020-03-07 11:45:40 +08:00
'use strict';
function docsUrl(ruleName) {
return `https://github.com/yannickcr/eslint-plugin-react/tree/master/docs/rules/${ruleName}.md`;
}
module.exports = docsUrl;