Skip to content

Commit

Permalink
build: replace tslint directive with eslint equivalent
Browse files Browse the repository at this point in the history
  • Loading branch information
Planeshifter committed Nov 12, 2023
1 parent 2059c81 commit 2dba7d6
Show file tree
Hide file tree
Showing 25 changed files with 25 additions and 25 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import RandomStream = require( './index' );
new RandomStream( 2.0, 5.0, {} ); // $ExpectType RandomStream
new RandomStream( 2.0, 5.0, { 'iter': 10 } ); // $ExpectType RandomStream

// tslint:enable: no-unused-expression
/* eslint-enable @typescript-eslint/no-unused-expressions */
}

// The constructor is callable...
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import RandomStream = require( './index' );
new RandomStream( 2.0, 5.0, {} ); // $ExpectType RandomStream
new RandomStream( 2.0, 5.0, { 'iter': 10 } ); // $ExpectType RandomStream

// tslint:enable: no-unused-expression
/* eslint-enable @typescript-eslint/no-unused-expressions */
}

// The constructor is callable...
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import RandomStream = require( './index' );
new RandomStream( 2.0, 5.0, {} ); // $ExpectType RandomStream
new RandomStream( 2.0, 5.0, { 'iter': 10 } ); // $ExpectType RandomStream

// tslint:enable: no-unused-expression
/* eslint-enable @typescript-eslint/no-unused-expressions */
}

// The constructor is callable...
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import RandomStream = require( './index' );
new RandomStream( 20, 0.3, {} ); // $ExpectType RandomStream
new RandomStream( 20, 0.3, { 'iter': 10 } ); // $ExpectType RandomStream

// tslint:enable: no-unused-expression
/* eslint-enable @typescript-eslint/no-unused-expressions */
}

// The constructor is callable...
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import RandomStream = require( './index' );
new RandomStream( 2.0, 5.0, {} ); // $ExpectType RandomStream
new RandomStream( 2.0, 5.0, { 'iter': 10 } ); // $ExpectType RandomStream

// tslint:enable: no-unused-expression
/* eslint-enable @typescript-eslint/no-unused-expressions */
}

// The constructor is callable...
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import RandomStream = require( './index' );
new RandomStream( 2.0, 5.0, {} ); // $ExpectType RandomStream
new RandomStream( 2.0, 5.0, { 'iter': 10 } ); // $ExpectType RandomStream

// tslint:enable: no-unused-expression
/* eslint-enable @typescript-eslint/no-unused-expressions */
}

// The constructor is callable...
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import RandomStream = require( './index' );
new RandomStream( 2, 5, {} ); // $ExpectType RandomStream
new RandomStream( 2, 5, { 'iter': 10 } ); // $ExpectType RandomStream

// tslint:enable: no-unused-expression
/* eslint-enable @typescript-eslint/no-unused-expressions */
}

// The constructor is callable...
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import RandomStream = require( './index' );
new RandomStream( 2, 5.0, {} ); // $ExpectType RandomStream
new RandomStream( 2, 5.0, { 'iter': 10 } ); // $ExpectType RandomStream

// tslint:enable: no-unused-expression
/* eslint-enable @typescript-eslint/no-unused-expressions */
}

// The constructor is callable...
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import RandomStream = require( './index' );
new RandomStream( 2.0, 5.0, {} ); // $ExpectType RandomStream
new RandomStream( 2.0, 5.0, { 'iter': 10 } ); // $ExpectType RandomStream

// tslint:enable: no-unused-expression
/* eslint-enable @typescript-eslint/no-unused-expressions */
}

// The constructor is callable...
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import RandomStream = require( './index' );
new RandomStream( 2.0, 5.0, 3.0, {} ); // $ExpectType RandomStream
new RandomStream( 2.0, 5.0, 3.0, { 'iter': 10 } ); // $ExpectType RandomStream

// tslint:enable: no-unused-expression
/* eslint-enable @typescript-eslint/no-unused-expressions */
}

// The constructor is callable...
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import RandomStream = require( './index' );
new RandomStream( 2.0, 5.0, {} ); // $ExpectType RandomStream
new RandomStream( 2.0, 5.0, { 'iter': 10 } ); // $ExpectType RandomStream

// tslint:enable: no-unused-expression
/* eslint-enable @typescript-eslint/no-unused-expressions */
}

// The constructor is callable...
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import RandomStream = require( './index' );
new RandomStream( 2.0, 5.0, {} ); // $ExpectType RandomStream
new RandomStream( 2.0, 5.0, { 'iter': 10 } ); // $ExpectType RandomStream

// tslint:enable: no-unused-expression
/* eslint-enable @typescript-eslint/no-unused-expressions */
}

// The constructor is callable...
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import RandomStream = require( './index' );
new RandomStream( 20, 10, 7, {} ); // $ExpectType RandomStream
new RandomStream( 20, 10, 7, { 'iter': 10 } ); // $ExpectType RandomStream

// tslint:enable: no-unused-expression
/* eslint-enable @typescript-eslint/no-unused-expressions */
}

// The constructor is callable...
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import RandomStream = require( './index' );
new RandomStream( 2.0, 5.0, {} ); // $ExpectType RandomStream
new RandomStream( 2.0, 5.0, { 'iter': 10 } ); // $ExpectType RandomStream

// tslint:enable: no-unused-expression
/* eslint-enable @typescript-eslint/no-unused-expressions */
}

// The constructor is callable...
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import RandomStream = require( './index' );
new RandomStream( 2.0, 5.0, {} ); // $ExpectType RandomStream
new RandomStream( 2.0, 5.0, { 'iter': 10 } ); // $ExpectType RandomStream

// tslint:enable: no-unused-expression
/* eslint-enable @typescript-eslint/no-unused-expressions */
}

// The constructor is callable...
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import RandomStream = require( './index' );
new RandomStream( 2.0, 5.0, {} ); // $ExpectType RandomStream
new RandomStream( 2.0, 5.0, { 'iter': 10 } ); // $ExpectType RandomStream

// tslint:enable: no-unused-expression
/* eslint-enable @typescript-eslint/no-unused-expressions */
}

// The constructor is callable...
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import RandomStream = require( './index' );
new RandomStream( 2.0, 5.0, {} ); // $ExpectType RandomStream
new RandomStream( 2.0, 5.0, { 'iter': 10 } ); // $ExpectType RandomStream

// tslint:enable: no-unused-expression
/* eslint-enable @typescript-eslint/no-unused-expressions */
}

// The constructor is callable...
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import RandomStream = require( './index' );
new RandomStream( 2.0, 5.0, {} ); // $ExpectType RandomStream
new RandomStream( 2.0, 5.0, { 'iter': 10 } ); // $ExpectType RandomStream

// tslint:enable: no-unused-expression
/* eslint-enable @typescript-eslint/no-unused-expressions */
}

// The constructor is callable...
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import RandomStream = require( './index' );
new RandomStream( 2.0, 5.0, {} ); // $ExpectType RandomStream
new RandomStream( 2.0, 5.0, { 'iter': 10 } ); // $ExpectType RandomStream

// tslint:enable: no-unused-expression
/* eslint-enable @typescript-eslint/no-unused-expressions */
}

// The constructor is callable...
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import RandomStream = require( './index' );
new RandomStream( 20.0, 0.3, {} ); // $ExpectType RandomStream
new RandomStream( 20.0, 0.3, { 'iter': 10 } ); // $ExpectType RandomStream

// tslint:enable: no-unused-expression
/* eslint-enable @typescript-eslint/no-unused-expressions */
}

// The constructor is callable...
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import RandomStream = require( './index' );
new RandomStream( 2.0, 5.0, {} ); // $ExpectType RandomStream
new RandomStream( 2.0, 5.0, { 'iter': 10 } ); // $ExpectType RandomStream

// tslint:enable: no-unused-expression
/* eslint-enable @typescript-eslint/no-unused-expressions */
}

// The constructor is callable...
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import RandomStream = require( './index' );
new RandomStream( 2.0, 5.0, {} ); // $ExpectType RandomStream
new RandomStream( 2.0, 5.0, { 'iter': 10 } ); // $ExpectType RandomStream

// tslint:enable: no-unused-expression
/* eslint-enable @typescript-eslint/no-unused-expressions */
}

// The constructor is callable...
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import RandomStream = require( './index' );
new RandomStream( 2.0, 5.0, 4.0, {} ); // $ExpectType RandomStream
new RandomStream( 2.0, 5.0, 4.0, { 'iter': 10 } ); // $ExpectType RandomStream

// tslint:enable: no-unused-expression
/* eslint-enable @typescript-eslint/no-unused-expressions */
}

// The constructor is callable...
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import RandomStream = require( './index' );
new RandomStream( 2.0, 5.0, {} ); // $ExpectType RandomStream
new RandomStream( 2.0, 5.0, { 'iter': 10 } ); // $ExpectType RandomStream

// tslint:enable: no-unused-expression
/* eslint-enable @typescript-eslint/no-unused-expressions */
}

// The constructor is callable...
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import RandomStream = require( './index' );
new RandomStream( 2.0, 5.0, {} ); // $ExpectType RandomStream
new RandomStream( 2.0, 5.0, { 'iter': 10 } ); // $ExpectType RandomStream

// tslint:enable: no-unused-expression
/* eslint-enable @typescript-eslint/no-unused-expressions */
}

// The constructor is callable...
Expand Down

0 comments on commit 2dba7d6

Please sign in to comment.