From 1c7e984591e8d833a85d2b8257c14d114e0a61db Mon Sep 17 00:00:00 2001 From: ditsu <170345142+ditsus@users.noreply.github.com> Date: Fri, 28 Feb 2025 23:11:03 -0500 Subject: [PATCH 1/6] chore: fix EditorConfig lint errors --- type: pre_push_report description: Results of running various checks prior to pushing changes. report: - task: run_javascript_examples status: na - task: run_c_examples status: na - task: run_cpp_examples status: na - task: run_javascript_readme_examples status: na - task: run_c_benchmarks status: na - task: run_cpp_benchmarks status: na - task: run_fortran_benchmarks status: na - task: run_javascript_benchmarks status: na - task: run_julia_benchmarks status: na - task: run_python_benchmarks status: na - task: run_r_benchmarks status: na - task: run_javascript_tests status: na --- --- .../rules/no-nested-require/examples/index.js | 26 +-- .../math/base/special/rsqrt/manifest.json | 152 +++++++++--------- .../ndarray/base/strides2offset/manifest.json | 72 ++++----- lint_editorconfig_errors.txt | 3 + 4 files changed, 128 insertions(+), 125 deletions(-) create mode 100644 lint_editorconfig_errors.txt diff --git a/lib/node_modules/@stdlib/_tools/eslint/rules/no-nested-require/examples/index.js b/lib/node_modules/@stdlib/_tools/eslint/rules/no-nested-require/examples/index.js index ade5b212640d..3d4c1cdf1a71 100644 --- a/lib/node_modules/@stdlib/_tools/eslint/rules/no-nested-require/examples/index.js +++ b/lib/node_modules/@stdlib/_tools/eslint/rules/no-nested-require/examples/index.js @@ -36,17 +36,17 @@ result = linter.verify( code, { }); console.log( result ); /* => - [ - { - 'ruleId': 'no-nested-require', - 'severity': 2, - 'message': 'do not use nested property access for require() expressions', - 'line': 2, - 'column': 15, - 'nodeType': 'CallExpression', - 'source': 'var special = require( \'@stdlib/math\' ).base.special;', - 'endLine': 2, - 'endColumn': 29 - } - ] + [ + { + 'ruleId': 'no-nested-require', + 'severity': 2, + 'message': 'do not use nested property access for require() expressions', + 'line': 2, + 'column': 15, + 'nodeType': 'CallExpression', + 'source': 'var special = require( \'@stdlib/math\' ).base.special;', + 'endLine': 2, + 'endColumn': 29 + } +] */ diff --git a/lib/node_modules/@stdlib/math/base/special/rsqrt/manifest.json b/lib/node_modules/@stdlib/math/base/special/rsqrt/manifest.json index 49bab5adff73..c93d286ef2da 100644 --- a/lib/node_modules/@stdlib/math/base/special/rsqrt/manifest.json +++ b/lib/node_modules/@stdlib/math/base/special/rsqrt/manifest.json @@ -1,78 +1,78 @@ { - "options": { - "task": "build" - }, - "fields": [ - { - "field": "src", - "resolve": true, - "relative": true - }, - { - "field": "include", - "resolve": true, - "relative": true - }, - { - "field": "libraries", - "resolve": false, - "relative": false - }, - { - "field": "libpath", - "resolve": true, - "relative": false - } - ], - "confs": [ - { - "task": "build", - "src": [ - "./src/rsqrt.c" - ], - "include": [ - "./include" - ], - "libraries": [ - "-lm" - ], - "libpath": [], - "dependencies": [ - "@stdlib/math/base/napi/unary", - "@stdlib/math/base/special/sqrt" - ] - }, - { - "task": "benchmark", - "src": [ - "./src/rsqrt.c" - ], - "include": [ - "./include" - ], - "libraries": [ - "-lm" - ], - "libpath": [], - "dependencies": [ - "@stdlib/math/base/special/sqrt" - ] - }, - { - "task": "examples", - "src": [ - "./src/rsqrt.c" - ], - "include": [ - "./include" - ], - "libraries": [ - "-lm" - ], - "libpath": [], - "dependencies": [ - "@stdlib/math/base/special/sqrt" - ] - } - ] + "options": { + "task": "build" + }, + "fields": [ + { + "field": "src", + "resolve": true, + "relative": true + }, + { + "field": "include", + "resolve": true, + "relative": true + }, + { + "field": "libraries", + "resolve": false, + "relative": false + }, + { + "field": "libpath", + "resolve": true, + "relative": false + } + ], + "confs": [ + { + "task": "build", + "src": [ + "./src/rsqrt.c" + ], + "include": [ + "./include" + ], + "libraries": [ + "-lm" + ], + "libpath": [], + "dependencies": [ + "@stdlib/math/base/napi/unary", + "@stdlib/math/base/special/sqrt" + ] + }, + { + "task": "benchmark", + "src": [ + "./src/rsqrt.c" + ], + "include": [ + "./include" + ], + "libraries": [ + "-lm" + ], + "libpath": [], + "dependencies": [ + "@stdlib/math/base/special/sqrt" + ] + }, + { + "task": "examples", + "src": [ + "./src/rsqrt.c" + ], + "include": [ + "./include" + ], + "libraries": [ + "-lm" + ], + "libpath": [], + "dependencies": [ + "@stdlib/math/base/special/sqrt" + ] + } + ] } diff --git a/lib/node_modules/@stdlib/ndarray/base/strides2offset/manifest.json b/lib/node_modules/@stdlib/ndarray/base/strides2offset/manifest.json index 890a937a3dc0..00fc84840372 100644 --- a/lib/node_modules/@stdlib/ndarray/base/strides2offset/manifest.json +++ b/lib/node_modules/@stdlib/ndarray/base/strides2offset/manifest.json @@ -1,38 +1,38 @@ { - "options": {}, - "fields": [ - { - "field": "src", - "resolve": true, - "relative": true - }, - { - "field": "include", - "resolve": true, - "relative": true - }, - { - "field": "libraries", - "resolve": false, - "relative": false - }, - { - "field": "libpath", - "resolve": true, - "relative": false - } - ], - "confs": [ - { - "src": [ - "./src/main.c" - ], - "include": [ - "./include" - ], - "libraries": [], - "libpath": [], - "dependencies": [] - } - ] + "options": {}, + "fields": [ + { + "field": "src", + "resolve": true, + "relative": true + }, + { + "field": "include", + "resolve": true, + "relative": true + }, + { + "field": "libraries", + "resolve": false, + "relative": false + }, + { + "field": "libpath", + "resolve": true, + "relative": false + } + ], + "confs": [ + { + "src": [ + "./src/main.c" + ], + "include": [ + "./include" + ], + "libraries": [], + "libpath": [], + "dependencies": [] + } + ] } diff --git a/lint_editorconfig_errors.txt b/lint_editorconfig_errors.txt new file mode 100644 index 000000000000..11ca322a67aa --- /dev/null +++ b/lint_editorconfig_errors.txt @@ -0,0 +1,3 @@ +Linting files for basic formatting errors... +Success. No detected EditorConfig lint errors. + From 6c0cbfc5bfba54e9c9531d6d660e276f2801adfe Mon Sep 17 00:00:00 2001 From: ditsu <170345142+ditsus@users.noreply.github.com> Date: Sat, 1 Mar 2025 00:30:59 -0500 Subject: [PATCH 2/6] chore: fix EditorConfig lint errors --- 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: na - task: lint_typescript_tests status: na - task: lint_license_headers status: passed --- --- .../github/user-details/lib/defaults.json | 22 +++--- .../@stdlib/error/reviver/examples/index.js | 12 +-- .../strided/napi/smskmap/manifest.json | 76 +++++++++---------- 3 files changed, 55 insertions(+), 55 deletions(-) diff --git a/lib/node_modules/@stdlib/_tools/github/user-details/lib/defaults.json b/lib/node_modules/@stdlib/_tools/github/user-details/lib/defaults.json index f700220f53ed..d6b314ebb390 100644 --- a/lib/node_modules/@stdlib/_tools/github/user-details/lib/defaults.json +++ b/lib/node_modules/@stdlib/_tools/github/user-details/lib/defaults.json @@ -1,13 +1,13 @@ { - "usernames": [], - "protocol": "https", - "hostname": "api.github.com", - "port": 443, - "pathname": "/", - "page": 1, - "last_page": 1, - "per_page": 1, - "method": "GET", - "useragent": "https://github.com/stdlib-js/stdlib/@stdlib/_tools/github/user-details", - "accept": "application/vnd.github.v3+json" + "usernames": [], + "protocol": "https", + "hostname": "api.github.com", + "port": 443, + "pathname": "/", + "page": 1, + "last_page": 1, + "per_page": 1, + "method": "GET", + "useragent": "https://github.com/stdlib-js/stdlib/@stdlib/_tools/github/user-details", + "accept": "application/vnd.github.v3+json" } diff --git a/lib/node_modules/@stdlib/error/reviver/examples/index.js b/lib/node_modules/@stdlib/error/reviver/examples/index.js index 1cde7242a668..d043db03c929 100644 --- a/lib/node_modules/@stdlib/error/reviver/examples/index.js +++ b/lib/node_modules/@stdlib/error/reviver/examples/index.js @@ -26,12 +26,12 @@ var err1 = new SyntaxError( 'bad syntax' ); var json = err2json( err1 ); /* e.g., returns - { - 'type': 'SyntaxError', - 'name': 'SyntaxError', - 'message': 'bad syntax', - 'stack': '...' - } + { + 'type': 'SyntaxError', + 'name': 'SyntaxError', + 'message': 'bad syntax', + 'stack': '...' + } */ var str = JSON.stringify( json ); diff --git a/lib/node_modules/@stdlib/strided/napi/smskmap/manifest.json b/lib/node_modules/@stdlib/strided/napi/smskmap/manifest.json index d6ed4e3732ad..92f03b6e820c 100644 --- a/lib/node_modules/@stdlib/strided/napi/smskmap/manifest.json +++ b/lib/node_modules/@stdlib/strided/napi/smskmap/manifest.json @@ -1,40 +1,40 @@ { - "options": {}, - "fields": [ - { - "field": "src", - "resolve": true, - "relative": true - }, - { - "field": "include", - "resolve": true, - "relative": true - }, - { - "field": "libraries", - "resolve": false, - "relative": false - }, - { - "field": "libpath", - "resolve": true, - "relative": false - } - ], - "confs": [ - { - "src": [ - "./src/main.c" - ], - "include": [ - "./include" - ], - "libraries": [], - "libpath": [], - "dependencies": [ - "@stdlib/strided/base/smskmap" - ] - } - ] + "options": {}, + "fields": [ + { + "field": "src", + "resolve": true, + "relative": true + }, + { + "field": "include", + "resolve": true, + "relative": true + }, + { + "field": "libraries", + "resolve": false, + "relative": false + }, + { + "field": "libpath", + "resolve": true, + "relative": false + } + ], + "confs": [ + { + "src": [ + "./src/main.c" + ], + "include": [ + "./include" + ], + "libraries": [], + "libpath": [], + "dependencies": [ + "@stdlib/strided/base/smskmap" + ] + } + ] } From c53e4c25a913904248727344d134b0e0bd0c9af1 Mon Sep 17 00:00:00 2001 From: Athan Date: Fri, 28 Feb 2025 22:47:05 -0800 Subject: [PATCH 3/6] fix: delete stray file Signed-off-by: Athan --- lint_editorconfig_errors.txt | 3 --- 1 file changed, 3 deletions(-) delete mode 100644 lint_editorconfig_errors.txt diff --git a/lint_editorconfig_errors.txt b/lint_editorconfig_errors.txt deleted file mode 100644 index 11ca322a67aa..000000000000 --- a/lint_editorconfig_errors.txt +++ /dev/null @@ -1,3 +0,0 @@ -Linting files for basic formatting errors... -Success. No detected EditorConfig lint errors. - From c31edce547e67778a945925af864bd2ebd490035 Mon Sep 17 00:00:00 2001 From: ditsus <170345142+ditsus@users.noreply.github.com> Date: Sat, 1 Mar 2025 13:51:23 -0500 Subject: [PATCH 4/6] chore: fix EditorConfig linting errors --- .../strided/napi/smskmap/manifest.json | 76 +++++++++---------- 1 file changed, 38 insertions(+), 38 deletions(-) diff --git a/lib/node_modules/@stdlib/strided/napi/smskmap/manifest.json b/lib/node_modules/@stdlib/strided/napi/smskmap/manifest.json index 92f03b6e820c..2f454f0e6046 100644 --- a/lib/node_modules/@stdlib/strided/napi/smskmap/manifest.json +++ b/lib/node_modules/@stdlib/strided/napi/smskmap/manifest.json @@ -1,40 +1,40 @@ { - "options": {}, - "fields": [ - { - "field": "src", - "resolve": true, - "relative": true - }, - { - "field": "include", - "resolve": true, - "relative": true - }, - { - "field": "libraries", - "resolve": false, - "relative": false - }, - { - "field": "libpath", - "resolve": true, - "relative": false - } - ], - "confs": [ - { - "src": [ - "./src/main.c" - ], - "include": [ - "./include" - ], - "libraries": [], - "libpath": [], - "dependencies": [ - "@stdlib/strided/base/smskmap" - ] - } - ] + "options": {}, + "fields": [ + { + "field": "src", + "resolve": true, + "relative": true + }, + { + "field": "include", + "resolve": true, + "relative": true + }, + { + "field": "libraries", + "resolve": false, + "relative": false + }, + { + "field": "libpath", + "resolve": true, + "relative": false + } + ], + "confs": [ + { + "src": [ + "./src/main.c" + ], + "include": [ + "./include" + ], + "libraries": [], + "libpath": [], + "dependencies": [ + "@stdlib/strided/base/smskmap" + ] + } + ] } From 118e9ea76bf52a35fa06ee22ce9e59666f756c7f Mon Sep 17 00:00:00 2001 From: ditsus <170345142+ditsus@users.noreply.github.com> Date: Sat, 1 Mar 2025 13:52:12 -0500 Subject: [PATCH 5/6] chore: fix EditorConfig linting errors --- .../github/user-details/lib/defaults.json | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/lib/node_modules/@stdlib/_tools/github/user-details/lib/defaults.json b/lib/node_modules/@stdlib/_tools/github/user-details/lib/defaults.json index d6b314ebb390..5ae488116615 100644 --- a/lib/node_modules/@stdlib/_tools/github/user-details/lib/defaults.json +++ b/lib/node_modules/@stdlib/_tools/github/user-details/lib/defaults.json @@ -1,13 +1,13 @@ { - "usernames": [], - "protocol": "https", - "hostname": "api.github.com", - "port": 443, - "pathname": "/", - "page": 1, - "last_page": 1, - "per_page": 1, - "method": "GET", - "useragent": "https://github.com/stdlib-js/stdlib/@stdlib/_tools/github/user-details", - "accept": "application/vnd.github.v3+json" + "usernames": [], + "protocol": "https", + "hostname": "api.github.com", + "port": 443, + "pathname": "/", + "page": 1, + "last_page": 1, + "per_page": 1, + "method": "GET", + "useragent": "https://github.com/stdlib-js/stdlib/@stdlib/_tools/github/user-details", + "accept": "application/vnd.github.v3+json" } From 055cfc45151f83f8c5a451d2b8791eba9f2077cd Mon Sep 17 00:00:00 2001 From: Philipp Burckhardt Date: Mon, 3 Mar 2025 19:07:20 -0500 Subject: [PATCH 6/6] chore: apply suggestion from code review Co-authored-by: Athan Signed-off-by: Philipp Burckhardt --- .../_tools/eslint/rules/no-nested-require/examples/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/_tools/eslint/rules/no-nested-require/examples/index.js b/lib/node_modules/@stdlib/_tools/eslint/rules/no-nested-require/examples/index.js index 3d4c1cdf1a71..2de0386c21fd 100644 --- a/lib/node_modules/@stdlib/_tools/eslint/rules/no-nested-require/examples/index.js +++ b/lib/node_modules/@stdlib/_tools/eslint/rules/no-nested-require/examples/index.js @@ -48,5 +48,5 @@ console.log( result ); 'endLine': 2, 'endColumn': 29 } -] + ] */