PrevPrevious commit
Next Next commit
chore: disable lint rule
---
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: na
  - task: lint_javascript_tests
    status: passed
  - 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
---
  • Loading branch information
@anandkaranubc
anandkaranubc committedMay 19, 2025
commit e144ecee87ab3ff5b1621ddc87bef9cae5edc8d1
Original file line numberDiff line numberDiff line change
Expand Up@@ -144,6 +144,8 @@ tape( 'the function returns the minimum and maximum values', function test( t )
t.strictEqual( v[ 1 ], float64ToFloat32( 4.2 ), 'returns expected value' );

out = new Float32Array( 2 );

// eslint-disable-next-line max-len
v = minmaxf( -float64ToFloat32( 4.2 ), float64ToFloat32( 3.14 ), out, 1, 0 );
t.strictEqual( v, out, 'returns output array' );
t.strictEqual( v[ 0 ], -float64ToFloat32( 4.2 ), 'returns expected value' );
Expand DownExpand Up@@ -182,6 +184,8 @@ tape( 'the function supports providing an output object (typed array)', function
t.strictEqual( v[ 1 ], float64ToFloat32( 4.2 ), 'returns expected value' );

out = new Float32Array( 2 );

// eslint-disable-next-line max-len
v = minmaxf( -float64ToFloat32( 4.2 ), float64ToFloat32( 3.14 ), out, 1, 0 );
t.strictEqual( v, out, 'returns output array' );
t.strictEqual( v[ 0 ], -float64ToFloat32( 4.2 ), 'returns expected value' );
Expand All@@ -195,6 +199,8 @@ tape( 'the function supports specifying a stride', function test( t ) {
var val;

out = new Float32Array( 4 );

// eslint-disable-next-line max-len
val = minmaxf( -float64ToFloat32( 4.2 ), float64ToFloat32( 3.14 ), out, 2, 0 );

t.strictEqual( val, out, 'returns output array' );
Expand All@@ -211,6 +217,8 @@ tape( 'the function supports specifying an offset', function test( t ) {
var val;

out = new Float32Array( 4 );

// eslint-disable-next-line max-len
val = minmaxf( -float64ToFloat32( 4.2 ), float64ToFloat32( 3.14 ), out, 2, 1 );

t.strictEqual( val, out, 'returns output array' );
Expand Down
Loading