Skip to content

Commit

Permalink
Remove dom mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
lounsbrough authored Nov 13, 2023
1 parent 333fbe5 commit ea148fa
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/rules/no-unknown-property.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ const DOM_ATTRIBUTE_NAMES = {
crossorigin: 'crossOrigin',
for: 'htmlFor',
nomodule: 'noModule',
displaystyle: 'displayStyle',
};

const ATTRIBUTE_TAGS_MAP = {
Expand All @@ -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
Expand Down

0 comments on commit ea148fa

Please sign in to comment.