Skip to content

Commit d1ea078

Browse files
committed
build: replace tslint directive with eslint equivalent
1 parent 2dba7d6 commit d1ea078

File tree

6 files changed

+32
-32
lines changed

6 files changed

+32
-32
lines changed

lib/node_modules/@stdlib/array/base/flatten-by/docs/types/index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

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

2121
// TypeScript Version: 4.1
2222

@@ -27,7 +27,7 @@ import { Collection, Array1D, Array2D, Array3D, Array4D, Array5D, Array6D, Array
2727
/**
2828
* One-dimensional array shape.
2929
*/
30-
type Shape1D = [ number ]; // tslint:disable-line:no-single-element-tuple-type
30+
type Shape1D = [ number ];
3131

3232
/**
3333
* Two-dimensional array shape.

lib/node_modules/@stdlib/ml/incr/kmeans/docs/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
/* tslint:disable:unified-signatures */
19+
/* eslint-disable @typescript-eslint/unified-signatures */
2020

2121
// TypeScript Version: 4.1
2222

lib/node_modules/@stdlib/slice/ctor/docs/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

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

2121
// TypeScript Version: 4.1
2222

lib/node_modules/@stdlib/types/index.d.ts

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
/* tslint:disable:max-file-line-count */
2-
31
/*
42
* @license Apache-2.0
53
*
@@ -18,6 +16,8 @@
1816
* limitations under the License.
1917
*/
2018

19+
/* eslint-disable max-lines */
20+
2121
// TypeScript Version: 4.1
2222

2323
/**
@@ -1060,7 +1060,7 @@ declare module '@stdlib/types/ndarray' {
10601060
* }
10611061
* };
10621062
*/
1063-
interface ndarray { // tslint:disable-line:class-name
1063+
interface ndarray {
10641064
/**
10651065
* Size (in bytes) of the array (if known).
10661066
*/
@@ -1188,7 +1188,7 @@ declare module '@stdlib/types/ndarray' {
11881188
* }
11891189
* };
11901190
*/
1191-
interface genericndarray<T> extends ndarray { // tslint:disable-line:class-name
1191+
interface genericndarray<T> extends ndarray {
11921192
/**
11931193
* Size (in bytes) of the array.
11941194
*/
@@ -1262,7 +1262,7 @@ declare module '@stdlib/types/ndarray' {
12621262
* }
12631263
* };
12641264
*/
1265-
interface typedndarray<T> extends ndarray { // tslint:disable-line:class-name
1265+
interface typedndarray<T> extends ndarray {
12661266
/**
12671267
* A reference to the underlying data buffer.
12681268
*/
@@ -1321,7 +1321,7 @@ declare module '@stdlib/types/ndarray' {
13211321
* }
13221322
* };
13231323
*/
1324-
interface floatndarray extends typedndarray<number> { // tslint:disable-line:class-name
1324+
interface floatndarray extends typedndarray<number> {
13251325
/**
13261326
* Size (in bytes) of the array.
13271327
*/
@@ -1383,7 +1383,7 @@ declare module '@stdlib/types/ndarray' {
13831383
* }
13841384
* };
13851385
*/
1386-
interface float64ndarray extends floatndarray { // tslint:disable-line:class-name
1386+
interface float64ndarray extends floatndarray {
13871387
/**
13881388
* Size (in bytes) of each array element.
13891389
*/
@@ -1440,7 +1440,7 @@ declare module '@stdlib/types/ndarray' {
14401440
* }
14411441
* };
14421442
*/
1443-
interface float32ndarray extends floatndarray { // tslint:disable-line:class-name
1443+
interface float32ndarray extends floatndarray {
14441444
/**
14451445
* Size (in bytes) of each array element.
14461446
*/
@@ -1497,7 +1497,7 @@ declare module '@stdlib/types/ndarray' {
14971497
* }
14981498
* };
14991499
*/
1500-
interface integerndarray extends typedndarray<number> { // tslint:disable-line:class-name
1500+
interface integerndarray extends typedndarray<number> {
15011501
/**
15021502
* Size (in bytes) of the array.
15031503
*/
@@ -1559,7 +1559,7 @@ declare module '@stdlib/types/ndarray' {
15591559
* }
15601560
* };
15611561
*/
1562-
interface signedintegerndarray extends typedndarray<number> { // tslint:disable-line:class-name
1562+
interface signedintegerndarray extends typedndarray<number> {
15631563
/**
15641564
* Size (in bytes) of the array.
15651565
*/
@@ -1621,7 +1621,7 @@ declare module '@stdlib/types/ndarray' {
16211621
* }
16221622
* };
16231623
*/
1624-
interface int32ndarray extends signedintegerndarray { // tslint:disable-line:class-name
1624+
interface int32ndarray extends signedintegerndarray {
16251625
/**
16261626
* Size (in bytes) of each array element.
16271627
*/
@@ -1678,7 +1678,7 @@ declare module '@stdlib/types/ndarray' {
16781678
* }
16791679
* };
16801680
*/
1681-
interface int16ndarray extends signedintegerndarray { // tslint:disable-line:class-name
1681+
interface int16ndarray extends signedintegerndarray {
16821682
/**
16831683
* Size (in bytes) of each array element.
16841684
*/
@@ -1735,7 +1735,7 @@ declare module '@stdlib/types/ndarray' {
17351735
* }
17361736
* };
17371737
*/
1738-
interface int8ndarray extends signedintegerndarray { // tslint:disable-line:class-name
1738+
interface int8ndarray extends signedintegerndarray {
17391739
/**
17401740
* Size (in bytes) of each array element.
17411741
*/
@@ -1792,7 +1792,7 @@ declare module '@stdlib/types/ndarray' {
17921792
* }
17931793
* };
17941794
*/
1795-
interface unsignedintegerndarray extends typedndarray<number> { // tslint:disable-line:class-name
1795+
interface unsignedintegerndarray extends typedndarray<number> {
17961796
/**
17971797
* Size (in bytes) of the array.
17981798
*/
@@ -1854,7 +1854,7 @@ declare module '@stdlib/types/ndarray' {
18541854
* }
18551855
* };
18561856
*/
1857-
interface uint32ndarray extends unsignedintegerndarray { // tslint:disable-line:class-name
1857+
interface uint32ndarray extends unsignedintegerndarray {
18581858
/**
18591859
* Size (in bytes) of each array element.
18601860
*/
@@ -1911,7 +1911,7 @@ declare module '@stdlib/types/ndarray' {
19111911
* }
19121912
* };
19131913
*/
1914-
interface uint16ndarray extends unsignedintegerndarray { // tslint:disable-line:class-name
1914+
interface uint16ndarray extends unsignedintegerndarray {
19151915
/**
19161916
* Size (in bytes) of each array element.
19171917
*/
@@ -1968,7 +1968,7 @@ declare module '@stdlib/types/ndarray' {
19681968
* }
19691969
* };
19701970
*/
1971-
interface uint8ndarray extends unsignedintegerndarray { // tslint:disable-line:class-name
1971+
interface uint8ndarray extends unsignedintegerndarray {
19721972
/**
19731973
* Size (in bytes) of each array element.
19741974
*/
@@ -2025,7 +2025,7 @@ declare module '@stdlib/types/ndarray' {
20252025
* }
20262026
* };
20272027
*/
2028-
interface uint8cndarray extends unsignedintegerndarray { // tslint:disable-line:class-name
2028+
interface uint8cndarray extends unsignedintegerndarray {
20292029
/**
20302030
* Size (in bytes) of each array element.
20312031
*/
@@ -2082,7 +2082,7 @@ declare module '@stdlib/types/ndarray' {
20822082
* }
20832083
* };
20842084
*/
2085-
interface realndarray extends typedndarray<number> { // tslint:disable-line:class-name
2085+
interface realndarray extends typedndarray<number> {
20862086
/**
20872087
* Size (in bytes) of the array.
20882088
*/
@@ -2144,7 +2144,7 @@ declare module '@stdlib/types/ndarray' {
21442144
* }
21452145
* };
21462146
*/
2147-
interface realcomplexndarray extends ndarray { // tslint:disable-line:class-name
2147+
interface realcomplexndarray extends ndarray {
21482148
/**
21492149
* Size (in bytes) of the array.
21502150
*/
@@ -2218,7 +2218,7 @@ declare module '@stdlib/types/ndarray' {
22182218
* }
22192219
* };
22202220
*/
2221-
interface floatcomplexndarray extends ndarray { // tslint:disable-line:class-name
2221+
interface floatcomplexndarray extends ndarray {
22222222
/**
22232223
* Size (in bytes) of the array.
22242224
*/
@@ -2292,7 +2292,7 @@ declare module '@stdlib/types/ndarray' {
22922292
* }
22932293
* };
22942294
*/
2295-
interface complexndarray extends ndarray { // tslint:disable-line:class-name
2295+
interface complexndarray extends ndarray {
22962296
/**
22972297
* Size (in bytes) of the array.
22982298
*/
@@ -2366,7 +2366,7 @@ declare module '@stdlib/types/ndarray' {
23662366
* }
23672367
* };
23682368
*/
2369-
interface complex128ndarray extends complexndarray { // tslint:disable-line:class-name
2369+
interface complex128ndarray extends complexndarray {
23702370
/**
23712371
* Size (in bytes) of each array element.
23722372
*/
@@ -2435,7 +2435,7 @@ declare module '@stdlib/types/ndarray' {
24352435
* }
24362436
* };
24372437
*/
2438-
interface complex64ndarray extends complexndarray { // tslint:disable-line:class-name
2438+
interface complex64ndarray extends complexndarray {
24392439
/**
24402440
* Size (in bytes) of each array element.
24412441
*/
@@ -2513,12 +2513,12 @@ declare module '@stdlib/types/ndarray' {
25132513
/**
25142514
* Array shape.
25152515
*/
2516-
shape: [ number ]; // tslint:disable-line:no-single-element-tuple-type
2516+
shape: [ number ];
25172517

25182518
/**
25192519
* Array strides.
25202520
*/
2521-
strides: [ number ]; // tslint:disable-line:no-single-element-tuple-type
2521+
strides: [ number ];
25222522

25232523
/**
25242524
* Sets an array element specified according to provided subscripts.

lib/node_modules/@stdlib/utils/for-in/docs/types/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
/* tslint:disable:no-construct */
19+
/* eslint-disable no-new-wrappers */
2020

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

lib/node_modules/@stdlib/utils/for-own/docs/types/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
/* tslint:disable:no-construct */
19+
/* eslint-disable no-new-wrappers */
2020

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

0 commit comments

Comments
 (0)