File tree Expand file tree Collapse file tree 2 files changed +1
-1
lines changed
test/js-native-api/test_object Expand file tree Collapse file tree 2 files changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -297,7 +297,6 @@ module.exports = {
297297 // ESLint recommended rules that we disable
298298 'no-empty' : 'off' ,
299299 'no-inner-declarations' : 'off' ,
300- 'no-prototype-builtins' : 'off' ,
301300
302301 // JSDoc recommended rules that we disable
303302 'jsdoc/require-jsdoc' : 'off' ,
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ const expectedForProperty = {
1414assert . deepStrictEqual ( testNull . setProperty ( ) , expectedForProperty ) ;
1515assert . deepStrictEqual ( testNull . getProperty ( ) , expectedForProperty ) ;
1616assert . deepStrictEqual ( testNull . hasProperty ( ) , expectedForProperty ) ;
17+ // eslint-disable-next-line no-prototype-builtins
1718assert . deepStrictEqual ( testNull . hasOwnProperty ( ) , expectedForProperty ) ;
1819// It's OK not to want the result of a deletion.
1920assert . deepStrictEqual ( testNull . deleteProperty ( ) ,
You can’t perform that action at this time.
0 commit comments