8 lines
173 B
JavaScript
8 lines
173 B
JavaScript
'use strict';
|
|
|
|
function docsUrl(ruleName) {
|
|
return `https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/${ruleName}.md`;
|
|
}
|
|
|
|
module.exports = docsUrl;
|