We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 11117a4 commit 6918bbaCopy full SHA for 6918bba
lib/rules/jsx-no-duplicate-props.js
@@ -46,7 +46,7 @@ module.exports = {
46
47
var name = decl.name.name;
48
49
- if (ignoreCase) {
+ if (ignoreCase && typeof name === 'string') {
50
name = name.toLowerCase();
51
}
52
0 commit comments