diff --git a/base/accessor-getter/docs/types/test.ts b/base/accessor-getter/docs/types/test.ts index b2ea65b9..995c1057 100644 --- a/base/accessor-getter/docs/types/test.ts +++ b/base/accessor-getter/docs/types/test.ts @@ -37,7 +37,7 @@ function accessorArray(): AccessorArrayLike { '3': 4, 'length': 4, 'get': ( idx: number ): number => { - return arr[ idx ]; // tslint:disable-line:no-unsafe-any + return arr[ idx ]; }, 'set': ( value: number, idx: number ): void => { arr[ idx ] = value; diff --git a/base/accessor-setter/docs/types/test.ts b/base/accessor-setter/docs/types/test.ts index ae537f37..c47853ac 100644 --- a/base/accessor-setter/docs/types/test.ts +++ b/base/accessor-setter/docs/types/test.ts @@ -39,7 +39,7 @@ function accessorArray(): AccessorArrayLike { '3': 4, 'length': 4, 'get': ( idx: number ): number => { - return arr[ idx ]; // tslint:disable-line:no-unsafe-any + return arr[ idx ]; }, 'set': ( value: number, idx: number ): void => { arr[ idx ] = value; diff --git a/base/accessor/docs/types/test.ts b/base/accessor/docs/types/test.ts index c5ef600a..b3cf22bb 100644 --- a/base/accessor/docs/types/test.ts +++ b/base/accessor/docs/types/test.ts @@ -16,7 +16,7 @@ * limitations under the License. */ -// tslint:disable:no-unused-expression +/* eslint-disable @typescript-eslint/no-unused-expressions */ import AccessorArray = require( './index' ); diff --git a/base/accessors/docs/types/test.ts b/base/accessors/docs/types/test.ts index 36777ef6..7c9a8023 100644 --- a/base/accessors/docs/types/test.ts +++ b/base/accessors/docs/types/test.ts @@ -37,7 +37,7 @@ function accessorArray(): AccessorArrayLike { '3': 4, 'length': 4, 'get': ( idx: number ): number => { - return arr[ idx ]; // tslint:disable-line:no-unsafe-any + return arr[ idx ]; }, 'set': ( value: number, idx: number ): void => { arr[ idx ] = value; diff --git a/base/arraylike2object/docs/types/test.ts b/base/arraylike2object/docs/types/test.ts index f989a60a..7556a526 100644 --- a/base/arraylike2object/docs/types/test.ts +++ b/base/arraylike2object/docs/types/test.ts @@ -37,7 +37,7 @@ function accessorArray(): AccessorArrayLike { '3': 4, 'length': 4, 'get': ( idx: number ): number => { - return arr[ idx ]; // tslint:disable-line:no-unsafe-any + return arr[ idx ]; }, 'set': ( value: number, idx: number ): void => { arr[ idx ] = value; diff --git a/base/assert/docs/types/test.ts b/base/assert/docs/types/test.ts index ed1e2f41..e344b791 100644 --- a/base/assert/docs/types/test.ts +++ b/base/assert/docs/types/test.ts @@ -16,7 +16,7 @@ * limitations under the License. */ -/* tslint:disable:no-unused-expression */ +/* eslint-disable @typescript-eslint/no-unused-expressions */ import ns = require( './index' ); diff --git a/base/docs/types/test.ts b/base/docs/types/test.ts index 1cdbcd00..c2dd14ec 100644 --- a/base/docs/types/test.ts +++ b/base/docs/types/test.ts @@ -16,7 +16,7 @@ * limitations under the License. */ -/* tslint:disable:no-unused-expression */ +/* eslint-disable @typescript-eslint/no-unused-expressions */ import ns = require( './index' ); diff --git a/base/fillednd-by/docs/types/index.d.ts b/base/fillednd-by/docs/types/index.d.ts index 90ec45a0..dee301b2 100644 --- a/base/fillednd-by/docs/types/index.d.ts +++ b/base/fillednd-by/docs/types/index.d.ts @@ -30,7 +30,7 @@ type Array1D = Array; /** * One-dimensional array shape. */ -type Shape1D = [ number ]; // tslint:disable-line:no-single-element-tuple-type +type Shape1D = [ number ]; /** * Two-dimensional array. diff --git a/base/fillednd/docs/types/index.d.ts b/base/fillednd/docs/types/index.d.ts index aadc42d9..1e24c7a5 100644 --- a/base/fillednd/docs/types/index.d.ts +++ b/base/fillednd/docs/types/index.d.ts @@ -30,7 +30,7 @@ type Array1D = Array; /** * One-dimensional array shape. */ -type Shape1D = [ number ]; // tslint:disable-line:no-single-element-tuple-type +type Shape1D = [ number ]; /** * Two-dimensional array. diff --git a/base/flatten-by/docs/types/index.d.ts b/base/flatten-by/docs/types/index.d.ts index 536f5bca..81e56bd6 100644 --- a/base/flatten-by/docs/types/index.d.ts +++ b/base/flatten-by/docs/types/index.d.ts @@ -16,7 +16,7 @@ * limitations under the License. */ -/* tslint:disable:max-file-line-count */ +/* eslint-disable max-lines */ // TypeScript Version: 4.1 @@ -27,7 +27,7 @@ import { Collection, Array1D, Array2D, Array3D, Array4D, Array5D, Array6D, Array /** * One-dimensional array shape. */ -type Shape1D = [ number ]; // tslint:disable-line:no-single-element-tuple-type +type Shape1D = [ number ]; /** * Two-dimensional array shape. diff --git a/base/onesnd/docs/types/index.d.ts b/base/onesnd/docs/types/index.d.ts index bb05f2bb..cb88b110 100644 --- a/base/onesnd/docs/types/index.d.ts +++ b/base/onesnd/docs/types/index.d.ts @@ -30,7 +30,7 @@ type Array1D = Array; /** * One-dimensional array shape. */ -type Shape1D = [ number ]; // tslint:disable-line:no-single-element-tuple-type +type Shape1D = [ number ]; /** * Two-dimensional array. diff --git a/base/zerosnd/docs/types/index.d.ts b/base/zerosnd/docs/types/index.d.ts index 991c6eaa..1519d737 100644 --- a/base/zerosnd/docs/types/index.d.ts +++ b/base/zerosnd/docs/types/index.d.ts @@ -31,7 +31,7 @@ type Array1D = Array; /** * One-dimensional array shape. */ -type Shape1D = [ number ]; // tslint:disable-line:no-single-element-tuple-type +type Shape1D = [ number ]; /** * Two-dimensional array. diff --git a/buffer/docs/types/test.ts b/buffer/docs/types/test.ts index 3a5288ac..07c5c0e5 100644 --- a/buffer/docs/types/test.ts +++ b/buffer/docs/types/test.ts @@ -16,8 +16,7 @@ * limitations under the License. */ -// tslint:disable: no-construct -// tslint:disable: no-unused-expression +/* eslint-disable @typescript-eslint/no-unused-expressions */ import ArrayBuffer = require( './index' ); diff --git a/complex128/docs/types/test.ts b/complex128/docs/types/test.ts index e50daee7..9b2e3739 100644 --- a/complex128/docs/types/test.ts +++ b/complex128/docs/types/test.ts @@ -16,7 +16,7 @@ * limitations under the License. */ -// tslint:disable:no-unused-expression +/* eslint-disable @typescript-eslint/no-unused-expressions */ import Complex128Array = require( './index' ); import Complex128 = require( '@stdlib/complex/float64' ); diff --git a/complex64/docs/types/test.ts b/complex64/docs/types/test.ts index 2a072522..1229ac35 100644 --- a/complex64/docs/types/test.ts +++ b/complex64/docs/types/test.ts @@ -16,7 +16,7 @@ * limitations under the License. */ -// tslint:disable:no-unused-expression +/* eslint-disable @typescript-eslint/no-unused-expressions */ import Complex64Array = require( './index' ); import Complex64 = require( '@stdlib/complex/float32' ); diff --git a/dataview/docs/types/test.ts b/dataview/docs/types/test.ts index aeab2df9..746c3da0 100644 --- a/dataview/docs/types/test.ts +++ b/dataview/docs/types/test.ts @@ -16,8 +16,7 @@ * limitations under the License. */ -// tslint:disable: no-construct -// tslint:disable: no-unused-expression +/* eslint-disable @typescript-eslint/no-unused-expressions */ import ArrayBuffer = require( './../../../buffer' ); import DataView = require( './index' ); diff --git a/docs/types/test.ts b/docs/types/test.ts index 1cdbcd00..c2dd14ec 100644 --- a/docs/types/test.ts +++ b/docs/types/test.ts @@ -16,7 +16,7 @@ * limitations under the License. */ -/* tslint:disable:no-unused-expression */ +/* eslint-disable @typescript-eslint/no-unused-expressions */ import ns = require( './index' ); diff --git a/filled-by/docs/types/index.d.ts b/filled-by/docs/types/index.d.ts index 1bdee3a6..71b11cc1 100644 --- a/filled-by/docs/types/index.d.ts +++ b/filled-by/docs/types/index.d.ts @@ -80,7 +80,7 @@ type Callback = Nullary | Unary; * var arr = filledarrayBy( 'float32' ); * // returns */ -declare function filledarrayBy( dtype?: DataType ): ArrayOrTypedArray; // tslint:disable-line:unified-signatures +declare function filledarrayBy( dtype?: DataType ): ArrayOrTypedArray; // eslint-disable-line @typescript-eslint/unified-signatures /** * Creates a filled array according to a provided callback function and having a specified `length`. diff --git a/float32/docs/types/test.ts b/float32/docs/types/test.ts index b793c75c..e90fa493 100644 --- a/float32/docs/types/test.ts +++ b/float32/docs/types/test.ts @@ -16,8 +16,7 @@ * limitations under the License. */ -// tslint:disable: no-construct -// tslint:disable: no-unused-expression +/* eslint-disable @typescript-eslint/no-unused-expressions */ import Float32Array = require( './index' ); diff --git a/float64/docs/types/test.ts b/float64/docs/types/test.ts index 70821049..377f4cbd 100644 --- a/float64/docs/types/test.ts +++ b/float64/docs/types/test.ts @@ -16,8 +16,7 @@ * limitations under the License. */ -// tslint:disable: no-construct -// tslint:disable: no-unused-expression +/* eslint-disable @typescript-eslint/no-unused-expressions */ import Float64Array = require( './index' ); diff --git a/int16/docs/types/test.ts b/int16/docs/types/test.ts index 67bedcf1..1b7bd517 100644 --- a/int16/docs/types/test.ts +++ b/int16/docs/types/test.ts @@ -16,8 +16,7 @@ * limitations under the License. */ -// tslint:disable: no-construct -// tslint:disable: no-unused-expression +/* eslint-disable @typescript-eslint/no-unused-expressions */ import Int16Array = require( './index' ); diff --git a/int32/docs/types/test.ts b/int32/docs/types/test.ts index 1fef04d1..a9b2ec5a 100644 --- a/int32/docs/types/test.ts +++ b/int32/docs/types/test.ts @@ -16,8 +16,7 @@ * limitations under the License. */ -// tslint:disable: no-construct -// tslint:disable: no-unused-expression +/* eslint-disable @typescript-eslint/no-unused-expressions */ import Int32Array = require( './index' ); diff --git a/int8/docs/types/test.ts b/int8/docs/types/test.ts index 000d037f..35398aa6 100644 --- a/int8/docs/types/test.ts +++ b/int8/docs/types/test.ts @@ -16,8 +16,7 @@ * limitations under the License. */ -// tslint:disable: no-construct -// tslint:disable: no-unused-expression +/* eslint-disable @typescript-eslint/no-unused-expressions */ import Int8Array = require( './index' ); diff --git a/next-dtype/docs/types/index.d.ts b/next-dtype/docs/types/index.d.ts index 7813f13a..b33a3ab9 100644 --- a/next-dtype/docs/types/index.d.ts +++ b/next-dtype/docs/types/index.d.ts @@ -78,7 +78,7 @@ declare function nextDataType( dtype: 'float32' ): 'float64'; * var dt = nextDataType( 'int32' ); * // returns -1 */ -declare function nextDataType( dtype: 'int32' ): number; // tslint:disable-line:unified-signatures +declare function nextDataType( dtype: 'int32' ): number; // eslint-disable-line @typescript-eslint/unified-signatures /** * Returns the next larger array data type of the same kind. @@ -126,7 +126,7 @@ declare function nextDataType( dtype: 'int8' ): 'int16'; * var dt = nextDataType( 'uint32' ); * // returns -1 */ -declare function nextDataType( dtype: 'uint32' ): number; // tslint:disable-line:unified-signatures +declare function nextDataType( dtype: 'uint32' ): number; // eslint-disable-line @typescript-eslint/unified-signatures /** * Returns the next larger array data type of the same kind. @@ -174,7 +174,7 @@ declare function nextDataType( dtype: 'uint8' ): 'uint16'; * var dt = nextDataType( 'uint8c' ); * // returns 'uint16' */ -declare function nextDataType( dtype: 'uint8c' ): 'uint16'; // tslint:disable-line:unified-signatures +declare function nextDataType( dtype: 'uint8c' ): 'uint16'; // eslint-disable-line @typescript-eslint/unified-signatures /** * Returns the next larger array data type of the same kind. @@ -190,7 +190,7 @@ declare function nextDataType( dtype: 'uint8c' ): 'uint16'; // tslint:disable-li * var dt = nextDataType( 'generic' ); * // returns -1 */ -declare function nextDataType( dtype: 'generic' ): number; // tslint:disable-line:unified-signatures +declare function nextDataType( dtype: 'generic' ): number; // eslint-disable-line @typescript-eslint/unified-signatures /** * Returns the next larger array data type of the same kind. @@ -206,7 +206,7 @@ declare function nextDataType( dtype: 'generic' ): number; // tslint:disable-lin * var dt = nextDataType( 'complex128' ); * // returns -1 */ -declare function nextDataType( dtype: 'complex128' ): number; // tslint:disable-line:unified-signatures +declare function nextDataType( dtype: 'complex128' ): number; // eslint-disable-line @typescript-eslint/unified-signatures /** * Returns the next larger array data type of the same kind. diff --git a/pool/docs/types/test.ts b/pool/docs/types/test.ts index 1014bba5..4336c426 100644 --- a/pool/docs/types/test.ts +++ b/pool/docs/types/test.ts @@ -16,8 +16,8 @@ * limitations under the License. */ -/* tslint:disable:no-empty */ -/* tslint:disable:no-unused-expression */ +/* eslint-disable no-empty */ +/* eslint-disable @typescript-eslint/no-unused-expressions */ import typedarraypool = require( './index' ); diff --git a/shared-buffer/docs/types/index.d.ts b/shared-buffer/docs/types/index.d.ts index 587ee34e..f4956e48 100644 --- a/shared-buffer/docs/types/index.d.ts +++ b/shared-buffer/docs/types/index.d.ts @@ -23,6 +23,4 @@ /** * Constructor returning an object used to represent a generic, fixed-length raw binary data buffer which can be used to create views of shared memory. */ -export = SharedArrayBuffer; // tslint:disable-line - -// FIXME: need to address TSLint errors regarding ES version +export = SharedArrayBuffer; diff --git a/shared-buffer/docs/types/test.ts b/shared-buffer/docs/types/test.ts index 59cc92c0..ea8339e6 100644 --- a/shared-buffer/docs/types/test.ts +++ b/shared-buffer/docs/types/test.ts @@ -16,9 +16,7 @@ * limitations under the License. */ -// tslint:disable: no-construct -// tslint:disable: no-unused-expression -// tslint:disable: no-unsafe-any +/* eslint-disable @typescript-eslint/no-unused-expressions */ import SharedArrayBuffer = require( './index' ); diff --git a/typed-complex/docs/types/index.d.ts b/typed-complex/docs/types/index.d.ts index 69b035f9..812eb0a6 100644 --- a/typed-complex/docs/types/index.d.ts +++ b/typed-complex/docs/types/index.d.ts @@ -18,7 +18,7 @@ // TypeScript Version: 4.1 -// tslint:disable:unified-signatures +/* eslint-disable @typescript-eslint/unified-signatures */ /// diff --git a/typed-real/docs/types/index.d.ts b/typed-real/docs/types/index.d.ts index 7e5a8e17..49bfba45 100644 --- a/typed-real/docs/types/index.d.ts +++ b/typed-real/docs/types/index.d.ts @@ -18,7 +18,7 @@ // TypeScript Version: 4.1 -// tslint:disable:unified-signatures +/* eslint-disable @typescript-eslint/unified-signatures */ /// diff --git a/typed/docs/types/index.d.ts b/typed/docs/types/index.d.ts index 486d6a68..ba942435 100644 --- a/typed/docs/types/index.d.ts +++ b/typed/docs/types/index.d.ts @@ -18,7 +18,7 @@ // TypeScript Version: 4.1 -// tslint:disable:unified-signatures +/* eslint-disable @typescript-eslint/unified-signatures */ /// diff --git a/uint16/docs/types/test.ts b/uint16/docs/types/test.ts index 53899384..d6ec15ea 100644 --- a/uint16/docs/types/test.ts +++ b/uint16/docs/types/test.ts @@ -16,8 +16,7 @@ * limitations under the License. */ -// tslint:disable: no-construct -// tslint:disable: no-unused-expression +/* eslint-disable @typescript-eslint/no-unused-expressions */ import Uint16Array = require( './index' ); diff --git a/uint32/docs/types/test.ts b/uint32/docs/types/test.ts index 7304e8f5..da155025 100644 --- a/uint32/docs/types/test.ts +++ b/uint32/docs/types/test.ts @@ -16,8 +16,7 @@ * limitations under the License. */ -// tslint:disable: no-construct -// tslint:disable: no-unused-expression +/* eslint-disable @typescript-eslint/no-unused-expressions */ import Uint32Array = require( './index' ); diff --git a/uint8/docs/types/test.ts b/uint8/docs/types/test.ts index 3db20813..9b5061df 100644 --- a/uint8/docs/types/test.ts +++ b/uint8/docs/types/test.ts @@ -16,8 +16,7 @@ * limitations under the License. */ -// tslint:disable: no-construct -// tslint:disable: no-unused-expression +/* eslint-disable @typescript-eslint/no-unused-expressions */ import Uint8Array = require( './index' ); diff --git a/uint8c/docs/types/test.ts b/uint8c/docs/types/test.ts index a262ddf7..3a113feb 100644 --- a/uint8c/docs/types/test.ts +++ b/uint8c/docs/types/test.ts @@ -16,8 +16,7 @@ * limitations under the License. */ -// tslint:disable: no-construct -// tslint:disable: no-unused-expression +/* eslint-disable @typescript-eslint/no-unused-expressions */ import Uint8ClampedArray = require( './index' );