Skip to content

Commit bda0ca2

Browse files
committed
Fix lint errors
1 parent 021728c commit bda0ca2

File tree

6 files changed

+54
-8
lines changed

6 files changed

+54
-8
lines changed

lib/node_modules/@stdlib/utils/copy/lib/deep_copy.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,18 @@ var typedArrays = require( './typed_arrays.js' );
4848
* @returns {Object} new instance
4949
*/
5050
function cloneInstance( val ) {
51-
var cache = [];
52-
var refs = [];
51+
var cache;
5352
var names;
5453
var name;
54+
var refs;
5555
var desc;
5656
var tmp;
5757
var ref;
5858
var i;
5959

60+
cache = [];
61+
refs = [];
62+
6063
ref = Object.create( Object.getPrototypeOf( val ) );
6164
cache.push( val );
6265
refs.push( ref );

lib/node_modules/@stdlib/utils/deep-get/test/test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
// MODULES //
2222

2323
var tape = require( 'tape' );
24-
var deepGet = require( './../lib/index.js' );
24+
var deepGet = require( './../lib' );
2525

2626

2727
// TESTS //

lib/node_modules/@stdlib/utils/deep-set/test/test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
// MODULES //
2222

2323
var tape = require( 'tape' );
24-
var deepSet = require( './../lib/index.js' );
24+
var deepSet = require( './../lib' );
2525

2626

2727
// TESTS //

lib/node_modules/@stdlib/utils/move-property/test/test.js

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -164,10 +164,15 @@ tape( 'if a property cannot be deleted from a source object, the function throws
164164
});
165165

166166
tape( 'the function does not deep copy moved properties', function test( t ) {
167-
var arr = [ 1, 2, 3 ];
168-
var obj1 = { 'a': arr };
169-
var obj2 = {};
170-
var bool = moveProperty( obj1, 'a', obj2 );
167+
var bool;
168+
var obj1;
169+
var obj2;
170+
var arr;
171+
172+
arr = [ 1, 2, 3 ];
173+
obj1 = { 'a': arr };
174+
obj2 = {};
175+
bool = moveProperty( obj1, 'a', obj2 );
171176

172177
t.ok( bool, 'successfully moved property' );
173178
t.deepEqual( obj2, { 'a': arr }, 'deep equal' );
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
2+
Usage: parallel [options] <script1> <script2> ...
3+
4+
Options:
5+
6+
-h, --help Print this message.
7+
-V, --version Print the package version.
8+
--cmd cmd Executable file/command.
9+
--workers num Number of workers.
10+
--concurrency num Number of scripts to run concurrently.
11+
--ordered Preserve order of script output.
12+
--uid uid Process user identity.
13+
--gid gid Process group identity.
14+
--maxbuffer size Max buffer size for stdout and stderr.
15+
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"string": [
3+
"cmd",
4+
"workers",
5+
"concurrency",
6+
"uid",
7+
"gid",
8+
"maxbuffer"
9+
],
10+
"boolean": [
11+
"help",
12+
"version",
13+
"ordered"
14+
],
15+
"alias": {
16+
"help": [
17+
"h"
18+
],
19+
"version": [
20+
"V"
21+
]
22+
}
23+
}

0 commit comments

Comments
 (0)