docsUrl.js 172 B

1234567
  1. 'use strict';
  2. function docsUrl(ruleName) {
  3. return `https://github.com/yannickcr/eslint-plugin-react/tree/master/docs/rules/${ruleName}.md`;
  4. }
  5. module.exports = docsUrl;