lib/plugins/tag/post_link.ts
Function postLinkTag
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
return function postLinkTag(args: string[]) {
let slug = args.shift();
if (!slug) {
throw new Error(`Post not found: "${slug}" doesn't exist for {% post_link %}`);
}