File tree 2 files changed +1
-1
lines changed
test/js-native-api/test_object
2 files changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -297,7 +297,6 @@ module.exports = {
297
297
// ESLint recommended rules that we disable
298
298
'no-empty' : 'off' ,
299
299
'no-inner-declarations' : 'off' ,
300
- 'no-prototype-builtins' : 'off' ,
301
300
302
301
// JSDoc recommended rules that we disable
303
302
'jsdoc/require-jsdoc' : 'off' ,
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ const expectedForProperty = {
14
14
assert . deepStrictEqual ( testNull . setProperty ( ) , expectedForProperty ) ;
15
15
assert . deepStrictEqual ( testNull . getProperty ( ) , expectedForProperty ) ;
16
16
assert . deepStrictEqual ( testNull . hasProperty ( ) , expectedForProperty ) ;
17
+ // eslint-disable-next-line no-prototype-builtins
17
18
assert . deepStrictEqual ( testNull . hasOwnProperty ( ) , expectedForProperty ) ;
18
19
// It's OK not to want the result of a deletion.
19
20
assert . deepStrictEqual ( testNull . deleteProperty ( ) ,
You can’t perform that action at this time.
0 commit comments