We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 597b1ef commit 31f901cCopy full SHA for 31f901c
lib/rules/forbid-dom-props.js
@@ -97,7 +97,7 @@ module.exports = {
97
return {
98
JSXAttribute(node) {
99
const parentName = node.parent.name;
100
- // Extract a component name when using a "namespace", e.g. `<htmo.div />`.
+ // Extract a component name when using a "namespace", e.g. `<html.div />`.
101
const tag = parentName.name || `${parentName.object.name}.${parentName.property.name}`;
102
const componentName = parentName.name || parentName.property.name;
103
const isDomNode = componentName && typeof componentName[0] === 'string' && componentName[0] !== componentName[0].toUpperCase();
0 commit comments