Skip to content

Commit b1209d6

Browse files
committed
refactor: delete obsolete eslint overrides
1 parent 19e4261 commit b1209d6

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

‎index.ts‎

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,28 +6,20 @@ import {
66
equal as defaultEqual
77
} from "@softwareventures/ordered";
88

9-
// eslint-disable-next-line @typescript-eslint/unbound-method
109
const nativeSlice = Array.prototype.slice;
1110

12-
// eslint-disable-next-line @typescript-eslint/unbound-method
1311
const nativeReverse = Array.prototype.reverse;
1412

15-
// eslint-disable-next-line @typescript-eslint/unbound-method
1613
const nativeConcat = Array.prototype.concat;
1714

18-
// eslint-disable-next-line @typescript-eslint/unbound-method
1915
const nativeFilter = Array.prototype.filter;
2016

21-
// eslint-disable-next-line @typescript-eslint/unbound-method
2217
const nativeReduce = Array.prototype.reduce;
2318

24-
// eslint-disable-next-line @typescript-eslint/unbound-method
2519
const nativeReduceRight = Array.prototype.reduceRight;
2620

27-
// eslint-disable-next-line @typescript-eslint/unbound-method
2821
const nativeIndexOf = Array.prototype.indexOf;
2922

30-
// eslint-disable-next-line @typescript-eslint/unbound-method
3123
const nativeFindIndex = Array.prototype.findIndex;
3224

3325
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
@@ -41,15 +33,13 @@ export const copy: <T>(array: ArrayLike<T>) => T[] = Array.from;
4133

4234
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
4335
// @ts-ignore duplicate identifier: This is the exported declaration, the implementation is below.
44-
// eslint-disable-next-line @typescript-eslint/no-redundant-type-constituents
4536
export function isArray(value: unknown): value is readonly unknown[];
4637

4738
/** @internal This implementation is for internal use only, the exported declaration is above */
4839
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
4940
// @ts-ignore duplicate identifier: This is the actual implementation, the exported declaration is above.
5041
export const isArray: (value: unknown) => value is unknown[] = Array.isArray;
5142

52-
// eslint-disable-next-line @typescript-eslint/no-redundant-type-constituents
5343
export function isArrayLike(value: unknown): value is ArrayLike<unknown> {
5444
return (
5545
typeof value === "object" &&

0 commit comments

Comments
 (0)