htmlhint-plugin-blocked-words
Version:
An [HTMLHint](https://htmlhint.com/) plugin that allows users to block arbitrary phrases in HTML code.
5 lines (4 loc) • 350 B
TypeScript
import { BlockWordsOptions } from './block-words-options';
export declare function blockedWordMessage(blockedMatch: string, blockRegExp: RegExp, tagName?: string, type?: 'text' | 'attribute' | 'tag name' | undefined): string;
export declare const BlockWordsRule: import("../create-rule").CustomRule<BlockWordsOptions>;
export default BlockWordsRule;