UNPKG

htmlhint-plugin-blocked-words

Version:

An [HTMLHint](https://htmlhint.com/) plugin that allows users to block arbitrary phrases in HTML code.

13 lines (12 loc) 425 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.addAllRules = exports.allRules = void 0; const htmlhint_1 = require("htmlhint"); const block_words_1 = require("./rules/block-words"); exports.allRules = [block_words_1.BlockWordsRule]; function addAllRules() { exports.allRules.forEach((rule) => { htmlhint_1.HTMLHint.addRule(rule); }); } exports.addAllRules = addAllRules;