Skip to content

Commit

Permalink
build: remove and replace tslint directives
Browse files Browse the repository at this point in the history
  • Loading branch information
Planeshifter committed Nov 12, 2023
1 parent 23114c6 commit bcb4079
Show file tree
Hide file tree
Showing 10 changed files with 9 additions and 12 deletions.
1 change: 0 additions & 1 deletion lib/node_modules/@stdlib/array/int16/docs/types/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
* limitations under the License.
*/

// tslint:disable: no-construct
/* eslint-disable @typescript-eslint/no-unused-expressions */

import Int16Array = require( './index' );
Expand Down
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/array/pool/docs/types/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*/

/* tslint:disable:no-empty */
/* eslint-disable no-empty */
/* eslint-disable @typescript-eslint/no-unused-expressions */

import typedarraypool = require( './index' );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*/

/* tslint:disable:no-empty */
/* eslint-disable no-empty */

import isClass = require( './index' );

Expand Down
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/bench/harness/docs/types/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*/

/* tslint:disable:no-empty */
/* eslint-disable no-empty */

import bench = require( './index' );

Expand Down
1 change: 0 additions & 1 deletion lib/node_modules/@stdlib/buffer/ctor/docs/types/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
*/

/* eslint-disable @typescript-eslint/no-unused-expressions */
// tslint:disable:deprecation

import Buffer = require( './index' );

Expand Down
1 change: 0 additions & 1 deletion lib/node_modules/@stdlib/iter/flow/docs/types/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ import iterFlow = require( './index' );

// The function returns a fluent iterator...
{
// tslint:disable-next-line variable-name
const FluentIterator = iterFlow( {
'head': iterHead,
'some': iterSome
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*/

/* tslint:disable:max-file-line-count */
/* eslint-disable max-lines */

// TypeScript Version: 4.1

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*/

/* tslint:disable:max-file-line-count */
/* eslint-disable max-lines */

// TypeScript Version: 4.1

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ function strided( arrays: Array<ArrayLike<any>>, shape: Array<number>, strides:
sy = strides[ 1 ];
ix = 0;
iy = 0;
for ( i = 0; i < N; i++ ) { // tslint:disable-line:increment-decrement
for ( i = 0; i < N; i++ ) {
v = clbk.call( thisArg, x[ ix ], i, [ ix, iy ], [ x, y ] );
if ( v !== void 0 ) {
y[ iy ] = fcn( v );
Expand Down Expand Up @@ -158,7 +158,7 @@ function stridedWithOffsets( arrays: Array<ArrayLike<any>>, shape: Array<number>
sy = strides[ 1 ];
ix = offsets[ 0 ];
iy = offsets[ 1 ];
for ( i = 0; i < N; i++ ) { // tslint:disable-line:increment-decrement
for ( i = 0; i < N; i++ ) {
v = clbk.call( thisArg, x[ ix ], i, [ ix, iy ], [ x, y ] );
if ( v !== void 0 ) {
y[ iy ] = fcn( v );
Expand Down
4 changes: 2 additions & 2 deletions lib/node_modules/@stdlib/strided/dispatch/docs/types/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ function strided( arrays: Array<ArrayLike<any>>, shape: Array<number>, strides:
sy = strides[ 1 ];
ix = 0;
iy = 0;
for ( i = 0; i < N; i++ ) { // tslint:disable-line:increment-decrement
for ( i = 0; i < N; i++ ) {
y[ iy ] = fcn( x[ ix ] );
ix += sx;
iy += sy;
Expand Down Expand Up @@ -139,7 +139,7 @@ function stridedWithOffsets( arrays: Array<ArrayLike<any>>, shape: Array<number>
sy = strides[ 1 ];
ix = offsets[ 0 ];
iy = offsets[ 1 ];
for ( i = 0; i < N; i++ ) { // tslint:disable-line:increment-decrement
for ( i = 0; i < N; i++ ) {
y[ iy ] = fcn( x[ ix ] );
ix += sx;
iy += sy;
Expand Down

0 comments on commit bcb4079

Please sign in to comment.