Skip to content

Commit 8fbd70f

Browse files
committed
build: replace tslint directive with eslint equivalent
1 parent 312bed1 commit 8fbd70f

File tree

72 files changed

+71
-73
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+71
-73
lines changed

Diff for: lib/node_modules/@stdlib/array/buffer/docs/types/test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
*/
1818

1919
// tslint:disable: no-construct
20-
// tslint:disable: no-unused-expression
20+
/* eslint-disable @typescript-eslint/no-unused-expressions */
2121

2222
import ArrayBuffer = require( './index' );
2323

Diff for: lib/node_modules/@stdlib/array/dataview/docs/types/test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
*/
1818

1919
// tslint:disable: no-construct
20-
// tslint:disable: no-unused-expression
20+
/* eslint-disable @typescript-eslint/no-unused-expressions */
2121

2222
import ArrayBuffer = require( '@stdlib/array/buffer' );
2323
import DataView = require( './index' );

Diff for: lib/node_modules/@stdlib/array/float32/docs/types/test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
*/
1818

1919
// tslint:disable: no-construct
20-
// tslint:disable: no-unused-expression
20+
/* eslint-disable @typescript-eslint/no-unused-expressions */
2121

2222
import Float32Array = require( './index' );
2323

Diff for: lib/node_modules/@stdlib/array/float64/docs/types/test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
*/
1818

1919
// tslint:disable: no-construct
20-
// tslint:disable: no-unused-expression
20+
/* eslint-disable @typescript-eslint/no-unused-expressions */
2121

2222
import Float64Array = require( './index' );
2323

Diff for: lib/node_modules/@stdlib/array/int16/docs/types/test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
*/
1818

1919
// tslint:disable: no-construct
20-
// tslint:disable: no-unused-expression
20+
/* eslint-disable @typescript-eslint/no-unused-expressions */
2121

2222
import Int16Array = require( './index' );
2323

Diff for: lib/node_modules/@stdlib/array/int32/docs/types/test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
*/
1818

1919
// tslint:disable: no-construct
20-
// tslint:disable: no-unused-expression
20+
/* eslint-disable @typescript-eslint/no-unused-expressions */
2121

2222
import Int32Array = require( './index' );
2323

Diff for: lib/node_modules/@stdlib/array/int8/docs/types/test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
*/
1818

1919
// tslint:disable: no-construct
20-
// tslint:disable: no-unused-expression
20+
/* eslint-disable @typescript-eslint/no-unused-expressions */
2121

2222
import Int8Array = require( './index' );
2323

Diff for: lib/node_modules/@stdlib/array/shared-buffer/docs/types/test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
*/
1818

1919
// tslint:disable: no-construct
20-
// tslint:disable: no-unused-expression
20+
/* eslint-disable @typescript-eslint/no-unused-expressions */
2121
// tslint:disable: no-unsafe-any
2222

2323
import SharedArrayBuffer = require( './index' );

Diff for: lib/node_modules/@stdlib/array/uint16/docs/types/test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
*/
1818

1919
// tslint:disable: no-construct
20-
// tslint:disable: no-unused-expression
20+
/* eslint-disable @typescript-eslint/no-unused-expressions */
2121

2222
import Uint16Array = require( './index' );
2323

Diff for: lib/node_modules/@stdlib/array/uint32/docs/types/test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
*/
1818

1919
// tslint:disable: no-construct
20-
// tslint:disable: no-unused-expression
20+
/* eslint-disable @typescript-eslint/no-unused-expressions */
2121

2222
import Uint32Array = require( './index' );
2323

Diff for: lib/node_modules/@stdlib/array/uint8/docs/types/test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
*/
1818

1919
// tslint:disable: no-construct
20-
// tslint:disable: no-unused-expression
20+
/* eslint-disable @typescript-eslint/no-unused-expressions */
2121

2222
import Uint8Array = require( './index' );
2323

Diff for: lib/node_modules/@stdlib/array/uint8c/docs/types/test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
*/
1818

1919
// tslint:disable: no-construct
20-
// tslint:disable: no-unused-expression
20+
/* eslint-disable @typescript-eslint/no-unused-expressions */
2121

2222
import Uint8ClampedArray = require( './index' );
2323

Diff for: lib/node_modules/@stdlib/bench/docs/types/test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
// tslint:disable: no-unused-expression
19+
/* eslint-disable @typescript-eslint/no-unused-expressions */
2020

2121
import Bench = require( './index' );
2222

Diff for: lib/node_modules/@stdlib/bigint/ctor/docs/types/test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
// tslint:disable: no-unused-expression, no-unsafe-any
19+
/* eslint-disable @typescript-eslint/no-unused-expressions */, no-unsafe-any
2020

2121
import BigInt = require( './index' );
2222

Diff for: lib/node_modules/@stdlib/boolean/ctor/docs/types/test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
*/
1818

1919
// tslint:disable: no-construct
20-
// tslint:disable: no-unused-expression
20+
/* eslint-disable @typescript-eslint/no-unused-expressions */
2121

2222
import Bool = require( './index' );
2323

Diff for: lib/node_modules/@stdlib/function/ctor/docs/types/test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
*/
1818

1919
// tslint:disable: no-construct
20-
// tslint:disable: no-unused-expression
20+
/* eslint-disable @typescript-eslint/no-unused-expressions */
2121

2222
import Fcn = require( './index' );
2323

Diff for: lib/node_modules/@stdlib/number/ctor/docs/types/test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
*/
1818

1919
// tslint:disable: no-construct
20-
// tslint:disable: no-unused-expression
20+
/* eslint-disable @typescript-eslint/no-unused-expressions */
2121

2222
import Number = require( './index' );
2323

Diff for: lib/node_modules/@stdlib/object/ctor/docs/types/test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
*/
1818

1919
// tslint:disable: no-construct
20-
// tslint:disable: no-unused-expression
20+
/* eslint-disable @typescript-eslint/no-unused-expressions */
2121

2222
import Obj = require( './index' );
2323

Diff for: lib/node_modules/@stdlib/proxy/ctor/docs/types/test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
*/
1818

1919
// tslint:disable: no-construct
20-
// tslint:disable: no-unused-expression
20+
/* eslint-disable @typescript-eslint/no-unused-expressions */
2121

2222
import Proxy = require( './index' );
2323

Diff for: lib/node_modules/@stdlib/random/streams/arcsine/docs/types/test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import RandomStream = require( './index' );
2323

2424
// The constructor returns a stream...
2525
{
26-
// tslint:disable: no-unused-expression
26+
/* eslint-disable @typescript-eslint/no-unused-expressions */
2727
new RandomStream( 2.0, 5.0 ); // $ExpectType RandomStream
2828
new RandomStream( 2.0, 5.0, {} ); // $ExpectType RandomStream
2929
new RandomStream( 2.0, 5.0, { 'iter': 10 } ); // $ExpectType RandomStream

Diff for: lib/node_modules/@stdlib/random/streams/beta/docs/types/test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import RandomStream = require( './index' );
2323

2424
// The constructor returns a stream...
2525
{
26-
// tslint:disable: no-unused-expression
26+
/* eslint-disable @typescript-eslint/no-unused-expressions */
2727
new RandomStream( 2.0, 5.0 ); // $ExpectType RandomStream
2828
new RandomStream( 2.0, 5.0, {} ); // $ExpectType RandomStream
2929
new RandomStream( 2.0, 5.0, { 'iter': 10 } ); // $ExpectType RandomStream

Diff for: lib/node_modules/@stdlib/random/streams/betaprime/docs/types/test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import RandomStream = require( './index' );
2323

2424
// The constructor returns a stream...
2525
{
26-
// tslint:disable: no-unused-expression
26+
/* eslint-disable @typescript-eslint/no-unused-expressions */
2727
new RandomStream( 2.0, 5.0 ); // $ExpectType RandomStream
2828
new RandomStream( 2.0, 5.0, {} ); // $ExpectType RandomStream
2929
new RandomStream( 2.0, 5.0, { 'iter': 10 } ); // $ExpectType RandomStream

Diff for: lib/node_modules/@stdlib/random/streams/binomial/docs/types/test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import RandomStream = require( './index' );
2323

2424
// The constructor returns a stream...
2525
{
26-
// tslint:disable: no-unused-expression
26+
/* eslint-disable @typescript-eslint/no-unused-expressions */
2727
new RandomStream( 20, 0.3 ); // $ExpectType RandomStream
2828
new RandomStream( 20, 0.3, {} ); // $ExpectType RandomStream
2929
new RandomStream( 20, 0.3, { 'iter': 10 } ); // $ExpectType RandomStream

Diff for: lib/node_modules/@stdlib/random/streams/box-muller/docs/types/test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
// tslint:disable: no-unused-expression
19+
/* eslint-disable @typescript-eslint/no-unused-expressions */
2020

2121
import RandomStream = require( './index' );
2222

Diff for: lib/node_modules/@stdlib/random/streams/cauchy/docs/types/test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import RandomStream = require( './index' );
2323

2424
// The constructor returns a stream...
2525
{
26-
// tslint:disable: no-unused-expression
26+
/* eslint-disable @typescript-eslint/no-unused-expressions */
2727
new RandomStream( 2.0, 5.0 ); // $ExpectType RandomStream
2828
new RandomStream( 2.0, 5.0, {} ); // $ExpectType RandomStream
2929
new RandomStream( 2.0, 5.0, { 'iter': 10 } ); // $ExpectType RandomStream

Diff for: lib/node_modules/@stdlib/random/streams/cosine/docs/types/test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import RandomStream = require( './index' );
2323

2424
// The constructor returns a stream...
2525
{
26-
// tslint:disable: no-unused-expression
26+
/* eslint-disable @typescript-eslint/no-unused-expressions */
2727
new RandomStream( 2.0, 5.0 ); // $ExpectType RandomStream
2828
new RandomStream( 2.0, 5.0, {} ); // $ExpectType RandomStream
2929
new RandomStream( 2.0, 5.0, { 'iter': 10 } ); // $ExpectType RandomStream

Diff for: lib/node_modules/@stdlib/random/streams/discrete-uniform/docs/types/test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import RandomStream = require( './index' );
2323

2424
// The constructor returns a stream...
2525
{
26-
// tslint:disable: no-unused-expression
26+
/* eslint-disable @typescript-eslint/no-unused-expressions */
2727
new RandomStream( 2, 5 ); // $ExpectType RandomStream
2828
new RandomStream( 2, 5, {} ); // $ExpectType RandomStream
2929
new RandomStream( 2, 5, { 'iter': 10 } ); // $ExpectType RandomStream

Diff for: lib/node_modules/@stdlib/random/streams/erlang/docs/types/test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import RandomStream = require( './index' );
2323

2424
// The constructor returns a stream...
2525
{
26-
// tslint:disable: no-unused-expression
26+
/* eslint-disable @typescript-eslint/no-unused-expressions */
2727
new RandomStream( 2, 5.0 ); // $ExpectType RandomStream
2828
new RandomStream( 2, 5.0, {} ); // $ExpectType RandomStream
2929
new RandomStream( 2, 5.0, { 'iter': 10 } ); // $ExpectType RandomStream

Diff for: lib/node_modules/@stdlib/random/streams/f/docs/types/test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import RandomStream = require( './index' );
2323

2424
// The constructor returns a stream...
2525
{
26-
// tslint:disable: no-unused-expression
26+
/* eslint-disable @typescript-eslint/no-unused-expressions */
2727
new RandomStream( 2.0, 5.0 ); // $ExpectType RandomStream
2828
new RandomStream( 2.0, 5.0, {} ); // $ExpectType RandomStream
2929
new RandomStream( 2.0, 5.0, { 'iter': 10 } ); // $ExpectType RandomStream

Diff for: lib/node_modules/@stdlib/random/streams/frechet/docs/types/test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import RandomStream = require( './index' );
2323

2424
// The constructor returns a stream...
2525
{
26-
// tslint:disable: no-unused-expression
26+
/* eslint-disable @typescript-eslint/no-unused-expressions */
2727
new RandomStream( 2.0, 5.0, 3.0 ); // $ExpectType RandomStream
2828
new RandomStream( 2.0, 5.0, 3.0, {} ); // $ExpectType RandomStream
2929
new RandomStream( 2.0, 5.0, 3.0, { 'iter': 10 } ); // $ExpectType RandomStream

Diff for: lib/node_modules/@stdlib/random/streams/gamma/docs/types/test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import RandomStream = require( './index' );
2323

2424
// The constructor returns a stream...
2525
{
26-
// tslint:disable: no-unused-expression
26+
/* eslint-disable @typescript-eslint/no-unused-expressions */
2727
new RandomStream( 2.0, 5.0 ); // $ExpectType RandomStream
2828
new RandomStream( 2.0, 5.0, {} ); // $ExpectType RandomStream
2929
new RandomStream( 2.0, 5.0, { 'iter': 10 } ); // $ExpectType RandomStream

Diff for: lib/node_modules/@stdlib/random/streams/gumbel/docs/types/test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import RandomStream = require( './index' );
2323

2424
// The constructor returns a stream...
2525
{
26-
// tslint:disable: no-unused-expression
26+
/* eslint-disable @typescript-eslint/no-unused-expressions */
2727
new RandomStream( 2.0, 5.0 ); // $ExpectType RandomStream
2828
new RandomStream( 2.0, 5.0, {} ); // $ExpectType RandomStream
2929
new RandomStream( 2.0, 5.0, { 'iter': 10 } ); // $ExpectType RandomStream

Diff for: lib/node_modules/@stdlib/random/streams/hypergeometric/docs/types/test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import RandomStream = require( './index' );
2323

2424
// The constructor returns a stream...
2525
{
26-
// tslint:disable: no-unused-expression
26+
/* eslint-disable @typescript-eslint/no-unused-expressions */
2727
new RandomStream( 20, 10, 7 ); // $ExpectType RandomStream
2828
new RandomStream( 20, 10, 7, {} ); // $ExpectType RandomStream
2929
new RandomStream( 20, 10, 7, { 'iter': 10 } ); // $ExpectType RandomStream

Diff for: lib/node_modules/@stdlib/random/streams/improved-ziggurat/docs/types/test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
// tslint:disable: no-unused-expression
19+
/* eslint-disable @typescript-eslint/no-unused-expressions */
2020

2121
import RandomStream = require( './index' );
2222

Diff for: lib/node_modules/@stdlib/random/streams/invgamma/docs/types/test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import RandomStream = require( './index' );
2323

2424
// The constructor returns a stream...
2525
{
26-
// tslint:disable: no-unused-expression
26+
/* eslint-disable @typescript-eslint/no-unused-expressions */
2727
new RandomStream( 2.0, 5.0 ); // $ExpectType RandomStream
2828
new RandomStream( 2.0, 5.0, {} ); // $ExpectType RandomStream
2929
new RandomStream( 2.0, 5.0, { 'iter': 10 } ); // $ExpectType RandomStream

Diff for: lib/node_modules/@stdlib/random/streams/kumaraswamy/docs/types/test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import RandomStream = require( './index' );
2323

2424
// The constructor returns a stream...
2525
{
26-
// tslint:disable: no-unused-expression
26+
/* eslint-disable @typescript-eslint/no-unused-expressions */
2727
new RandomStream( 2.0, 5.0 ); // $ExpectType RandomStream
2828
new RandomStream( 2.0, 5.0, {} ); // $ExpectType RandomStream
2929
new RandomStream( 2.0, 5.0, { 'iter': 10 } ); // $ExpectType RandomStream

Diff for: lib/node_modules/@stdlib/random/streams/laplace/docs/types/test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import RandomStream = require( './index' );
2323

2424
// The constructor returns a stream...
2525
{
26-
// tslint:disable: no-unused-expression
26+
/* eslint-disable @typescript-eslint/no-unused-expressions */
2727
new RandomStream( 2.0, 5.0 ); // $ExpectType RandomStream
2828
new RandomStream( 2.0, 5.0, {} ); // $ExpectType RandomStream
2929
new RandomStream( 2.0, 5.0, { 'iter': 10 } ); // $ExpectType RandomStream

Diff for: lib/node_modules/@stdlib/random/streams/levy/docs/types/test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import RandomStream = require( './index' );
2323

2424
// The constructor returns a stream...
2525
{
26-
// tslint:disable: no-unused-expression
26+
/* eslint-disable @typescript-eslint/no-unused-expressions */
2727
new RandomStream( 2.0, 5.0 ); // $ExpectType RandomStream
2828
new RandomStream( 2.0, 5.0, {} ); // $ExpectType RandomStream
2929
new RandomStream( 2.0, 5.0, { 'iter': 10 } ); // $ExpectType RandomStream

Diff for: lib/node_modules/@stdlib/random/streams/logistic/docs/types/test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import RandomStream = require( './index' );
2323

2424
// The constructor returns a stream...
2525
{
26-
// tslint:disable: no-unused-expression
26+
/* eslint-disable @typescript-eslint/no-unused-expressions */
2727
new RandomStream( 2.0, 5.0 ); // $ExpectType RandomStream
2828
new RandomStream( 2.0, 5.0, {} ); // $ExpectType RandomStream
2929
new RandomStream( 2.0, 5.0, { 'iter': 10 } ); // $ExpectType RandomStream

Diff for: lib/node_modules/@stdlib/random/streams/lognormal/docs/types/test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import RandomStream = require( './index' );
2323

2424
// The constructor returns a stream...
2525
{
26-
// tslint:disable: no-unused-expression
26+
/* eslint-disable @typescript-eslint/no-unused-expressions */
2727
new RandomStream( 2.0, 5.0 ); // $ExpectType RandomStream
2828
new RandomStream( 2.0, 5.0, {} ); // $ExpectType RandomStream
2929
new RandomStream( 2.0, 5.0, { 'iter': 10 } ); // $ExpectType RandomStream

Diff for: lib/node_modules/@stdlib/random/streams/minstd-shuffle/docs/types/test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
// tslint:disable: no-unused-expression
19+
/* eslint-disable @typescript-eslint/no-unused-expressions */
2020

2121
import RandomStream = require( './index' );
2222

Diff for: lib/node_modules/@stdlib/random/streams/minstd/docs/types/test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
// tslint:disable: no-unused-expression
19+
/* eslint-disable @typescript-eslint/no-unused-expressions */
2020

2121
import RandomStream = require( './index' );
2222

Diff for: lib/node_modules/@stdlib/random/streams/mt19937/docs/types/test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
// tslint:disable: no-unused-expression
19+
/* eslint-disable @typescript-eslint/no-unused-expressions */
2020

2121
import RandomStream = require( './index' );
2222

Diff for: lib/node_modules/@stdlib/random/streams/negative-binomial/docs/types/test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import RandomStream = require( './index' );
2323

2424
// The constructor returns a stream...
2525
{
26-
// tslint:disable: no-unused-expression
26+
/* eslint-disable @typescript-eslint/no-unused-expressions */
2727
new RandomStream( 20.0, 0.3 ); // $ExpectType RandomStream
2828
new RandomStream( 20.0, 0.3, {} ); // $ExpectType RandomStream
2929
new RandomStream( 20.0, 0.3, { 'iter': 10 } ); // $ExpectType RandomStream

0 commit comments

Comments
 (0)