Skip to content

Commit c9c2351

Browse files
committed
7.37.6
1 parent 90fc570 commit c9c2351

File tree

3 files changed

+21
-1
lines changed

3 files changed

+21
-1
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
# Change Log
2+
## 2025-01-23 (7.37.6)
3+
- bugfix: allow using lowercased variants of semi-synthetic events
4+
- bugfix: added intermediate as allowed attribute
5+
26
## 2025-01-23 (7.37.5)
37
- bugfix: Do not raise errors for InfernoJs optimization flags
48
- bugfix: DO not raise error for Functional component hooks

lib/rules/no-unknown-property.js

+16
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,8 @@ const DOM_PROPERTY_NAMES = [
135135
// Inferno optimization flags
136136
'$HasKeyedChildren', '$HasNonKeyedChildren', '$HasVNodeChildren', '$HasTextChildren', '$ReCreate', '$ChildFlag', '$Flags',
137137

138+
'indeterminate',
139+
138140
// Global attributes - can be used on any HTML/DOM element
139141
// See https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes
140142
'dir', 'draggable', 'hidden', 'id', 'lang', 'nonce', 'part', 'slot', 'style', 'title', 'translate', 'inert',
@@ -477,6 +479,20 @@ const DOM_PROPERTY_NAMES = [
477479
'onTouchEnd',
478480
'onTouchMove',
479481
'onTouchStart',
482+
// Non hoisted event listener events
483+
'onclick',
484+
'ondblclick',
485+
'onfocusin',
486+
'onfocusout',
487+
'onkeydown',
488+
'onkeypress',
489+
'onkeyup',
490+
'onmousedown',
491+
'onmousemove',
492+
'onmouseup',
493+
'ontouchend',
494+
'ontouchmove',
495+
'ontouchstart',
480496
// Specials controlled event attributes
481497
'onChange',
482498

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eslint-plugin-inferno",
3-
"version": "7.37.5",
3+
"version": "7.37.6",
44
"description": "Inferno specific linting rules for ESLint",
55
"main": "index.js",
66
"types": "index.d.ts",

0 commit comments

Comments
 (0)