Skip to content

Commit 0f598df

Browse files
committed
Updated linter ignore rule
1 parent ca2dc5b commit 0f598df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ function scan (obj, { protoAction = 'error', constructorAction = 'error' } = {})
6363
throw new SyntaxError('Object contains forbidden prototype property')
6464
}
6565

66-
delete node.__proto__ // eslint-disable-line
66+
delete node.__proto__ // eslint-disable-line no-proto
6767
}
6868

6969
if (constructorAction !== 'ignore' && Object.prototype.hasOwnProperty.call(node, 'constructor')) { // Avoid calling node.hasOwnProperty directly

0 commit comments

Comments
 (0)