Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
bradzacher committed Jun 25, 2019
1 parent 5d5468e commit 8b196a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/typescript-estree/tests/ast-alignment/utils.ts
Expand Up @@ -40,7 +40,7 @@ export function omitDeep(
}

for (const prop in node) {
if (node.hasOwnProperty(prop)) {
if (Object.prototype.hasOwnProperty.call(node, prop)) {
if (shouldOmit(prop, node[prop])) {
delete node[prop];
continue;
Expand Down

0 comments on commit 8b196a8

Please sign in to comment.