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 a7bc91b commit d61a096Copy full SHA for d61a096
lib/rules/no-typos.js
@@ -73,7 +73,7 @@ module.exports = {
73
}
74
75
function checkValidPropObject (node) {
76
- if (node.type === 'ObjectExpression') {
+ if (node && node.type === 'ObjectExpression') {
77
node.properties.forEach(prop => checkValidProp(prop.value));
78
79
0 commit comments