Skip to content

Commit

Permalink
Update lib/rules/forbid-dom-props.js
Browse files Browse the repository at this point in the history
Co-authored-by: Jordan Harband <ljharb@gmail.com>
  • Loading branch information
geshwho and ljharb committed May 9, 2020
1 parent 4ac531f commit 7d74249
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rules/forbid-dom-props.js
Expand Up @@ -65,7 +65,7 @@ module.exports = {
}));

function isForbidden(prop) {
return forbid.get(prop) !== undefined;
return forbid.has(prop);
}

return {
Expand Down

0 comments on commit 7d74249

Please sign in to comment.