diff --git a/.github/.keepalive b/.github/.keepalive deleted file mode 100644 index bfc2cfdc..00000000 --- a/.github/.keepalive +++ /dev/null @@ -1 +0,0 @@ -2023-11-01T06:23:02.291Z diff --git a/async/compose/docs/types/index.d.ts b/async/compose/docs/types/index.d.ts index f71d8d17..3f212d83 100644 --- a/async/compose/docs/types/index.d.ts +++ b/async/compose/docs/types/index.d.ts @@ -120,7 +120,7 @@ type VariadicFunction = ( ...args: Array ) => void; * * f( 6, done ); */ -declare function composeAsync( f0: BinaryFunction, f1: VariadicFunction, ...f: Array ): CompositeFunction; // tslint-disable-line max-line-length +declare function composeAsync( f0: BinaryFunction, f1: VariadicFunction, ...f: Array ): CompositeFunction; // EXPORTS // diff --git a/async/do-until/docs/types/index.d.ts b/async/do-until/docs/types/index.d.ts index 77aac318..195fd740 100644 --- a/async/do-until/docs/types/index.d.ts +++ b/async/do-until/docs/types/index.d.ts @@ -119,7 +119,7 @@ type Fcn = ( i: number, next: Function ) => void; * * doUntilAsync( fcn, predicate, done ); */ -declare function doUntilAsync( fcn: Fcn, predicate: Predicate, done: DoneCallback, thisArg?: any ): void; // tslint-disable-line max-line-length +declare function doUntilAsync( fcn: Fcn, predicate: Predicate, done: DoneCallback, thisArg?: any ): void; // EXPORTS // diff --git a/async/do-while/docs/types/index.d.ts b/async/do-while/docs/types/index.d.ts index 70216b0b..383e38e3 100644 --- a/async/do-while/docs/types/index.d.ts +++ b/async/do-while/docs/types/index.d.ts @@ -119,7 +119,7 @@ type Fcn = ( i: number, next: Function ) => void; * * doWhileAsync( fcn, predicate, done ); */ -declare function doWhileAsync( fcn: Fcn, predicate: Predicate, done: DoneCallback, thisArg?: any ): void; // tslint-disable-line max-line-length +declare function doWhileAsync( fcn: Fcn, predicate: Predicate, done: DoneCallback, thisArg?: any ): void; // EXPORTS // diff --git a/async/docs/types/index.d.ts b/async/docs/types/index.d.ts index 9f1698bc..15f6e754 100644 --- a/async/docs/types/index.d.ts +++ b/async/docs/types/index.d.ts @@ -18,8 +18,7 @@ // TypeScript Version: 4.1 -/* tslint:disable:max-line-length */ -/* tslint:disable:max-file-line-count */ +/* eslint-disable max-lines */ import anyByAsync = require( './../../../async/any-by' ); import anyByRightAsync = require( './../../../async/any-by-right' ); diff --git a/async/function-sequence/docs/types/index.d.ts b/async/function-sequence/docs/types/index.d.ts index ab312da5..7b25c6e0 100644 --- a/async/function-sequence/docs/types/index.d.ts +++ b/async/function-sequence/docs/types/index.d.ts @@ -116,7 +116,7 @@ type PipelineFunction = ( ...args: Array ) => void; * * f( 6, done ); */ -declare function funseqAsync( f0: VariadicFunction, f1: BinaryFunction, ...f: Array ): PipelineFunction; // tslint-disable-line max-line-length +declare function funseqAsync( f0: VariadicFunction, f1: BinaryFunction, ...f: Array ): PipelineFunction; // EXPORTS // diff --git a/async/if-else/docs/types/index.d.ts b/async/if-else/docs/types/index.d.ts index ac35fdfc..abaa6cc6 100644 --- a/async/if-else/docs/types/index.d.ts +++ b/async/if-else/docs/types/index.d.ts @@ -87,7 +87,7 @@ type Predicate = ( clbk: PredicateCallback ) => void; * } * ifelseAsync( predicate, 1.0, -1.0, done ); */ -declare function ifelseAsync( predicate: Predicate, x: any, y: any, done: Callback ): void; // tslint-disable-line max-line-length +declare function ifelseAsync( predicate: Predicate, x: any, y: any, done: Callback ): void; // EXPORTS // diff --git a/async/if-then/docs/types/index.d.ts b/async/if-then/docs/types/index.d.ts index 6e0684dd..2793dbc0 100644 --- a/async/if-then/docs/types/index.d.ts +++ b/async/if-then/docs/types/index.d.ts @@ -108,7 +108,7 @@ type ResultFunction = ( clbk: Callback ) => void; * } * ifthenAsync( predicate, x, y, done ); */ -declare function ifthenAsync( predicate: Predicate, x: ResultFunction, y: ResultFunction, done: Callback ): void; // tslint-disable-line max-line-length +declare function ifthenAsync( predicate: Predicate, x: ResultFunction, y: ResultFunction, done: Callback ): void; // EXPORTS // diff --git a/async/map-keys/docs/types/index.d.ts b/async/map-keys/docs/types/index.d.ts index dc8085c6..a051baf4 100644 --- a/async/map-keys/docs/types/index.d.ts +++ b/async/map-keys/docs/types/index.d.ts @@ -119,7 +119,7 @@ type TernaryTransform = ( value: any, index: number, next: Callback ) => void; * @param obj - the input object * @param next - a callback to be invoked after processing an object `value` */ -type QuaternaryTransform = ( value: any, index: number, obj: any, next: Callback ) => void; // tslint-disable-line max-line-length +type QuaternaryTransform = ( value: any, index: number, obj: any, next: Callback ) => void; /** * Transform function. @@ -129,7 +129,7 @@ type QuaternaryTransform = ( value: any, index: number, obj: any, next: Callback * @param obj - the input object * @param next - a callback to be invoked after processing an object `value` */ -type Transform = Unary | BinaryTransform | TernaryTransform | QuaternaryTransform; // tslint-disable-line max-line-length +type Transform = Unary | BinaryTransform | TernaryTransform | QuaternaryTransform; /** * Maps keys from one object to a new object having the same values. @@ -201,7 +201,7 @@ interface MapKeysAsync { * // Process each file in `files`: * mapKeysAsync( files, opts, read, done ); */ - ( obj: any, options: Options, transform: Transform, done: DoneCallback ): void; // tslint-disable-line max-line-length + ( obj: any, options: Options, transform: Transform, done: DoneCallback ): void; /** * Maps keys from one object to a new object having the same values. diff --git a/async/map-values/docs/types/index.d.ts b/async/map-values/docs/types/index.d.ts index dc466d1f..a7f04872 100644 --- a/async/map-values/docs/types/index.d.ts +++ b/async/map-values/docs/types/index.d.ts @@ -119,7 +119,7 @@ type TernaryTransform = ( value: any, index: number, next: Callback ) => void; * @param obj - the input object * @param next - a callback to be invoked after processing an object `value` */ -type QuaternaryTransform = ( value: any, index: number, obj: any, next: Callback ) => void; // tslint-disable-line max-line-length +type QuaternaryTransform = ( value: any, index: number, obj: any, next: Callback ) => void; /** * Transform function. @@ -129,7 +129,7 @@ type QuaternaryTransform = ( value: any, index: number, obj: any, next: Callback * @param obj - the input object * @param next - a callback to be invoked after processing an object `value` */ -type Transform = Unary | BinaryTransform | TernaryTransform | QuaternaryTransform; // tslint-disable-line max-line-length +type Transform = Unary | BinaryTransform | TernaryTransform | QuaternaryTransform; /** * Maps keys from one object to a new object having the same values. @@ -198,7 +198,7 @@ interface MapValuesAsync { * // Process each file in `files`: * mapValuesAsync( files, opts, getStats, done ); */ - ( obj: any, options: Options, transform: Transform, done: DoneCallback ): void; // tslint-disable-line max-line-length + ( obj: any, options: Options, transform: Transform, done: DoneCallback ): void; /** * Maps values from one object to a new object having the same keys. diff --git a/async/series-waterfall/docs/types/index.d.ts b/async/series-waterfall/docs/types/index.d.ts index 2cba38ae..8bea9d9e 100644 --- a/async/series-waterfall/docs/types/index.d.ts +++ b/async/series-waterfall/docs/types/index.d.ts @@ -111,7 +111,7 @@ interface Waterfall { * waterfall(); * waterfall(); */ - factory( fcns: Array, clbk: DoneCallback, thisArg?: any ): WaterfallFunction; // tslint-disable-line max-line-length + factory( fcns: Array, clbk: DoneCallback, thisArg?: any ): WaterfallFunction; } /** diff --git a/async/try-then/docs/types/index.d.ts b/async/try-then/docs/types/index.d.ts index 1fac4264..a36496d4 100644 --- a/async/try-then/docs/types/index.d.ts +++ b/async/try-then/docs/types/index.d.ts @@ -92,7 +92,7 @@ type TryFunction = ( clbk: Callback ) => void; * * trythenAsync( x, y, done ); */ -declare function trythenAsync( x: TryFunction, y: ThenFunction, done: Callback ): void; // tslint-disable-line max-line-length +declare function trythenAsync( x: TryFunction, y: ThenFunction, done: Callback ): void; // EXPORTS // diff --git a/async/until/docs/types/index.d.ts b/async/until/docs/types/index.d.ts index 0273a51c..086975cd 100644 --- a/async/until/docs/types/index.d.ts +++ b/async/until/docs/types/index.d.ts @@ -119,7 +119,7 @@ type Fcn = ( i: number, next: Function ) => void; * * untilAsync( predicate, fcn, done ); */ -declare function untilAsync( predicate: Predicate, fcn: Fcn, done: DoneCallback, thisArg?: any ): void; // tslint-disable-line max-line-length +declare function untilAsync( predicate: Predicate, fcn: Fcn, done: DoneCallback, thisArg?: any ): void; // EXPORTS // diff --git a/async/while/docs/types/index.d.ts b/async/while/docs/types/index.d.ts index 09e781eb..163e8bac 100644 --- a/async/while/docs/types/index.d.ts +++ b/async/while/docs/types/index.d.ts @@ -119,7 +119,7 @@ type Fcn = ( i: number, next: Function ) => void; * * whileAsync( predicate, fcn, done ); */ -declare function whileAsync( predicate: Predicate, fcn: Fcn, done: DoneCallback, thisArg?: any ): void; // tslint-disable-line max-line-length +declare function whileAsync( predicate: Predicate, fcn: Fcn, done: DoneCallback, thisArg?: any ): void; // EXPORTS // diff --git a/bifurcate-in/docs/types/index.d.ts b/bifurcate-in/docs/types/index.d.ts index 008fd9ef..1c325a6c 100644 --- a/bifurcate-in/docs/types/index.d.ts +++ b/bifurcate-in/docs/types/index.d.ts @@ -108,7 +108,7 @@ type Predicate = Nullary | Unary | Binary; * var out = bifurcateIn( obj, predicate ); * // e.g., returns [ [ 'beep', 'boop', 'bar' ], [ 'foo' ] ] */ -declare function bifurcateIn( obj: any, predicate: Predicate ): Array>; // tslint-disable-line max-line-length +declare function bifurcateIn( obj: any, predicate: Predicate ): Array>; /** * Splits an object's own and inherited property values into two groups according to a predicate function. @@ -181,7 +181,7 @@ declare function bifurcateIn( obj: any, predicate: Predicate ): Array * var out = bifurcateIn( obj, opts, predicate ); * // e.g., returns [ [ [ 'a', 'beep' ], [ 'b', 'boop' ], [ 'd', 'bar' ] ], [ [ 'c', 'foo' ] ] ] */ -declare function bifurcateIn( obj: any, options: Options, predicate: Predicate ): Array>; // tslint-disable-line max-line-length +declare function bifurcateIn( obj: any, options: Options, predicate: Predicate ): Array>; // EXPORTS // diff --git a/bifurcate-own/docs/types/index.d.ts b/bifurcate-own/docs/types/index.d.ts index 13f7819d..f19b6403 100644 --- a/bifurcate-own/docs/types/index.d.ts +++ b/bifurcate-own/docs/types/index.d.ts @@ -118,7 +118,7 @@ type Predicate = Nullary | Unary | Binary; * var out = bifurcateOwn( obj, opts, predicate ); * // e.g., returns [ [ [ 'a', 'beep' ], [ 'b', 'boop' ], [ 'd', 'bar' ] ], [ [ 'c', 'foo' ] ] ] */ -declare function bifurcateOwn( obj: any, predicate: Predicate ): Array>; // tslint-disable-line max-line-length +declare function bifurcateOwn( obj: any, predicate: Predicate ): Array>; /** * Splits an object's own property values into two groups according to a predicate function. @@ -175,7 +175,7 @@ declare function bifurcateOwn( obj: any, predicate: Predicate ): Array>; // tslint-disable-line max-line-length +declare function bifurcateOwn( obj: any, options: Options, predicate: Predicate ): Array>; // EXPORTS // diff --git a/common-keys-in/docs/types/index.d.ts b/common-keys-in/docs/types/index.d.ts index 1be308aa..9238351b 100644 --- a/common-keys-in/docs/types/index.d.ts +++ b/common-keys-in/docs/types/index.d.ts @@ -62,7 +62,7 @@ * var keys = commonKeysIn( obj1, obj2, obj3 ); * // returns [ 'a' ] */ -declare function commonKeysIn( obj1: any, obj2: any, ...obj: Array ): Array; // tslint:disable-line:max-line-length +declare function commonKeysIn( obj1: any, obj2: any, ...obj: Array ): Array; // EXPORTS // diff --git a/common-keys/docs/types/index.d.ts b/common-keys/docs/types/index.d.ts index 9e3b6c61..21426ab2 100644 --- a/common-keys/docs/types/index.d.ts +++ b/common-keys/docs/types/index.d.ts @@ -62,7 +62,7 @@ * var keys = commonKeys( obj1, obj2, obj3 ); * // returns [ 'a' ] */ -declare function commonKeys( obj1: any, obj2: any, ...obj: Array ): Array; // tslint:disable-line:max-line-length +declare function commonKeys( obj1: any, obj2: any, ...obj: Array ): Array; // EXPORTS // diff --git a/curry-right/docs/types/index.d.ts b/curry-right/docs/types/index.d.ts index ee0b7ceb..a9f71aa9 100644 --- a/curry-right/docs/types/index.d.ts +++ b/curry-right/docs/types/index.d.ts @@ -50,7 +50,7 @@ type Closure = ( v: any ) => any; * var sum = f( 2 )( 3 ); * // returns 5 */ -declare function curryRight( fcn: Function, arity: number, thisArg?: any ): Closure; // tslint-disable-line max-line-length +declare function curryRight( fcn: Function, arity: number, thisArg?: any ): Closure; /** * Transforms a function into a sequence of functions each accepting a single argument. diff --git a/decorate-after/docs/types/index.d.ts b/decorate-after/docs/types/index.d.ts index 12e275b8..18910376 100644 --- a/decorate-after/docs/types/index.d.ts +++ b/decorate-after/docs/types/index.d.ts @@ -53,7 +53,7 @@ interface Decorator { * v = f( 5 ); * // returns -5 */ - , U, V>( fcn: ( ...args: T ) => U, arity: number, after: ( v: U ) => V, thisArg?: any ): ( ...args: T ) => V; // tslint-disable-line max-line-length + , U, V>( fcn: ( ...args: T ) => U, arity: number, after: ( v: U ) => V, thisArg?: any ): ( ...args: T ) => V; /** * Decorates a provided function such that the function's return value is provided as an argument to another function. @@ -109,7 +109,7 @@ interface Decorator { * var count = ctx.count; * // returns 2 */ - , U>( fcn: ( ...args: T ) => U, arity: number, after: ( v: U ) => void, thisArg?: any ): ( ...args: T ) => U; // tslint-disable-line max-line-length + , U>( fcn: ( ...args: T ) => U, arity: number, after: ( v: U ) => void, thisArg?: any ): ( ...args: T ) => U; /** * Uses code generation to decorate a provided function such that the function's return value is provided as an argument to another function. @@ -144,7 +144,7 @@ interface Decorator { * v = f( 5 ); * // returns -5 */ - factory, U, V>( fcn: ( ...args: T ) => U, arity: number, after: ( v: U ) => V, thisArg?: any ): ( ...args: T ) => V; // tslint-disable-line max-line-length + factory, U, V>( fcn: ( ...args: T ) => U, arity: number, after: ( v: U ) => V, thisArg?: any ): ( ...args: T ) => V; /** * Uses code generation to decorate a provided function such that the function's return value is provided as an argument to another function. @@ -202,7 +202,7 @@ interface Decorator { * var count = ctx.count; * // returns 2 */ - factory, U>( fcn: ( ...args: T ) => U, arity: number, after: ( v: U ) => void, thisArg?: any ): ( ...args: T ) => U; // tslint-disable-line max-line-length + factory, U>( fcn: ( ...args: T ) => U, arity: number, after: ( v: U ) => void, thisArg?: any ): ( ...args: T ) => U; } /** diff --git a/deep-pluck/docs/types/index.d.ts b/deep-pluck/docs/types/index.d.ts index 3a0dfc0f..08bb7433 100644 --- a/deep-pluck/docs/types/index.d.ts +++ b/deep-pluck/docs/types/index.d.ts @@ -87,7 +87,7 @@ interface Options { * var out = deepPluck( arr, 'a|b|c', {'sep':'|'} ); * // returns [ 1, 2 ] */ -declare function deepPluck( arr: Array, path: Array | string, options?: Options ): Array; // tslint-disable-line max-line-length +declare function deepPluck( arr: Array, path: Array | string, options?: Options ): Array; // EXPORTS // diff --git a/deep-set/docs/types/index.d.ts b/deep-set/docs/types/index.d.ts index 78660475..4dda520f 100644 --- a/deep-set/docs/types/index.d.ts +++ b/deep-set/docs/types/index.d.ts @@ -99,7 +99,7 @@ interface DeepSet { * }); * // returns true */ - ( obj: any, path: string | Array, value: any, options?: Options ): boolean; // tslint-disable-line max-line-length + ( obj: any, path: string | Array, value: any, options?: Options ): boolean; /** * Creates a reusable deep set function. diff --git a/define-configurable-read-only-accessor/docs/types/index.d.ts b/define-configurable-read-only-accessor/docs/types/index.d.ts index 9ae4a47a..20f5fc93 100644 --- a/define-configurable-read-only-accessor/docs/types/index.d.ts +++ b/define-configurable-read-only-accessor/docs/types/index.d.ts @@ -55,7 +55,7 @@ type Getter = () => any; * console.error( err.message ); * } */ -declare function setConfigurableReadOnlyAccessor( obj: any, prop: PropertyName, getter: Getter ): void; // tslint:disable-line: max-line-length +declare function setConfigurableReadOnlyAccessor( obj: any, prop: PropertyName, getter: Getter ): void; // EXPORTS // diff --git a/define-configurable-read-only-property/docs/types/index.d.ts b/define-configurable-read-only-property/docs/types/index.d.ts index 696a45bf..93c01f25 100644 --- a/define-configurable-read-only-property/docs/types/index.d.ts +++ b/define-configurable-read-only-property/docs/types/index.d.ts @@ -44,7 +44,7 @@ import { PropertyName } from '@stdlib/types/object'; * console.error( err.message ); * } */ -declare function setConfigurableReadOnly( obj: any, prop: PropertyName, value: any ): void; // tslint:disable-line: max-line-length +declare function setConfigurableReadOnly( obj: any, prop: PropertyName, value: any ): void; // EXPORTS // diff --git a/define-configurable-read-write-accessor/docs/types/index.d.ts b/define-configurable-read-write-accessor/docs/types/index.d.ts index d17ce089..693e1186 100644 --- a/define-configurable-read-write-accessor/docs/types/index.d.ts +++ b/define-configurable-read-write-accessor/docs/types/index.d.ts @@ -70,7 +70,7 @@ type Setter = ( x: any ) => void; * v = obj.foo; * // returns 'beep foo' */ -declare function setConfigurableReadWriteAccessor( obj: any, prop: PropertyName, getter: Getter, setter: Setter ): void; // tslint:disable-line: max-line-length +declare function setConfigurableReadWriteAccessor( obj: any, prop: PropertyName, getter: Getter, setter: Setter ): void; // EXPORTS // diff --git a/define-configurable-write-only-accessor/docs/types/index.d.ts b/define-configurable-write-only-accessor/docs/types/index.d.ts index 5a418d96..7c074b85 100644 --- a/define-configurable-write-only-accessor/docs/types/index.d.ts +++ b/define-configurable-write-only-accessor/docs/types/index.d.ts @@ -52,7 +52,7 @@ type Setter = ( x: any ) => void; * * obj.foo = 'beep'; */ -declare function setConfigurableWriteOnlyAccessor( obj: any, prop: PropertyName, setter: Setter ): void; // tslint:disable-line: max-line-length +declare function setConfigurableWriteOnlyAccessor( obj: any, prop: PropertyName, setter: Setter ): void; // EXPORTS // diff --git a/define-memoized-configurable-read-only-property/docs/types/index.d.ts b/define-memoized-configurable-read-only-property/docs/types/index.d.ts index a4ca5a4d..bfe10425 100644 --- a/define-memoized-configurable-read-only-property/docs/types/index.d.ts +++ b/define-memoized-configurable-read-only-property/docs/types/index.d.ts @@ -52,7 +52,7 @@ type Getter = () => any; * var v = obj.foo; * // returns 'bar' */ -declare function setMemoizedConfigurableReadOnly( obj: any, prop: PropertyName, fcn: Getter ): void; // tslint:disable-line: max-line-length +declare function setMemoizedConfigurableReadOnly( obj: any, prop: PropertyName, fcn: Getter ): void; // EXPORTS // diff --git a/define-memoized-property/docs/types/index.d.ts b/define-memoized-property/docs/types/index.d.ts index ca967150..d727e4bb 100644 --- a/define-memoized-property/docs/types/index.d.ts +++ b/define-memoized-property/docs/types/index.d.ts @@ -70,7 +70,7 @@ interface PropertyDescriptor extends DataPropertyDescriptor { * var v = obj.foo; * // returns 'bar' */ -declare function defineMemoizedProperty( obj: any, prop: PropertyName, desc: PropertyDescriptor ): void; // tslint:disable-line: max-line-length +declare function defineMemoizedProperty( obj: any, prop: PropertyName, desc: PropertyDescriptor ): void; // EXPORTS // diff --git a/define-memoized-read-only-property/docs/types/index.d.ts b/define-memoized-read-only-property/docs/types/index.d.ts index 47715ac8..29537504 100644 --- a/define-memoized-read-only-property/docs/types/index.d.ts +++ b/define-memoized-read-only-property/docs/types/index.d.ts @@ -52,7 +52,7 @@ type Getter = () => any; * var v = obj.foo; * // returns 'bar' */ -declare function setMemoizedReadOnly( obj: any, prop: PropertyName, fcn: Getter ): void; // tslint:disable-line: max-line-length +declare function setMemoizedReadOnly( obj: any, prop: PropertyName, fcn: Getter ): void; // EXPORTS // diff --git a/define-nonenumerable-property/docs/types/index.d.ts b/define-nonenumerable-property/docs/types/index.d.ts index f45f0c36..821b92be 100644 --- a/define-nonenumerable-property/docs/types/index.d.ts +++ b/define-nonenumerable-property/docs/types/index.d.ts @@ -46,7 +46,7 @@ import { PropertyName } from '@stdlib/types/object'; * var keys = objectKeys( obj ); * // returns [] */ -declare function setNonEnumerableProperty( obj: any, prop: PropertyName, value: any ): void; // tslint:disable-line: max-line-length +declare function setNonEnumerableProperty( obj: any, prop: PropertyName, value: any ): void; // EXPORTS // diff --git a/define-nonenumerable-read-only-accessor/docs/types/index.d.ts b/define-nonenumerable-read-only-accessor/docs/types/index.d.ts index 2bf1c4ef..020d1ef7 100644 --- a/define-nonenumerable-read-only-accessor/docs/types/index.d.ts +++ b/define-nonenumerable-read-only-accessor/docs/types/index.d.ts @@ -55,7 +55,7 @@ type Getter = () => any; * console.error( err.message ); * } */ -declare function setNonEnumerableReadOnlyAccessor( obj: any, prop: PropertyName, getter: Getter ): void; // tslint:disable-line: max-line-length +declare function setNonEnumerableReadOnlyAccessor( obj: any, prop: PropertyName, getter: Getter ): void; // EXPORTS // diff --git a/define-nonenumerable-read-only-property/docs/types/index.d.ts b/define-nonenumerable-read-only-property/docs/types/index.d.ts index 150388b2..6358c9c3 100644 --- a/define-nonenumerable-read-only-property/docs/types/index.d.ts +++ b/define-nonenumerable-read-only-property/docs/types/index.d.ts @@ -44,7 +44,7 @@ import { PropertyName } from '@stdlib/types/object'; * console.error( err.message ); * } */ -declare function setNonEnumerableReadOnly( obj: any, prop: PropertyName, value: any ): void; // tslint:disable-line: max-line-length +declare function setNonEnumerableReadOnly( obj: any, prop: PropertyName, value: any ): void; // EXPORTS // diff --git a/define-nonenumerable-read-write-accessor/docs/types/index.d.ts b/define-nonenumerable-read-write-accessor/docs/types/index.d.ts index 5a7cb05c..87242e92 100644 --- a/define-nonenumerable-read-write-accessor/docs/types/index.d.ts +++ b/define-nonenumerable-read-write-accessor/docs/types/index.d.ts @@ -70,7 +70,7 @@ type Setter = ( x: any ) => void; * v = obj.foo; * // returns 'beep foo' */ -declare function setNonEnumerableReadWriteAccessor( obj: any, prop: PropertyName, getter: Getter, setter: Setter ): void; // tslint:disable-line: max-line-length +declare function setNonEnumerableReadWriteAccessor( obj: any, prop: PropertyName, getter: Getter, setter: Setter ): void; // EXPORTS // diff --git a/define-nonenumerable-write-only-accessor/docs/types/index.d.ts b/define-nonenumerable-write-only-accessor/docs/types/index.d.ts index 829e6e7a..6c270ec5 100644 --- a/define-nonenumerable-write-only-accessor/docs/types/index.d.ts +++ b/define-nonenumerable-write-only-accessor/docs/types/index.d.ts @@ -52,7 +52,7 @@ type Setter = ( x: any ) => void; * * obj.foo = 'beep'; */ -declare function setNonEnumerableWriteOnlyAccessor( obj: any, prop: PropertyName, setter: Setter ): void; // tslint:disable-line: max-line-length +declare function setNonEnumerableWriteOnlyAccessor( obj: any, prop: PropertyName, setter: Setter ): void; // EXPORTS // diff --git a/define-property/docs/types/index.d.ts b/define-property/docs/types/index.d.ts index 360ef8ae..ce795141 100644 --- a/define-property/docs/types/index.d.ts +++ b/define-property/docs/types/index.d.ts @@ -44,7 +44,7 @@ import { PropertyName, PropertyDescriptor } from '@stdlib/types/object'; * var str = obj.foo; * // returns 'bar' */ -declare function defineProperty( obj: any, prop: PropertyName, descriptor: PropertyDescriptor ): any; // tslint:disable-line: max-line-length +declare function defineProperty( obj: any, prop: PropertyName, descriptor: PropertyDescriptor ): any; // EXPORTS // diff --git a/define-read-only-accessor/docs/types/index.d.ts b/define-read-only-accessor/docs/types/index.d.ts index b2a26ca0..55e17b56 100644 --- a/define-read-only-accessor/docs/types/index.d.ts +++ b/define-read-only-accessor/docs/types/index.d.ts @@ -55,7 +55,7 @@ type Getter = () => any; * console.error( err.message ); * } */ -declare function setReadOnlyAccessor( obj: any, prop: PropertyName, getter: Getter ): void; // tslint:disable-line: max-line-length +declare function setReadOnlyAccessor( obj: any, prop: PropertyName, getter: Getter ): void; // EXPORTS // diff --git a/define-read-only-property/docs/types/index.d.ts b/define-read-only-property/docs/types/index.d.ts index b3e43bc0..e6876761 100644 --- a/define-read-only-property/docs/types/index.d.ts +++ b/define-read-only-property/docs/types/index.d.ts @@ -44,7 +44,7 @@ import { PropertyName } from '@stdlib/types/object'; * console.error( err.message ); * } */ -declare function setReadOnly( obj: any, prop: PropertyName, value: any ): void; // tslint:disable-line: max-line-length +declare function setReadOnly( obj: any, prop: PropertyName, value: any ): void; // EXPORTS // diff --git a/define-read-write-accessor/docs/types/index.d.ts b/define-read-write-accessor/docs/types/index.d.ts index 1611b748..7080cab6 100644 --- a/define-read-write-accessor/docs/types/index.d.ts +++ b/define-read-write-accessor/docs/types/index.d.ts @@ -70,7 +70,7 @@ type Setter = ( x: any ) => void; * v = obj.foo; * // returns 'beep foo' */ -declare function setReadWriteAccessor( obj: any, prop: PropertyName, getter: Getter, setter: Setter ): void; // tslint:disable-line: max-line-length +declare function setReadWriteAccessor( obj: any, prop: PropertyName, getter: Getter, setter: Setter ): void; // EXPORTS // diff --git a/define-write-only-accessor/docs/types/index.d.ts b/define-write-only-accessor/docs/types/index.d.ts index 4251fc46..3801abae 100644 --- a/define-write-only-accessor/docs/types/index.d.ts +++ b/define-write-only-accessor/docs/types/index.d.ts @@ -52,7 +52,7 @@ type Setter = ( x: any ) => void; * * obj.foo = 'beep'; */ -declare function setWriteOnlyAccessor( obj: any, prop: PropertyName, setter: Setter ): void; // tslint:disable-line: max-line-length +declare function setWriteOnlyAccessor( obj: any, prop: PropertyName, setter: Setter ): void; // EXPORTS // diff --git a/do-until/docs/types/index.d.ts b/do-until/docs/types/index.d.ts index d45d582d..d74d3559 100644 --- a/do-until/docs/types/index.d.ts +++ b/do-until/docs/types/index.d.ts @@ -51,7 +51,7 @@ type Predicate = ( i: number ) => boolean; * * doUntil( beep, predicate ); */ -declare function doUntil( fcn: Function, predicate: Predicate, thisArg?: any ): void; // tslint:disable-line: max-line-length +declare function doUntil( fcn: Function, predicate: Predicate, thisArg?: any ): void; // EXPORTS // diff --git a/do-while/docs/types/index.d.ts b/do-while/docs/types/index.d.ts index 7573f7f4..a5dd0e93 100644 --- a/do-while/docs/types/index.d.ts +++ b/do-while/docs/types/index.d.ts @@ -51,7 +51,7 @@ type Predicate = ( i: number ) => boolean; * * doWhile( beep, predicate ); */ -declare function doWhile( fcn: Function, predicate: Predicate, thisArg?: any ): void; // tslint:disable-line: max-line-length +declare function doWhile( fcn: Function, predicate: Predicate, thisArg?: any ): void; // EXPORTS // diff --git a/docs/types/index.d.ts b/docs/types/index.d.ts index 183396d0..e114662b 100644 --- a/docs/types/index.d.ts +++ b/docs/types/index.d.ts @@ -18,8 +18,7 @@ // TypeScript Version: 4.1 -/* tslint:disable:max-line-length */ -/* tslint:disable:max-file-line-count */ +/* eslint-disable max-lines */ import any = require( './../../any' ); import anyBy = require( './../../any-by' ); diff --git a/doubly-linked-list/docs/types/index.d.ts b/doubly-linked-list/docs/types/index.d.ts index 75c59258..8559d671 100644 --- a/doubly-linked-list/docs/types/index.d.ts +++ b/doubly-linked-list/docs/types/index.d.ts @@ -173,7 +173,7 @@ declare class DoublyLinkedList { * len = list.length; * // returns 4 */ - insert( node: Node, value: any, location?: 'before' | 'after' ): DoublyLinkedList; // tslint-disable-line max-line-length + insert( node: Node, value: any, location?: 'before' | 'after' ): DoublyLinkedList; /** * Returns an iterator for iterating over a list. diff --git a/dsv/base/docs/types/index.d.ts b/dsv/base/docs/types/index.d.ts index 82e6ce6c..dc06f1b6 100644 --- a/dsv/base/docs/types/index.d.ts +++ b/dsv/base/docs/types/index.d.ts @@ -18,8 +18,7 @@ // TypeScript Version: 4.1 -/* tslint:disable:max-line-length */ -/* tslint:disable:max-file-line-count */ +/* eslint-disable max-lines */ import parse = require( './../../../../dsv/base/parse' ); diff --git a/dsv/docs/types/index.d.ts b/dsv/docs/types/index.d.ts index 53a00723..f7b95df3 100644 --- a/dsv/docs/types/index.d.ts +++ b/dsv/docs/types/index.d.ts @@ -18,8 +18,7 @@ // TypeScript Version: 4.1 -/* tslint:disable:max-line-length */ -/* tslint:disable:max-file-line-count */ +/* eslint-disable max-lines */ import base = require( './../../../dsv/base' ); diff --git a/filter-arguments/docs/types/index.d.ts b/filter-arguments/docs/types/index.d.ts index b6acae90..7c28ca80 100644 --- a/filter-arguments/docs/types/index.d.ts +++ b/filter-arguments/docs/types/index.d.ts @@ -49,7 +49,7 @@ * var out = bar( 1, 2, 3 ); * // returns [ 1, 3 ] */ -declare function filterArguments( fcn: Function, predicate: Function, thisArg?: any ): Function; // tslint-disable-line max-line-length +declare function filterArguments( fcn: Function, predicate: Function, thisArg?: any ): Function; // EXPORTS // diff --git a/group-in/docs/types/index.d.ts b/group-in/docs/types/index.d.ts index badbd9d2..3a622850 100644 --- a/group-in/docs/types/index.d.ts +++ b/group-in/docs/types/index.d.ts @@ -181,7 +181,7 @@ declare function groupIn( obj: any, indicator: Indicator ): any; * var out = groupIn( obj, opts, indicator ); * // e.g., returns { 'b': [ [ 'a', 'beep' ], [ 'b', 'boop' ], [ 'd', 'bar' ] ], 'f': [ [ 'c', 'foo' ] ] } */ -declare function groupIn( obj: any, options: Options, indicator: Indicator ): any; // tslint-disable-line max-line-length +declare function groupIn( obj: any, options: Options, indicator: Indicator ): any; // EXPORTS // diff --git a/group-own/docs/types/index.d.ts b/group-own/docs/types/index.d.ts index 0c992bae..fc10b592 100644 --- a/group-own/docs/types/index.d.ts +++ b/group-own/docs/types/index.d.ts @@ -173,7 +173,7 @@ declare function groupOwn( obj: any, indicator: Indicator ): any; * var out = groupOwn( obj, opts, indicator ); * // e.g., returns { 'b': [ [ 'a', 'beep' ], [ 'b', 'boop' ], [ 'd', 'bar' ] ], 'f': [ [ 'c', 'foo' ] ] } */ -declare function groupOwn( obj: any, options: Options, indicator: Indicator ): any; // tslint-disable-line max-line-length +declare function groupOwn( obj: any, options: Options, indicator: Indicator ): any; // EXPORTS // diff --git a/inherited-enumerable-properties/docs/types/index.d.ts b/inherited-enumerable-properties/docs/types/index.d.ts index 0363ab39..d4c6781e 100644 --- a/inherited-enumerable-properties/docs/types/index.d.ts +++ b/inherited-enumerable-properties/docs/types/index.d.ts @@ -34,7 +34,7 @@ * @example * var props = inheritedEnumerableProperties( {} ); */ -declare function inheritedEnumerableProperties( value: any, level?: number ): Array; // tslint:disable-line: max-line-length +declare function inheritedEnumerableProperties( value: any, level?: number ): Array; // EXPORTS // diff --git a/inherited-enumerable-property-symbols/docs/types/index.d.ts b/inherited-enumerable-property-symbols/docs/types/index.d.ts index a9614634..ba3f8e75 100644 --- a/inherited-enumerable-property-symbols/docs/types/index.d.ts +++ b/inherited-enumerable-property-symbols/docs/types/index.d.ts @@ -34,7 +34,7 @@ * @example * var symbols = inheritedEnumerablePropertySymbols( [] ); */ -declare function inheritedEnumerablePropertySymbols( value: any, level?: number ): Array; // tslint:disable-line: max-line-length +declare function inheritedEnumerablePropertySymbols( value: any, level?: number ): Array; // EXPORTS // diff --git a/inherited-keys/docs/types/index.d.ts b/inherited-keys/docs/types/index.d.ts index eea680b3..933badfe 100644 --- a/inherited-keys/docs/types/index.d.ts +++ b/inherited-keys/docs/types/index.d.ts @@ -34,7 +34,7 @@ * @example * var keys = inheritedKeys( {} ); */ -declare function inheritedKeys( value: any, level?: number ): Array; // tslint:disable-line: max-line-length +declare function inheritedKeys( value: any, level?: number ): Array; // EXPORTS // diff --git a/inherited-nonenumerable-properties/docs/types/index.d.ts b/inherited-nonenumerable-properties/docs/types/index.d.ts index 421bf371..a86e9154 100644 --- a/inherited-nonenumerable-properties/docs/types/index.d.ts +++ b/inherited-nonenumerable-properties/docs/types/index.d.ts @@ -34,7 +34,7 @@ * @example * var props = inheritedNonEnumerableProperties( {} ); */ -declare function inheritedNonEnumerableProperties( value: any, level?: number ): Array; // tslint:disable-line: max-line-length +declare function inheritedNonEnumerableProperties( value: any, level?: number ): Array; // EXPORTS // diff --git a/inherited-nonenumerable-property-names/docs/types/index.d.ts b/inherited-nonenumerable-property-names/docs/types/index.d.ts index 3bc47091..cc228346 100644 --- a/inherited-nonenumerable-property-names/docs/types/index.d.ts +++ b/inherited-nonenumerable-property-names/docs/types/index.d.ts @@ -34,7 +34,7 @@ * @example * var keys = inheritedNonEnumerablePropertyNames( {} ); */ -declare function inheritedNonEnumerablePropertyNames( value: any, level?: number ): Array; // tslint:disable-line: max-line-length +declare function inheritedNonEnumerablePropertyNames( value: any, level?: number ): Array; // EXPORTS // diff --git a/inherited-nonenumerable-property-symbols/docs/types/index.d.ts b/inherited-nonenumerable-property-symbols/docs/types/index.d.ts index 02ebc758..86e95679 100644 --- a/inherited-nonenumerable-property-symbols/docs/types/index.d.ts +++ b/inherited-nonenumerable-property-symbols/docs/types/index.d.ts @@ -34,7 +34,7 @@ * @example * var symbols = inheritedNonEnumerablePropertySymbols( [] ); */ -declare function inheritedNonEnumerablePropertySymbols( value: any, level?: number ): Array; // tslint:disable-line: max-line-length +declare function inheritedNonEnumerablePropertySymbols( value: any, level?: number ): Array; // EXPORTS // diff --git a/inherited-properties/docs/types/index.d.ts b/inherited-properties/docs/types/index.d.ts index 8bac0d6a..b1e70e3a 100644 --- a/inherited-properties/docs/types/index.d.ts +++ b/inherited-properties/docs/types/index.d.ts @@ -34,7 +34,7 @@ * var props = inheritedProperties( [] ); * // returns [...] */ -declare function inheritedProperties( value: any, level?: number ): Array; // tslint:disable-line: max-line-length +declare function inheritedProperties( value: any, level?: number ): Array; // EXPORTS // diff --git a/inherited-property-descriptor/docs/types/index.d.ts b/inherited-property-descriptor/docs/types/index.d.ts index 00bd6021..e2b6b83d 100644 --- a/inherited-property-descriptor/docs/types/index.d.ts +++ b/inherited-property-descriptor/docs/types/index.d.ts @@ -36,7 +36,7 @@ * var desc = inheritedPropertyDescriptor( {}, 'toString' ); * // returns {...} */ -declare function inheritedPropertyDescriptor( value: any, property: string | symbol, level?: number ): TypedPropertyDescriptor | null; // tslint-disable-line max-line-length +declare function inheritedPropertyDescriptor( value: any, property: string | symbol, level?: number ): TypedPropertyDescriptor | null; // EXPORTS // diff --git a/inherited-property-descriptors/docs/types/index.d.ts b/inherited-property-descriptors/docs/types/index.d.ts index 361f6c0f..f542bb96 100644 --- a/inherited-property-descriptors/docs/types/index.d.ts +++ b/inherited-property-descriptors/docs/types/index.d.ts @@ -35,7 +35,7 @@ * var desc = inheritedPropertyDescriptors( [] ); * // returns {...} */ -declare function inheritedPropertyDescriptors( value: any, level?: number ): Object; // tslint:disable-line: max-line-length +declare function inheritedPropertyDescriptors( value: any, level?: number ): Object; // EXPORTS // diff --git a/inherited-property-names/docs/types/index.d.ts b/inherited-property-names/docs/types/index.d.ts index d5c1375e..29153923 100644 --- a/inherited-property-names/docs/types/index.d.ts +++ b/inherited-property-names/docs/types/index.d.ts @@ -34,7 +34,7 @@ * @example * var keys = inheritedPropertyNames( [] ); */ -declare function inheritedPropertyNames( value: any, level?: number ): Array; // tslint:disable-line: max-line-length +declare function inheritedPropertyNames( value: any, level?: number ): Array; // EXPORTS // diff --git a/inherited-property-symbols/docs/types/index.d.ts b/inherited-property-symbols/docs/types/index.d.ts index ad58d0de..4167662e 100644 --- a/inherited-property-symbols/docs/types/index.d.ts +++ b/inherited-property-symbols/docs/types/index.d.ts @@ -33,7 +33,7 @@ * @example * var symbols = inheritedPropertySymbols( [] ); */ -declare function inheritedPropertySymbols( value: any, level?: number ): Array; // tslint:disable-line: max-line-length +declare function inheritedPropertySymbols( value: any, level?: number ): Array; // EXPORTS // diff --git a/inherited-writable-properties/docs/types/index.d.ts b/inherited-writable-properties/docs/types/index.d.ts index d1f9770c..287f68b8 100644 --- a/inherited-writable-properties/docs/types/index.d.ts +++ b/inherited-writable-properties/docs/types/index.d.ts @@ -34,7 +34,7 @@ * @example * var props = inheritedWritableProperties( {} ); */ -declare function inheritedWritableProperties( value: any, level?: number ): Array; // tslint:disable-line: max-line-length +declare function inheritedWritableProperties( value: any, level?: number ): Array; // EXPORTS // diff --git a/inherited-writable-property-names/docs/types/index.d.ts b/inherited-writable-property-names/docs/types/index.d.ts index 771bc2cb..14d176f9 100644 --- a/inherited-writable-property-names/docs/types/index.d.ts +++ b/inherited-writable-property-names/docs/types/index.d.ts @@ -34,7 +34,7 @@ * @example * var keys = inheritedWritablePropertyNames( {} ); */ -declare function inheritedWritablePropertyNames( value: any, level?: number ): Array; // tslint:disable-line: max-line-length +declare function inheritedWritablePropertyNames( value: any, level?: number ): Array; // EXPORTS // diff --git a/inherited-writable-property-symbols/docs/types/index.d.ts b/inherited-writable-property-symbols/docs/types/index.d.ts index 46ab7e00..d438a8e2 100644 --- a/inherited-writable-property-symbols/docs/types/index.d.ts +++ b/inherited-writable-property-symbols/docs/types/index.d.ts @@ -34,7 +34,7 @@ * @example * var symbols = inheritedWritablePropertySymbols( [] ); */ -declare function inheritedWritablePropertySymbols( value: any, level?: number ): Array; // tslint:disable-line: max-line-length +declare function inheritedWritablePropertySymbols( value: any, level?: number ): Array; // EXPORTS // diff --git a/library-manifest/docs/types/index.d.ts b/library-manifest/docs/types/index.d.ts index 2248684c..4a032128 100644 --- a/library-manifest/docs/types/index.d.ts +++ b/library-manifest/docs/types/index.d.ts @@ -47,7 +47,7 @@ interface Options { * @example * var conf = manifest( './manifest.json', {} ); */ -declare function manifest( fpath: string, conditions: any, options?: Options ): any; // tslint-disable-line max-line-length +declare function manifest( fpath: string, conditions: any, options?: Options ): any; // EXPORTS // diff --git a/map-arguments/docs/types/index.d.ts b/map-arguments/docs/types/index.d.ts index f6f78717..8a7e22b5 100644 --- a/map-arguments/docs/types/index.d.ts +++ b/map-arguments/docs/types/index.d.ts @@ -47,7 +47,7 @@ * var out = bar( 1, 2, 3 ); * // returns [ 2, 4, 6 ] */ -declare function mapArguments( fcn: Function, clbk: Function, thisArg?: any ): Function; // tslint-disable-line max-line-length +declare function mapArguments( fcn: Function, clbk: Function, thisArg?: any ): Function; // EXPORTS // diff --git a/move-property/docs/types/index.d.ts b/move-property/docs/types/index.d.ts index 3dd41d6b..3dcbdbce 100644 --- a/move-property/docs/types/index.d.ts +++ b/move-property/docs/types/index.d.ts @@ -45,7 +45,7 @@ * var bool = moveProperty( obj1, 'c', obj2 ); * // returns false */ -declare function moveProperty( source: any, prop: string, target: any ): boolean; // tslint-disable-line max-line-length +declare function moveProperty( source: any, prop: string, target: any ): boolean; // EXPORTS // diff --git a/named-typed-tuple/docs/types/index.d.ts b/named-typed-tuple/docs/types/index.d.ts index aeb8bc8b..859c0ddd 100644 --- a/named-typed-tuple/docs/types/index.d.ts +++ b/named-typed-tuple/docs/types/index.d.ts @@ -28,7 +28,7 @@ import { TypedArray } from '@stdlib/types/array'; // Define a union type representing both iterable and non-iterable iterators: type Iterator = Iter | IterableIterator; -type DType = 'float64' | 'float32' | 'int32' | 'uint32' | 'int16' | 'uint16' | 'int8' | 'uint8' | 'uint8c'; // tslint-disable-line max-line-length +type DType = 'float64' | 'float32' | 'int32' | 'uint32' | 'int16' | 'uint16' | 'int8' | 'uint8' | 'uint8c'; /** * Interface defining options. @@ -82,7 +82,7 @@ type Ternary = ( value: number, index: number, field: string ) => void; * @param field - tuple field name * @param tuple - tuple on which the method is invoked */ -type Quaternary = ( value: any, index: number, field: string, tuple: Tuple ) => void; // tslint-disable-line max-line-length +type Quaternary = ( value: any, index: number, field: string, tuple: Tuple ) => void; /** * Function invoked for each tuple element. @@ -126,7 +126,7 @@ type BinaryPredicate = ( value: number, index: number ) => boolean; * @param field - tuple field name * @returns boolean indicating whether tuple element passes a test */ -type TernaryPredicate = ( value: number, index: number, field: string ) => boolean; // tslint-disable-line max-line-length +type TernaryPredicate = ( value: number, index: number, field: string ) => boolean; /** * Predicate function which tests tuple elements. @@ -137,7 +137,7 @@ type TernaryPredicate = ( value: number, index: number, field: string ) => boole * @param tuple - tuple on which the method is invoked * @returns boolean indicating whether tuple element passes a test */ -type QuaternaryPredicate = ( value: any, index: number, field: string, tuple: Tuple ) => boolean; // tslint-disable-line max-line-length +type QuaternaryPredicate = ( value: any, index: number, field: string, tuple: Tuple ) => boolean; /** * Predicate function which tests tuple elements. @@ -148,7 +148,7 @@ type QuaternaryPredicate = ( value: any, index: number, field: string, tuple: Tu * @param tuple - tuple on which the method is invoked * @returns boolean indicating whether tuple element passes a test */ -type PredicateFunction = NullaryPredicate | UnaryPredicate | BinaryPredicate | TernaryPredicate | QuaternaryPredicate; // tslint-disable-line max-line-length +type PredicateFunction = NullaryPredicate | UnaryPredicate | BinaryPredicate | TernaryPredicate | QuaternaryPredicate; /** * Function applied against an accumulator. @@ -193,7 +193,7 @@ type TernaryReducer = ( acc: any, value: number, index: number ) => any; * @param field - tuple field name * @returns value assigned to the accumulator */ -type QuaternaryReducer = ( acc: any, value: number, index: number, field: string ) => any; // tslint-disable-line max-line-length +type QuaternaryReducer = ( acc: any, value: number, index: number, field: string ) => any; /** * Function applied against an accumulator. @@ -205,7 +205,7 @@ type QuaternaryReducer = ( acc: any, value: number, index: number, field: string * @param tuple - tuple on which the method is invoked * @returns value assigned to the accumulator */ -type QuinaryReducer = ( acc: any, value: number, index: number, field: string, tuple: Tuple ) => any; // tslint-disable-line max-line-length +type QuinaryReducer = ( acc: any, value: number, index: number, field: string, tuple: Tuple ) => any; /** * Function applied against an accumulator. @@ -217,7 +217,7 @@ type QuinaryReducer = ( acc: any, value: number, index: number, field: string, t * @param tuple - tuple on which the method is invoked * @returns value assigned to the accumulator */ -type Reducer = NullaryReducer | UnaryReducer | BinaryReducer | TernaryReducer | QuaternaryReducer | QuinaryReducer; // tslint-disable-line max-line-length +type Reducer = NullaryReducer | UnaryReducer | BinaryReducer | TernaryReducer | QuaternaryReducer | QuinaryReducer; /** * Function which specifies the sort order. @@ -279,7 +279,7 @@ type FactoryTernary = ( value: number, index: number, field: string ) => number; * @param field - tuple field * @returns transformed value */ -type FactoryCallback = FactoryNullary | FactoryUnary | FactoryBinary | FactoryTernary; // tslint-disable-line max-line-length +type FactoryCallback = FactoryNullary | FactoryUnary | FactoryBinary | FactoryTernary; /** * Callback invoked for each field. @@ -312,7 +312,7 @@ type FactoryObjectBinary = ( value: number, field: string ) => number; * @param field - source object tuple field name * @returns transformed value */ -type FactoryObjectCallback = FactoryObjectNullary | FactoryObjectUnary | FactoryObjectBinary; // tslint-disable-line max-line-length +type FactoryObjectCallback = FactoryObjectNullary | FactoryObjectUnary | FactoryObjectBinary; /** * Named typed tuple. @@ -651,7 +651,7 @@ interface Tuple { * var field = tuple.findField( predicate ); * // returns 'z' */ - findField( predicate: PredicateFunction, thisArg?: any ): string | undefined; // tslint-disable-line max-line-length + findField( predicate: PredicateFunction, thisArg?: any ): string | undefined; /** * Returns the index of the first tuple element for which a provided `predicate` function returns a truthy value. @@ -672,7 +672,7 @@ interface Tuple { * var idx = tuple.findIndex( predicate ); * // returns 2 */ - findIndex( predicate: PredicateFunction, thisArg?: any ): number | undefined; // tslint-disable-line max-line-length + findIndex( predicate: PredicateFunction, thisArg?: any ): number | undefined; /** * Invokes a callback for each tuple element. @@ -846,7 +846,7 @@ interface Tuple { * field = tuple.lastFieldOf( 2.0 ); * // returns undefined */ - lastFieldOf( searchElement: number, fromIndex?: number ): string | undefined; // tslint-disable-line max-line-length + lastFieldOf( searchElement: number, fromIndex?: number ): string | undefined; /** * Returns the index of the last tuple element strictly equal to a search element, iterating from right to left. @@ -866,7 +866,7 @@ interface Tuple { * idx = tuple.lastIndexOf( 2.0 ); * // returns -1 */ - lastIndexOf( searchElement: number, fromIndex?: number ): number | undefined; // tslint-disable-line max-line-length + lastIndexOf( searchElement: number, fromIndex?: number ): number | undefined; /** * Maps each tuple element to an element in a new tuple having the same data type as the host tuple. @@ -1394,7 +1394,7 @@ interface Factory { * y = tuple[ 1 ]; * // returns -1.0 */ - ( obj: TypedArray | ArrayLike | Iterable, dtype?: DType ): Tuple; // tslint-disable-line max-line-length + ( obj: TypedArray | ArrayLike | Iterable, dtype?: DType ): Tuple; /** * Returns a named typed tuple view of an ArrayBuffer. @@ -1431,7 +1431,7 @@ interface Factory { * y = tuple[ 1 ]; * // returns -1.0 */ - from( src: ArrayLike | Iterable, map?: FactoryCallback, thisArg?: any ): Tuple; // tslint-disable-line max-line-length + from( src: ArrayLike | Iterable, map?: FactoryCallback, thisArg?: any ): Tuple; /** * Creates a new named typed tuple from an object containing tuple fields. @@ -1521,7 +1521,7 @@ interface Factory { * y = p.y; * // returns -1.0 */ -declare function namedtypedtuple( names: Array, options?: Options ): Factory; // tslint-disable-line max-line-length +declare function namedtypedtuple( names: Array, options?: Options ): Factory; // EXPORTS // diff --git a/nary-function/docs/types/index.d.ts b/nary-function/docs/types/index.d.ts index 347d8d29..1f7ebc6d 100644 --- a/nary-function/docs/types/index.d.ts +++ b/nary-function/docs/types/index.d.ts @@ -51,7 +51,7 @@ import { ArrayLike } from '@stdlib/types/array'; * var out = bar( 1, 2, 3, 4, 5, 6 ); * // returns 3 */ -declare function naryFunction( fcn: Function, arity: number, thisArg?: any ): Function; // tslint-disable-line max-line-length +declare function naryFunction( fcn: Function, arity: number, thisArg?: any ): Function; // EXPORTS // diff --git a/object-inverse-by/docs/types/index.d.ts b/object-inverse-by/docs/types/index.d.ts index 30103c71..405f7676 100644 --- a/object-inverse-by/docs/types/index.d.ts +++ b/object-inverse-by/docs/types/index.d.ts @@ -152,7 +152,7 @@ declare function invertBy( obj: any, transform: Transform ): any; * var out = invertBy( obj, opts, transform ); * // returns { 'beep': 'c', 'boop': 'b' } */ -declare function invertBy( obj: any, options: Options, transform: Transform ): any; // tslint-disable-line max-line-length +declare function invertBy( obj: any, options: Options, transform: Transform ): any; // EXPORTS // diff --git a/omit/docs/types/index.d.ts b/omit/docs/types/index.d.ts index ff28a00e..6e293d00 100644 --- a/omit/docs/types/index.d.ts +++ b/omit/docs/types/index.d.ts @@ -40,8 +40,8 @@ * var obj2 = omit( obj1, 'b' ); * // returns { 'a': 1 } */ -declare function omit( obj: T, keys: Array | K ): Omit; // tslint-disable-line max-line-length -declare function omit( obj: T, keys: Array | string ): Partial; // tslint-disable-line max-line-length +declare function omit( obj: T, keys: Array | K ): Omit; +declare function omit( obj: T, keys: Array | string ): Partial; // EXPORTS // diff --git a/papply-right/docs/types/index.d.ts b/papply-right/docs/types/index.d.ts index 61195ca9..e6db50d5 100644 --- a/papply-right/docs/types/index.d.ts +++ b/papply-right/docs/types/index.d.ts @@ -46,7 +46,7 @@ type Closure = ( ...args: Array ) => any; * str = toGrace( 'Thank you' ); * // returns 'Thank you, Grace Hopper.' */ -declare function papplyRight( fcn: Function, ...args: Array ): Closure; // tslint-disable-line max-line-length +declare function papplyRight( fcn: Function, ...args: Array ): Closure; // EXPORTS // diff --git a/parallel/docs/types/index.d.ts b/parallel/docs/types/index.d.ts index 63995459..5da20414 100644 --- a/parallel/docs/types/index.d.ts +++ b/parallel/docs/types/index.d.ts @@ -133,7 +133,7 @@ declare function parallel( files: Array, clbk: Callback ): void; * * parallel( files, opts, done ); */ -declare function parallel( files: Array, options: Options, clbk: Callback ): void; // tslint-disable-line max-line-length +declare function parallel( files: Array, options: Options, clbk: Callback ): void; // EXPORTS // diff --git a/pick-arguments/docs/types/index.d.ts b/pick-arguments/docs/types/index.d.ts index 5f01dd9f..ff1206bd 100644 --- a/pick-arguments/docs/types/index.d.ts +++ b/pick-arguments/docs/types/index.d.ts @@ -40,7 +40,7 @@ import { ArrayLike } from '@stdlib/types/array'; * var out = bar( 1, 2, 3 ); * // returns [ 1, 3 ] */ -declare function pickArguments( fcn: Function, indices: ArrayLike, thisArg?: any ): Function; // tslint-disable-line max-line-length +declare function pickArguments( fcn: Function, indices: ArrayLike, thisArg?: any ): Function; // EXPORTS // diff --git a/pick-by/docs/types/index.d.ts b/pick-by/docs/types/index.d.ts index 0e6c0607..cb0e3122 100644 --- a/pick-by/docs/types/index.d.ts +++ b/pick-by/docs/types/index.d.ts @@ -71,7 +71,7 @@ type Predicate = Nullary | Unary | Binary; * var obj2 = pickBy( obj1, predicate ); * // returns { 'b': 2 } */ -declare function pickBy( obj: T, predicate: Predicate ): Partial; // tslint-disable-line max-line-length +declare function pickBy( obj: T, predicate: Predicate ): Partial; // EXPORTS // diff --git a/pluck/docs/types/index.d.ts b/pluck/docs/types/index.d.ts index 38513947..a29affd7 100644 --- a/pluck/docs/types/index.d.ts +++ b/pluck/docs/types/index.d.ts @@ -65,7 +65,7 @@ interface Options { * var bool = ( arr[ 0 ] === out[ 0 ] ); * // returns true */ -declare function pluck( arr: Array, prop: PropertyName, options?: Options ): Array; // tslint-disable-line max-line-length +declare function pluck( arr: Array, prop: PropertyName, options?: Options ): Array; // EXPORTS // diff --git a/property-descriptor-in/docs/types/index.d.ts b/property-descriptor-in/docs/types/index.d.ts index 09733b9e..92a80a48 100644 --- a/property-descriptor-in/docs/types/index.d.ts +++ b/property-descriptor-in/docs/types/index.d.ts @@ -39,7 +39,7 @@ * var desc = propertyDescriptorIn( obj, 'foo' ); * // returns {'configurable':true,'enumerable':true,'writable':true,'value':3.14} */ -declare function propertyDescriptorIn( value: any, property: string | symbol ): TypedPropertyDescriptor | null; // tslint-disable-line max-line-length +declare function propertyDescriptorIn( value: any, property: string | symbol ): TypedPropertyDescriptor | null; // EXPORTS // diff --git a/property-descriptor/docs/types/index.d.ts b/property-descriptor/docs/types/index.d.ts index c714be38..7877c745 100644 --- a/property-descriptor/docs/types/index.d.ts +++ b/property-descriptor/docs/types/index.d.ts @@ -40,7 +40,7 @@ * var desc = getOwnPropertyDescriptor( obj, 'foo' ); * // returns {'configurable':true,'enumerable':true,'writable':true,'value':3.14} */ -declare function getOwnPropertyDescriptor( value: any, property: string | symbol ): TypedPropertyDescriptor | null; // tslint-disable-line max-line-length +declare function getOwnPropertyDescriptor( value: any, property: string | symbol ): TypedPropertyDescriptor | null; // EXPORTS // diff --git a/reject-arguments/docs/types/index.d.ts b/reject-arguments/docs/types/index.d.ts index 20682ff3..3982616a 100644 --- a/reject-arguments/docs/types/index.d.ts +++ b/reject-arguments/docs/types/index.d.ts @@ -49,7 +49,7 @@ * var out = bar( 1, 2, 3 ); * // returns [ 1, 3 ] */ -declare function rejectArguments( fcn: Function, predicate: Function, thisArg?: any ): Function; // tslint-disable-line max-line-length +declare function rejectArguments( fcn: Function, predicate: Function, thisArg?: any ): Function; // EXPORTS // diff --git a/reorder-arguments/docs/types/index.d.ts b/reorder-arguments/docs/types/index.d.ts index 30be8eaa..f3ae5d00 100644 --- a/reorder-arguments/docs/types/index.d.ts +++ b/reorder-arguments/docs/types/index.d.ts @@ -37,7 +37,7 @@ * var out = bar( 1, 2, 3 ); * // returns [ 3, 1, 2 ] */ -declare function reorderArguments( fcn: Function, indices: Array, thisArg?: any ): Function; // tslint-disable-line max-line-length +declare function reorderArguments( fcn: Function, indices: Array, thisArg?: any ): Function; // EXPORTS // diff --git a/thunk/docs/types/index.d.ts b/thunk/docs/types/index.d.ts index 2a19492e..02dd52de 100644 --- a/thunk/docs/types/index.d.ts +++ b/thunk/docs/types/index.d.ts @@ -37,7 +37,7 @@ * var v = f(); * // returns 5 */ -declare function thunk, U>( fcn: ( ...args: T ) => U, ...args: T ): () => U; // tslint-disable-line max-line-length +declare function thunk, U>( fcn: ( ...args: T ) => U, ...args: T ): () => U; // EXPORTS // diff --git a/uncurry-right/docs/types/index.d.ts b/uncurry-right/docs/types/index.d.ts index 5c55daad..1fe29bf2 100644 --- a/uncurry-right/docs/types/index.d.ts +++ b/uncurry-right/docs/types/index.d.ts @@ -50,7 +50,7 @@ type Closure = ( ...args: Array ) => any; * var sum = add( 3, 2 ); * // returns 5 */ -declare function uncurryRight( fcn: Function, arity?: number, thisArg?: any ): Closure; // tslint-disable-line max-line-length +declare function uncurryRight( fcn: Function, arity?: number, thisArg?: any ): Closure; /** * Transforms a curried function into a function invoked with multiple arguments. diff --git a/uncurry/docs/types/index.d.ts b/uncurry/docs/types/index.d.ts index 350cc66c..65bbbdfc 100644 --- a/uncurry/docs/types/index.d.ts +++ b/uncurry/docs/types/index.d.ts @@ -50,7 +50,7 @@ type Closure = ( ...args: Array ) => any; * var sum = add( 2, 3 ); * // returns 5 */ -declare function uncurry( fcn: Function, arity?: number, thisArg?: any ): Closure; // tslint-disable-line max-line-length +declare function uncurry( fcn: Function, arity?: number, thisArg?: any ): Closure; /** * Transforms a curried function into a function invoked with multiple arguments. diff --git a/unzip/docs/types/index.d.ts b/unzip/docs/types/index.d.ts index c32f20b8..0d2a8ed0 100644 --- a/unzip/docs/types/index.d.ts +++ b/unzip/docs/types/index.d.ts @@ -39,7 +39,7 @@ * var out = unzip( arr, [ 0, 2 ] ); * // returns [ [ 1, 2 ], [ 3, 4 ] ] */ -declare function unzip( arr: Array>, idx?: Array ): Array>; // tslint-disable-line max-line-length +declare function unzip( arr: Array>, idx?: Array ): Array>; // EXPORTS // diff --git a/zip/docs/types/index.d.ts b/zip/docs/types/index.d.ts index 351afaf9..2939ec7e 100644 --- a/zip/docs/types/index.d.ts +++ b/zip/docs/types/index.d.ts @@ -87,7 +87,7 @@ interface Options { * zipped = zip( arr, { 'arrays': true } ); * // returns [ [ 1, 'a' ], [ 2, 'b' ] ] */ -declare function zip( arr0: Array, arr1: Array, options?: Options ): Array>; // tslint:disable-line:max-line-length +declare function zip( arr0: Array, arr1: Array, options?: Options ): Array>; /** * Generates array tuples from input arrays. @@ -137,7 +137,7 @@ declare function zip( arr0: Array, arr1: Array, options?: Options ): A * zipped = zip( arr, { 'arrays': true } ); * // returns [ [ 1, 'a', true ], [ 2, 'b', false ] ] */ -declare function zip( arr0: Array, arr1: Array, arr2: Array, options?: Options ): Array>; // tslint:disable-line:max-line-length +declare function zip( arr0: Array, arr1: Array, arr2: Array, options?: Options ): Array>; /** * Generates array tuples from input arrays. @@ -188,7 +188,7 @@ declare function zip( arr0: Array, arr1: Array, arr2: Array, opti * zipped = zip( arr, { 'arrays': true } ); * // returns [ [ 1, 'a', true, {} ], [ 2, 'b', false, {} ] ] */ -declare function zip( arr0: Array, arr1: Array, arr2: Array, arr3: Array, options?: Options ): Array>; // tslint:disable-line:max-line-length +declare function zip( arr0: Array, arr1: Array, arr2: Array, arr3: Array, options?: Options ): Array>; /** * Generates array tuples from input arrays. @@ -234,7 +234,7 @@ declare function zip( arr0: Array, arr1: Array, arr2: Array, arr3 * zipped = zip( arr, { 'arrays': true } ); * // returns [ [ 1, 'a' ], [ 2, 'b' ] ] */ -declare function zip( arr0: Array, arr1: Array, ...args: Array | Options> ): Array>; // tslint:disable-line:max-line-length +declare function zip( arr0: Array, arr1: Array, ...args: Array | Options> ): Array>; // EXPORTS //