Skip to content

Commit 786cbb0

Browse files
committed
Disable lint rule
1 parent 3bf7875 commit 786cbb0

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

lib/node_modules/@stdlib/assert/is-string-array/lib/index.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333
* // returns false
3434
*
3535
* @example
36-
* // Use interface to check for primitives...
3736
* var isStringArray = require( '@stdlib/assert/is-string-array' ).primitives;
3837
*
3938
* var bool = isStringArray( [ 'abc', 'def' ] );
@@ -43,7 +42,6 @@
4342
* // returns false
4443
*
4544
* @example
46-
* // Use interface to check for objects...
4745
* var isStringArray = require( '@stdlib/assert/is-string-array' ).objects;
4846
*
4947
* var bool = isStringArray( [ new String( 'abc' ), new String( 'def' ) ] );

lib/node_modules/@stdlib/assert/is-string-array/test/test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ tape( 'main export is a function', function test( t ) {
3535
tape( 'the function tests for an array of `string` values', function test( t ) {
3636
var arr;
3737

38-
arr = [ 'a', new String( 'b' ) ];
38+
arr = [ 'a', new String( 'b' ) ]; // eslint-disable-line no-new-wrappers
3939
t.equal( isStringArray( arr ), true, 'returns true' );
4040

4141
arr = [ 'a', 5, null ];
@@ -50,7 +50,7 @@ tape( 'the function provides a method to test for an array of `string` primitive
5050
arr = [ 'a', 'b' ];
5151
t.equal( isStringArray.primitives( arr ), true, 'returns true' );
5252

53-
arr = [ new String( 'a' ), 'b' ];
53+
arr = [ new String( 'a' ), 'b' ]; // eslint-disable-line no-new-wrappers
5454
t.equal( isStringArray.primitives( arr ), false, 'returns false' );
5555

5656
t.end();
@@ -59,7 +59,7 @@ tape( 'the function provides a method to test for an array of `string` primitive
5959
tape( 'the function provides a method to test for an array of `String` objects', function test( t ) {
6060
var arr;
6161

62-
arr = [ new String( 'a' ), new String( 'b' ) ];
62+
arr = [ new String( 'a' ), new String( 'b' ) ]; // eslint-disable-line no-new-wrappers
6363
t.equal( isStringArray.objects( arr ), true, 'returns true' );
6464

6565
arr = [ 'a', 'b' ];

0 commit comments

Comments
 (0)