Skip to content

Commit b3a2a7a

Browse files
committed
Fix lint errors
1 parent 287d95e commit b3a2a7a

File tree

13 files changed

+18
-14
lines changed

13 files changed

+18
-14
lines changed

lib/node_modules/@stdlib/_tools/eslint/rules/jsdoc-list-item-bullet-indent/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ var rule = require( '@stdlib/_tools/eslint/rules/jsdoc-list-item-bullet-indent'
4242

4343
**Bad**:
4444

45-
<!-- eslint-disable stdlib/jsdoc-list-item-bullet-indent, stdlib/jsdoc-markdown-remark -->
45+
<!-- eslint-disable stdlib/jsdoc-list-item-bullet-indent, stdlib/jsdoc-list-item-indent, stdlib/jsdoc-markdown-remark -->
4646

4747
```javascript
4848
/**

lib/node_modules/@stdlib/_tools/eslint/rules/jsdoc-no-tabs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ var rule = require( '@stdlib/_tools/eslint/rules/jsdoc-no-tabs' );
4444

4545
<!--lint disable no-tabs-->
4646

47-
<!-- eslint-disable stdlib/jsdoc-no-tabs, stdlib/jsdoc-markdown-remark, no-tabs -->
47+
<!-- eslint-disable stdlib/jsdoc-no-tabs, stdlib/jsdoc-list-item-indent, stdlib/jsdoc-markdown-remark, no-tabs -->
4848

4949
```javascript
5050
/**

lib/node_modules/@stdlib/_tools/eslint/rules/section-header-empty-lines/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ var TWO_PI = 2.0 * 3.141592653589793;
5757

5858
// EXPORTS //
5959

60-
module.exports = {};
60+
module.exports = TWO_PI;
6161
```
6262

6363
**Good**:
@@ -77,7 +77,7 @@ var TWO_PI = 2.0 * 3.141592653589793;
7777

7878
// EXPORTS //
7979

80-
module.exports = {};
80+
module.exports = TWO_PI;
8181
```
8282

8383
</section>

lib/node_modules/@stdlib/array/dtype/examples/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ len = 10;
3838
// For each supported data type, create an array and confirm its data type...
3939
for ( i = 0; i < DTYPES.length; i++ ) {
4040
ctor = ctors( DTYPES[ i ] );
41-
arr = new ctor( len ); // eslint-disable-line no-new-cap
41+
arr = new ctor( len );
4242
dt = dtype( arr );
4343
console.log( '%s == %s => %s', DTYPES[ i ], dt, DTYPES[ i ] === dt );
4444
}

lib/node_modules/@stdlib/constants/array/max-typed-array-length/examples/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ function fill( dtype, len, value ) {
2929
throw new RangeError( 'invalid input argument. The maximum length for a typed array is '+MAX_TYPED_ARRAY_LENGTH+'.' );
3030
}
3131
ctor = ctors( dtype );
32-
arr = new ctor( len ); // eslint-disable-line no-new-cap
32+
arr = new ctor( len );
3333
for ( i = 0; i < len; i++ ) {
3434
arr[ i ] = value;
3535
}

lib/node_modules/@stdlib/constants/math/float64-pinf/lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
* @default Number.POSITIVE_INFINITY
4949
* @see [IEEE 754]{@link https://en.wikipedia.org/wiki/IEEE_754-1985}
5050
*/
51-
var FLOAT64_PINF = Number.POSITIVE_INFINITY;
51+
var FLOAT64_PINF = Number.POSITIVE_INFINITY; // eslint-disable-line stdlib/require-globals
5252

5353

5454
// EXPORTS //

lib/node_modules/@stdlib/ml/online-binary-classification/test/test.weight_vector.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ tape( 'the `scaleTo` method scales the weights to one if the internal scale is s
185185
weights.scaleTo( 1.0 );
186186

187187
t.equal( weights.scale, 1.0, 'scale is equal to 1.0' );
188-
t.deepEqual( weights._data, [ 2e-13, 2e-13, 2e-13 ], '_data array is equal to [2e-13,2e-13,2e-13]' ); // eslint-disable-line no-underscore-dangle
188+
t.deepEqual( weights._data, [ 2e-13, 2e-13, 2e-13 ], '_data array is equal to [2e-13,2e-13,2e-13]' );
189189
t.end();
190190
});
191191

lib/node_modules/@stdlib/plot/base/ctor/lib/render/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ var debug = logger( 'plot:base:render' );
3838
* @returns {(VTree|string)} virtual tree or a string
3939
*/
4040
function render( format ) {
41-
/* eslint-disable no-invalid-this, no-underscore-dangle */
41+
/* eslint-disable no-invalid-this */
4242
var out;
4343
var tmp;
4444
var fmt;

lib/node_modules/@stdlib/plot/components/svg/axis/lib/components/tick.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ var ELEMENT = 'g';
4444
* @returns {VTree} virtual tree
4545
*/
4646
function render( ctx, d, transform ) {
47-
/* eslint-disable no-underscore-dangle */
4847
var children;
4948
var props;
5049

lib/node_modules/@stdlib/plot/ctor/lib/render/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ var debug = logger( 'plot:render' );
4141
* @returns {(VTree|string)} virtual tree or a string
4242
*/
4343
function render( format ) {
44-
/* eslint-disable no-invalid-this, no-underscore-dangle */
44+
/* eslint-disable no-invalid-this */
4545
var out;
4646
var tmp;
4747
var fmt;

0 commit comments

Comments
 (0)