Skip to content

Commit d64bcef

Browse files
author
Joachim Seminck
committed
Uncomment code
1 parent f63a30b commit d64bcef

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

lib/rules/no-typos.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -119,12 +119,12 @@ module.exports = {
119119
MemberExpression: function(node) {
120120
const propertyName = node.property.name;
121121

122-
// if (
123-
// !propertyName ||
124-
// STATIC_CLASS_PROPERTIES.map(prop => prop.toLocaleLowerCase()).indexOf(propertyName.toLowerCase()) === -1
125-
// ) {
126-
// return;
127-
// }
122+
if (
123+
!propertyName ||
124+
STATIC_CLASS_PROPERTIES.map(prop => prop.toLocaleLowerCase()).indexOf(propertyName.toLowerCase()) === -1
125+
) {
126+
return;
127+
}
128128

129129
const relatedComponent = utils.getRelatedComponent(node);
130130

0 commit comments

Comments
 (0)