build/metalsmith/markdown/markdown-link-code.js
Function exports
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
module.exports = function(md, options) {
if (!options || !options.pattern || !options.url) {
throw new Error('the options "pattern" and "url" are required!');
}