From d77b979edc2ab6205ed0cd2ac8b65301f380a158 Mon Sep 17 00:00:00 2001 From: Daniil Suvorov Date: Mon, 26 Feb 2024 11:13:08 +0300 Subject: [PATCH] [Fix] `no-unknown-property`: add `fetchPriority` - DefinitelyTyped/DefinitelyTyped#68645 - https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/fetchpriority --- lib/rules/no-unknown-property.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rules/no-unknown-property.js b/lib/rules/no-unknown-property.js index 2e77f2898b..ec913e1fca 100644 --- a/lib/rules/no-unknown-property.js +++ b/lib/rules/no-unknown-property.js @@ -257,7 +257,7 @@ const DOM_PROPERTY_NAMES_TWO_WORDS = [ 'onError', 'onFocus', 'onInput', 'onKeyDown', 'onKeyPress', 'onKeyUp', 'onLoad', 'onWheel', 'onDragOver', 'onDragStart', 'onDrop', 'onMouseDown', 'onMouseEnter', 'onMouseLeave', 'onMouseMove', 'onMouseOut', 'onMouseOver', 'onMouseUp', 'onPaste', 'onScroll', 'onSelect', 'onSubmit', 'onToggle', 'onTransitionEnd', 'radioGroup', 'readOnly', 'referrerPolicy', - 'rowSpan', 'srcDoc', 'srcLang', 'srcSet', 'useMap', + 'rowSpan', 'srcDoc', 'srcLang', 'srcSet', 'useMap', 'fetchPriority', // SVG attributes // See https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute 'crossOrigin', 'accentHeight', 'alignmentBaseline', 'arabicForm', 'attributeName',