Skip to content

Commit 1e230e7

Browse files
Ruben-Eraphaelpor
andauthored
fix(reserved-member-names): added missing reserved HTML properties (#67)
* fix(reserved-member-names): added missing reserved props * fix(reserved-member-names): added missing reserved props * Remove unselectable --------- Co-authored-by: Raphael Porto <raphaelpor@gmail.com> Co-authored-by: Raphael Porto <raphael.porto.de.freitas@nentgroup.com>
1 parent 55dbb1a commit 1e230e7

File tree

1 file changed

+29
-5
lines changed

1 file changed

+29
-5
lines changed

Diff for: src/rules/reserved-member-names.ts

+29-5
Original file line numberDiff line numberDiff line change
@@ -63,15 +63,15 @@ const HTML_ELEMENT_KEYS = [
6363
'translate',
6464
'dir',
6565
// 'dataset',
66-
// 'hidden',
66+
'hidden',
6767
'tabIndex',
6868
'accessKey',
6969
'draggable',
70-
// 'spellcheck',
71-
// 'autocapitalize',
70+
'spellcheck',
71+
'autocapitalize',
7272
'contentEditable',
7373
'isContentEditable',
74-
// 'inputMode',
74+
'inputMode',
7575
'offsetParent',
7676
'offsetTop',
7777
'offsetLeft',
@@ -158,7 +158,31 @@ const HTML_ELEMENT_KEYS = [
158158
'nonce',
159159
'click',
160160
'focus',
161-
'blur'
161+
'blur',
162+
'class',
163+
'contextmenu',
164+
'tabindex?',
165+
'enterkeyhint',
166+
'is',
167+
'radiogroup',
168+
'role',
169+
'about',
170+
'datatype',
171+
'inlist',
172+
'property',
173+
'resource',
174+
'typeof',
175+
'vocab',
176+
'autocorrect',
177+
'autosave',
178+
'color',
179+
'itemprop',
180+
'itemscope',
181+
'itemtype',
182+
'itemid',
183+
'itemref',
184+
'results',
185+
'security'
162186
];
163187

164188
const ELEMENT_KEYS = [

0 commit comments

Comments
 (0)