Skip to content

Commit ea148fa

Browse files
authored
Remove dom mapping
1 parent 333fbe5 commit ea148fa

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/rules/no-unknown-property.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ const DOM_ATTRIBUTE_NAMES = {
2626
crossorigin: 'crossOrigin',
2727
for: 'htmlFor',
2828
nomodule: 'noModule',
29-
displaystyle: 'displayStyle',
3029
};
3130

3231
const ATTRIBUTE_TAGS_MAP = {
@@ -35,7 +34,7 @@ const ATTRIBUTE_TAGS_MAP = {
3534
checked: ['input'],
3635
// image is required for SVG support, all other tags are HTML.
3736
crossOrigin: ['script', 'img', 'video', 'audio', 'link', 'image'],
38-
displayStyle: ['math'],
37+
displaystyle: ['math'],
3938
// https://html.spec.whatwg.org/multipage/links.html#downloading-resources
4039
download: ['a', 'area'],
4140
fill: [ // https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/fill

0 commit comments

Comments
 (0)