yoda-seo-tips
Version:
SEO tips from Yoda
15 lines (14 loc) • 947 B
TypeScript
/// <reference types="cheerio" />
import { Rule } from './validator';
export declare const imgMustHaveAlt: ($: CheerioStatic, report: (msg: string) => void) => void;
export declare const aMustHaveRel: ($: CheerioStatic, report: (msg: string) => void) => void;
export declare const mustHaveTitle: ($: CheerioStatic, report: (msg: string) => void) => void;
export declare const mustHaveDescription: ($: CheerioStatic, report: (msg: string) => void) => void;
export declare const mustHaveKeywords: ($: CheerioStatic, report: (msg: string) => void) => void;
export declare const notTooManyStrongs: (howMany: number) => ($: CheerioStatic, report: (msg: string) => void) => void;
export declare const onlyOneH1: ($: CheerioStatic, report: (msg: string) => void) => void;
export declare type YodaWisdomConfig = {
maxStrongTags?: number;
extraRules?: Rule[];
};
export declare function yodaWisdom(config?: YodaWisdomConfig): Rule[];