From ea148fab84e558159380893ed2d0f6a6449ff75d Mon Sep 17 00:00:00 2001 From: David Lounsbrough Date: Mon, 13 Nov 2023 11:56:33 -0600 Subject: [PATCH] Remove dom mapping --- lib/rules/no-unknown-property.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/rules/no-unknown-property.js b/lib/rules/no-unknown-property.js index ac5bd87dde..2fc127b15f 100644 --- a/lib/rules/no-unknown-property.js +++ b/lib/rules/no-unknown-property.js @@ -26,7 +26,6 @@ const DOM_ATTRIBUTE_NAMES = { crossorigin: 'crossOrigin', for: 'htmlFor', nomodule: 'noModule', - displaystyle: 'displayStyle', }; const ATTRIBUTE_TAGS_MAP = { @@ -35,7 +34,7 @@ const ATTRIBUTE_TAGS_MAP = { checked: ['input'], // image is required for SVG support, all other tags are HTML. crossOrigin: ['script', 'img', 'video', 'audio', 'link', 'image'], - displayStyle: ['math'], + displaystyle: ['math'], // https://html.spec.whatwg.org/multipage/links.html#downloading-resources download: ['a', 'area'], fill: [ // https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/fill