From 50292daa54afa18656a8cfab21fd69262923fa29 Mon Sep 17 00:00:00 2001 From: JavaTypedScript Date: Tue, 9 Dec 2025 02:57:41 +0000 Subject: [PATCH 1/2] chore: fix JavaScript lint errors #8894 --- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: na - task: lint_package_json status: na - task: lint_repl_help status: na - task: lint_javascript_src status: na - task: lint_javascript_cli status: na - task: lint_javascript_examples status: passed - task: lint_javascript_tests status: na - task: lint_javascript_benchmarks status: na - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: na - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: passed - task: lint_typescript_tests status: na - task: lint_license_headers status: passed --- --- .../@stdlib/assert/is-data-property-in/examples/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/node_modules/@stdlib/assert/is-data-property-in/examples/index.js b/lib/node_modules/@stdlib/assert/is-data-property-in/examples/index.js index 21e39e825a6a..bd40751496eb 100644 --- a/lib/node_modules/@stdlib/assert/is-data-property-in/examples/index.js +++ b/lib/node_modules/@stdlib/assert/is-data-property-in/examples/index.js @@ -26,7 +26,7 @@ var bool = isDataPropertyIn( [ 'a' ], 'length' ); console.log( bool ); // => true -bool = isDataPropertyIn( { 'a': 'b' }, 'a' ); +bool = isDataPropertyIn({ 'a': 'b' }, 'a' ); console.log( bool ); // => true @@ -34,11 +34,11 @@ bool = isDataPropertyIn( [ 'a' ], 0 ); console.log( bool ); // => true -bool = isDataPropertyIn( { 'null': false }, null ); +bool = isDataPropertyIn({ 'null': false }, null ); console.log( bool ); // => true -bool = isDataPropertyIn( { '[object Object]': false }, {} ); +bool = isDataPropertyIn({ '[object Object]': false }, {} ); console.log( bool ); // => true From 067d7225a6ca9a4197bc8c63e5245f6e4c34c8d9 Mon Sep 17 00:00:00 2001 From: Athan Date: Mon, 8 Dec 2025 19:09:27 -0800 Subject: [PATCH 2/2] style: disable lint rule Signed-off-by: Athan --- .../@stdlib/assert/is-data-property-in/examples/index.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/node_modules/@stdlib/assert/is-data-property-in/examples/index.js b/lib/node_modules/@stdlib/assert/is-data-property-in/examples/index.js index bd40751496eb..4aeb59c449c9 100644 --- a/lib/node_modules/@stdlib/assert/is-data-property-in/examples/index.js +++ b/lib/node_modules/@stdlib/assert/is-data-property-in/examples/index.js @@ -16,7 +16,7 @@ * limitations under the License. */ -/* eslint-disable object-curly-newline */ +/* eslint-disable object-curly-newline, stdlib/eol-open-bracket-spacing */ 'use strict'; @@ -26,7 +26,7 @@ var bool = isDataPropertyIn( [ 'a' ], 'length' ); console.log( bool ); // => true -bool = isDataPropertyIn({ 'a': 'b' }, 'a' ); +bool = isDataPropertyIn( { 'a': 'b' }, 'a' ); console.log( bool ); // => true @@ -34,11 +34,11 @@ bool = isDataPropertyIn( [ 'a' ], 0 ); console.log( bool ); // => true -bool = isDataPropertyIn({ 'null': false }, null ); +bool = isDataPropertyIn( { 'null': false }, null ); console.log( bool ); // => true -bool = isDataPropertyIn({ '[object Object]': false }, {} ); +bool = isDataPropertyIn( { '[object Object]': false }, {} ); console.log( bool ); // => true