UNPKG

eslint-plugin-html-compat

Version:

ESLint plugin to check HTML element and attribute compatibility using browserslist and @mdn/browser-compat-data

29 lines 925 B
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); const html_compat_1 = __importDefault(require("./rules/html-compat")); const html_deprecated_1 = __importDefault(require("./rules/html-deprecated")); const plugin = { meta: { name: "eslint-plugin-compat-html", version: "1.0.0", namespace: "compat-html", }, rules: { "html-compat": html_compat_1.default, "html-deprecated": html_deprecated_1.default, }, configs: { recommended: { plugins: ["compat-html"], rules: { "compat-html/html-compat": "error", "compat-html/html-deprecated": "error", }, }, }, }; exports.default = plugin; //# sourceMappingURL=index.js.map