Skip to content

Commit

Permalink
build: replace lint directives
Browse files Browse the repository at this point in the history
  • Loading branch information
Planeshifter committed Nov 3, 2023
1 parent 3653808 commit d73bbf4
Show file tree
Hide file tree
Showing 152 changed files with 153 additions and 305 deletions.
3 changes: 1 addition & 2 deletions docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@

// TypeScript Version: 4.1

/* tslint:disable:max-line-length */
/* tslint:disable:max-file-line-count */
/* eslint-disable max-lines */

import array = require( '@stdlib/array' );
import assert = require( '@stdlib/assert' );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
* limitations under the License.
*/

/* eslint-disable node/no-sync, node/shebang, no-console */
/* eslint-disable node/no-sync, no-console */

'use strict';

Expand Down Expand Up @@ -121,8 +121,7 @@ function createDefinitionFile( ns, imports, properties, description ) {
'',
'// TypeScript Version: 4.1',
'',
'/* tslint:disable:max-line-length */',
'/* tslint:disable:max-file-line-count */',
'/* eslint-disable max-lines */',
'',
imports.join( '\n' ),
'',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@

// TypeScript Version: 4.1

/* tslint:disable:max-line-length */
/* tslint:disable:max-file-line-count */
/* eslint-disable max-lines */

import contains = require( '@stdlib/array/base/assert/contains' );
import isAccessorArray = require( '@stdlib/array/base/assert/is-accessor-array' );
Expand Down
3 changes: 1 addition & 2 deletions lib/node_modules/@stdlib/array/base/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@

// TypeScript Version: 4.1

/* tslint:disable:max-line-length */
/* tslint:disable:max-file-line-count */
/* eslint-disable max-lines */

import AccessorArray = require( '@stdlib/array/base/accessor' );
import accessorGetter = require( '@stdlib/array/base/accessor-getter' );
Expand Down
3 changes: 1 addition & 2 deletions lib/node_modules/@stdlib/array/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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( '@stdlib/array/base' );
import ArrayBuffer = require( '@stdlib/array/buffer' );
Expand Down
3 changes: 1 addition & 2 deletions lib/node_modules/@stdlib/assert/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@

// TypeScript Version: 4.1

/* tslint:disable:max-line-length */
/* tslint:disable:max-file-line-count */
/* eslint-disable max-lines */

import contains = require( '@stdlib/assert/contains' );
import deepEqual = require( '@stdlib/assert/deep-equal' );
Expand Down
3 changes: 1 addition & 2 deletions lib/node_modules/@stdlib/assert/tools/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@

// TypeScript Version: 4.1

/* tslint:disable:max-line-length */
/* tslint:disable:max-file-line-count */
/* eslint-disable max-lines */

import arrayfcn = require( '@stdlib/assert/tools/array-function' );
import arraylikefcn = require( '@stdlib/assert/tools/array-like-function' );
Expand Down
3 changes: 1 addition & 2 deletions lib/node_modules/@stdlib/bigint/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@

// TypeScript Version: 4.1

/* tslint:disable:max-line-length */
/* tslint:disable:max-file-line-count */
/* eslint-disable max-lines */

import BigInt = require( '@stdlib/bigint/ctor' );

Expand Down
3 changes: 1 addition & 2 deletions lib/node_modules/@stdlib/blas/base/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@

// TypeScript Version: 4.1

/* tslint:disable:max-line-length */
/* tslint:disable:max-file-line-count */
/* eslint-disable max-lines */

import ccopy = require( '@stdlib/blas/base/ccopy' );
import cswap = require( '@stdlib/blas/base/cswap' );
Expand Down
3 changes: 1 addition & 2 deletions lib/node_modules/@stdlib/blas/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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( '@stdlib/blas/base' );
import ddot = require( '@stdlib/blas/ddot' );
Expand Down
3 changes: 1 addition & 2 deletions lib/node_modules/@stdlib/blas/ext/base/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@

// TypeScript Version: 4.1

/* tslint:disable:max-line-length */
/* tslint:disable:max-file-line-count */
/* eslint-disable max-lines */

import dapx = require( '@stdlib/blas/ext/base/dapx' );
import dapxsum = require( '@stdlib/blas/ext/base/dapxsum' );
Expand Down
3 changes: 1 addition & 2 deletions lib/node_modules/@stdlib/blas/ext/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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( '@stdlib/blas/ext/base' );

Expand Down
3 changes: 1 addition & 2 deletions lib/node_modules/@stdlib/boolean/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@

// TypeScript Version: 4.1

/* tslint:disable:max-line-length */
/* tslint:disable:max-file-line-count */
/* eslint-disable max-lines */

import Boolean = require( '@stdlib/boolean/ctor' );

Expand Down
3 changes: 1 addition & 2 deletions lib/node_modules/@stdlib/buffer/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@

// TypeScript Version: 4.1

/* tslint:disable:max-line-length */
/* tslint:disable:max-file-line-count */
/* eslint-disable max-lines */

import allocUnsafe = require( '@stdlib/buffer/alloc-unsafe' );
import Buffer = require( '@stdlib/buffer/ctor' );
Expand Down
3 changes: 1 addition & 2 deletions lib/node_modules/@stdlib/cli/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@

// TypeScript Version: 4.1

/* tslint:disable:max-line-length */
/* tslint:disable:max-file-line-count */
/* eslint-disable max-lines */

import CLI = require( '@stdlib/cli/ctor' );

Expand Down
3 changes: 1 addition & 2 deletions lib/node_modules/@stdlib/complex/base/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@

// TypeScript Version: 4.1

/* tslint:disable:max-line-length */
/* tslint:disable:max-file-line-count */
/* eslint-disable max-lines */

import cast = require( '@stdlib/complex/base/cast-return' );
import wrap = require( '@stdlib/complex/base/wrap-function' );
Expand Down
3 changes: 1 addition & 2 deletions lib/node_modules/@stdlib/complex/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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( '@stdlib/complex/base' );
import complex = require( '@stdlib/complex/cmplx' );
Expand Down
3 changes: 1 addition & 2 deletions lib/node_modules/@stdlib/console/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@

// TypeScript Version: 4.1

/* tslint:disable:max-line-length */
/* tslint:disable:max-file-line-count */
/* eslint-disable max-lines */

import log = require( '@stdlib/console/log' );
import logEach = require( '@stdlib/console/log-each' );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@

// TypeScript Version: 4.1

/* tslint:disable:max-line-length */
/* tslint:disable:max-file-line-count */
/* eslint-disable max-lines */

import MAX_ARRAY_LENGTH = require( '@stdlib/constants/array/max-array-length' );
import MAX_TYPED_ARRAY_LENGTH = require( '@stdlib/constants/array/max-typed-array-length' );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@

// TypeScript Version: 4.1

/* tslint:disable:max-line-length */
/* tslint:disable:max-file-line-count */
/* eslint-disable max-lines */

import NUM_BYTES = require( '@stdlib/constants/complex128/num-bytes' );

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@

// TypeScript Version: 4.1

/* tslint:disable:max-line-length */
/* tslint:disable:max-file-line-count */
/* eslint-disable max-lines */

import NUM_BYTES = require( '@stdlib/constants/complex64/num-bytes' );

Expand Down
3 changes: 1 addition & 2 deletions lib/node_modules/@stdlib/constants/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@

// TypeScript Version: 4.1

/* tslint:disable:max-line-length */
/* tslint:disable:max-file-line-count */
/* eslint-disable max-lines */

import array = require( '@stdlib/constants/array' );
import complex64 = require( '@stdlib/constants/complex64' );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@

// TypeScript Version: 4.1

/* tslint:disable:max-line-length */
/* tslint:disable:max-file-line-count */
/* eslint-disable max-lines */

import CBRT_EPS = require( '@stdlib/constants/float16/cbrt-eps' );
import EPS = require( '@stdlib/constants/float16/eps' );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@

// TypeScript Version: 4.1

/* tslint:disable:max-line-length */
/* tslint:disable:max-file-line-count */
/* eslint-disable max-lines */

import ABS_MASK = require( '@stdlib/constants/float32/abs-mask' );
import CBRT_EPS = require( '@stdlib/constants/float32/cbrt-eps' );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@

// TypeScript Version: 4.1

/* tslint:disable:max-line-length */
/* tslint:disable:max-file-line-count */
/* eslint-disable max-lines */

import APERY = require( '@stdlib/constants/float64/apery' );
import CATALAN = require( '@stdlib/constants/float64/catalan' );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@

// TypeScript Version: 4.1

/* tslint:disable:max-line-length */
/* tslint:disable:max-file-line-count */
/* eslint-disable max-lines */

import MAX = require( '@stdlib/constants/int16/max' );
import MIN = require( '@stdlib/constants/int16/min' );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@

// TypeScript Version: 4.1

/* tslint:disable:max-line-length */
/* tslint:disable:max-file-line-count */
/* eslint-disable max-lines */

import MAX = require( '@stdlib/constants/int32/max' );
import MIN = require( '@stdlib/constants/int32/min' );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@

// TypeScript Version: 4.1

/* tslint:disable:max-line-length */
/* tslint:disable:max-file-line-count */
/* eslint-disable max-lines */

import MAX = require( '@stdlib/constants/int8/max' );
import MIN = require( '@stdlib/constants/int8/min' );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@

// TypeScript Version: 4.1

/* tslint:disable:max-line-length */
/* tslint:disable:max-file-line-count */
/* eslint-disable max-lines */

import DELIMITER = require( '@stdlib/constants/path/delimiter' );
import DELIMITER_POSIX = require( '@stdlib/constants/path/delimiter-posix' );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@

// TypeScript Version: 4.1

/* tslint:disable:max-line-length */
/* tslint:disable:max-file-line-count */
/* eslint-disable max-lines */

import HOURS_IN_DAY = require( '@stdlib/constants/time/hours-in-day' );
import HOURS_IN_WEEK = require( '@stdlib/constants/time/hours-in-week' );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@

// TypeScript Version: 4.1

/* tslint:disable:max-line-length */
/* tslint:disable:max-file-line-count */
/* eslint-disable max-lines */

import MAX = require( '@stdlib/constants/uint16/max' );
import NUM_BYTES = require( '@stdlib/constants/uint16/num-bytes' );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@

// TypeScript Version: 4.1

/* tslint:disable:max-line-length */
/* tslint:disable:max-file-line-count */
/* eslint-disable max-lines */

import MAX = require( '@stdlib/constants/uint32/max' );
import NUM_BYTES = require( '@stdlib/constants/uint32/num-bytes' );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@

// TypeScript Version: 4.1

/* tslint:disable:max-line-length */
/* tslint:disable:max-file-line-count */
/* eslint-disable max-lines */

import MAX = require( '@stdlib/constants/uint8/max' );
import NUM_BYTES = require( '@stdlib/constants/uint8/num-bytes' );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@

// TypeScript Version: 4.1

/* tslint:disable:max-line-length */
/* tslint:disable:max-file-line-count */
/* eslint-disable max-lines */

import MAX = require( '@stdlib/constants/unicode/max' );
import MAX_BMP = require( '@stdlib/constants/unicode/max-bmp' );
Expand Down
3 changes: 1 addition & 2 deletions lib/node_modules/@stdlib/error/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@

// TypeScript Version: 4.1

/* tslint:disable:max-line-length */
/* tslint:disable:max-file-line-count */
/* eslint-disable max-lines */

import reviveError = require( '@stdlib/error/reviver' );
import error2json = require( '@stdlib/error/to-json' );
Expand Down
3 changes: 1 addition & 2 deletions lib/node_modules/@stdlib/error/tools/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@

// TypeScript Version: 4.1

/* tslint:disable:max-line-length */
/* tslint:disable:max-file-line-count */
/* eslint-disable max-lines */

import database = require( '@stdlib/error/tools/database' );
import fmtprodmsg = require( '@stdlib/error/tools/fmtprodmsg' );
Expand Down
3 changes: 1 addition & 2 deletions lib/node_modules/@stdlib/fs/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@

// TypeScript Version: 4.1

/* tslint:disable:max-line-length */
/* tslint:disable:max-file-line-count */
/* eslint-disable max-lines */

import close = require( '@stdlib/fs/close' );
import exists = require( '@stdlib/fs/exists' );
Expand Down
3 changes: 1 addition & 2 deletions lib/node_modules/@stdlib/function/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@

// TypeScript Version: 4.1

/* tslint:disable:max-line-length */
/* tslint:disable:max-file-line-count */
/* eslint-disable max-lines */

import Function = require( '@stdlib/function/ctor' );
import function2string = require( '@stdlib/function/to-string' );
Expand Down
3 changes: 1 addition & 2 deletions lib/node_modules/@stdlib/iter/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@

// TypeScript Version: 4.1

/* tslint:disable:max-line-length */
/* tslint:disable:max-file-line-count */
/* eslint-disable max-lines */

import iterAdvance = require( '@stdlib/iter/advance' );
import iterAny = require( '@stdlib/iter/any' );
Expand Down
Loading

0 comments on commit d73bbf4

Please sign in to comment.