From 0286482575db6acf1cf72457787e63e930c4d257 Mon Sep 17 00:00:00 2001 From: Vipeen Date: Sat, 21 Feb 2026 08:30:02 +0530 Subject: [PATCH 1/2] chore: fix JavaScript lint errors (issue #10400) --- .../@stdlib/assert/has-property/examples/index.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/node_modules/@stdlib/assert/has-property/examples/index.js b/lib/node_modules/@stdlib/assert/has-property/examples/index.js index 131d9edbddf9..32bad37885db 100644 --- a/lib/node_modules/@stdlib/assert/has-property/examples/index.js +++ b/lib/node_modules/@stdlib/assert/has-property/examples/index.js @@ -22,7 +22,7 @@ var hasProp = require( './../lib' ); -var bool = hasProp( { 'a': 'b' }, 'a' ); +var bool = hasProp({ 'a': 'b' }, 'a' ); console.log( bool ); // => true @@ -30,11 +30,11 @@ bool = hasProp( {}, 'hasOwnProperty' ); console.log( bool ); // => true -bool = hasProp( { 'a': 'b' }, 'c' ); +bool = hasProp({ 'a': 'b' }, 'c' ); console.log( bool ); // => false -bool = hasProp( { 'a': 'b' }, null ); +bool = hasProp({ 'a': 'b' }, null ); console.log( bool ); // => false @@ -46,10 +46,10 @@ bool = hasProp( void 0, 'a' ); console.log( bool ); // => false -bool = hasProp( { 'null': false }, null ); +bool = hasProp({ 'null': false }, null ); console.log( bool ); // => true -bool = hasProp( { '[object Object]': false }, {} ); +bool = hasProp({ '[object Object]': false }, {} ); console.log( bool ); // => true From 2b9fdf2065f785aafe56e7dc090b0e431c48fdf8 Mon Sep 17 00:00:00 2001 From: Athan Date: Sat, 28 Feb 2026 02:08:09 -0800 Subject: [PATCH 2/2] style: disable lint rule Signed-off-by: Athan --- .../@stdlib/assert/has-property/examples/index.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/node_modules/@stdlib/assert/has-property/examples/index.js b/lib/node_modules/@stdlib/assert/has-property/examples/index.js index 32bad37885db..4978a2822bc2 100644 --- a/lib/node_modules/@stdlib/assert/has-property/examples/index.js +++ b/lib/node_modules/@stdlib/assert/has-property/examples/index.js @@ -16,13 +16,13 @@ * limitations under the License. */ -/* eslint-disable object-curly-newline */ +/* eslint-disable object-curly-newline, stdlib/eol-open-bracket-spacing */ 'use strict'; var hasProp = require( './../lib' ); -var bool = hasProp({ 'a': 'b' }, 'a' ); +var bool = hasProp( { 'a': 'b' }, 'a' ); console.log( bool ); // => true @@ -30,11 +30,11 @@ bool = hasProp( {}, 'hasOwnProperty' ); console.log( bool ); // => true -bool = hasProp({ 'a': 'b' }, 'c' ); +bool = hasProp( { 'a': 'b' }, 'c' ); console.log( bool ); // => false -bool = hasProp({ 'a': 'b' }, null ); +bool = hasProp( { 'a': 'b' }, null ); console.log( bool ); // => false @@ -46,10 +46,10 @@ bool = hasProp( void 0, 'a' ); console.log( bool ); // => false -bool = hasProp({ 'null': false }, null ); +bool = hasProp( { 'null': false }, null ); console.log( bool ); // => true -bool = hasProp({ '[object Object]': false }, {} ); +bool = hasProp( { '[object Object]': false }, {} ); console.log( bool ); // => true