UNPKG

yoda-seo-tips

Version:
15 lines (14 loc) 947 B
/// <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[];