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 ca2dc5b commit 0f598dfCopy full SHA for 0f598df
index.js
@@ -63,7 +63,7 @@ function scan (obj, { protoAction = 'error', constructorAction = 'error' } = {})
63
throw new SyntaxError('Object contains forbidden prototype property')
64
}
65
66
- delete node.__proto__ // eslint-disable-line
+ delete node.__proto__ // eslint-disable-line no-proto
67
68
69
if (constructorAction !== 'ignore' && Object.prototype.hasOwnProperty.call(node, 'constructor')) { // Avoid calling node.hasOwnProperty directly
0 commit comments