Skip to content

Commit 9cd6dd6

Browse files
committed
Update lint directives
1 parent 5bfeeed commit 9cd6dd6

33 files changed

Lines changed: 44 additions & 44 deletions

File tree

lib/node_modules/@stdlib/_tools/pkgs/browser-entry-points/lib/entries.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ function entryPoints( pkgs, clbk ) {
9090
data.__stdlib__.envs.browser === false // eslint-disable-line no-underscore-dangle
9191
) {
9292
debug( 'Package is not compatible with browser environments: %s (%d of %d). Skipping...', pkg, k, total );
93-
done( null, [], i ); // eslint-disable-line callback-return
93+
done( null, [], i ); // eslint-disable-line node/callback-return
9494
continue;
9595
}
9696
debug( 'Resolving browser files for package: %s (%d of %d).', pkg, k, total );

lib/node_modules/@stdlib/repl/lib/process_top_level_await.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ function createVisitors( visitors ) {
9090
if ( FLG ) {
9191
state.ancestors.push( node );
9292
}
93-
clbk( node, state, c ); // eslint-disable-line callback-return
93+
clbk( node, state, c ); // eslint-disable-line node/callback-return
9494
if ( FLG ) {
9595
state.ancestors.pop();
9696
}

lib/node_modules/@stdlib/streams/node/debug/benchmark/benchmark.throughput.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ bench( pkg+'::throughput', function benchmark( b ) {
9494
}
9595

9696
function onWrite( chunk, enc, clbk ) {
97-
clbk(); // eslint-disable-line callback-return
97+
clbk(); // eslint-disable-line node/callback-return
9898
next();
9999
}
100100
});
@@ -136,7 +136,7 @@ bench( pkg+'::throughput,noop_callback', function benchmark( b ) {
136136
}
137137

138138
function onWrite( chunk, enc, clbk ) {
139-
clbk(); // eslint-disable-line callback-return
139+
clbk(); // eslint-disable-line node/callback-return
140140
next();
141141
}
142142
});
@@ -179,7 +179,7 @@ bench( pkg+'::throughput,object_mode', function benchmark( b ) {
179179
}
180180

181181
function onWrite( chunk, enc, clbk ) {
182-
clbk(); // eslint-disable-line callback-return
182+
clbk(); // eslint-disable-line node/callback-return
183183
next();
184184
}
185185
});
@@ -222,7 +222,7 @@ bench( pkg+'::throughput,object_mode,noop_callback', function benchmark( b ) {
222222
}
223223

224224
function onWrite( chunk, enc, clbk ) {
225-
clbk(); // eslint-disable-line callback-return
225+
clbk(); // eslint-disable-line node/callback-return
226226
next();
227227
}
228228
});

lib/node_modules/@stdlib/streams/node/inspect/benchmark/benchmark.throughput.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ bench( pkg+'::throughput', function benchmark( b ) {
9292
}
9393

9494
function onWrite( chunk, enc, clbk ) {
95-
clbk(); // eslint-disable-line callback-return
95+
clbk(); // eslint-disable-line node/callback-return
9696
next();
9797
}
9898
});
@@ -134,7 +134,7 @@ bench( pkg+'::throughput,object_mode', function benchmark( b ) {
134134
}
135135

136136
function onWrite( chunk, enc, clbk ) {
137-
clbk(); // eslint-disable-line callback-return
137+
clbk(); // eslint-disable-line node/callback-return
138138
next();
139139
}
140140
});

lib/node_modules/@stdlib/streams/node/join/benchmark/benchmark.throughput.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ bench( pkg+'::throughput', function benchmark( b ) {
9191
}
9292

9393
function onWrite( chunk, enc, clbk ) {
94-
clbk(); // eslint-disable-line callback-return
94+
clbk(); // eslint-disable-line node/callback-return
9595
next();
9696
}
9797
});
@@ -133,7 +133,7 @@ bench( pkg+'::throughput,object_mode', function benchmark( b ) {
133133
}
134134

135135
function onWrite( chunk, enc, clbk ) {
136-
clbk(); // eslint-disable-line callback-return
136+
clbk(); // eslint-disable-line node/callback-return
137137
next();
138138
}
139139
});

lib/node_modules/@stdlib/streams/node/split/benchmark/benchmark.throughput.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ bench( pkg+'::throughput', function benchmark( b ) {
9191
}
9292

9393
function onWrite( chunk, enc, clbk ) {
94-
clbk(); // eslint-disable-line callback-return
94+
clbk(); // eslint-disable-line node/callback-return
9595
next();
9696
}
9797
});
@@ -133,7 +133,7 @@ bench( pkg+'::throughput,object_mode', function benchmark( b ) {
133133
}
134134

135135
function onWrite( chunk, enc, clbk ) {
136-
clbk(); // eslint-disable-line callback-return
136+
clbk(); // eslint-disable-line node/callback-return
137137
next();
138138
}
139139
});

lib/node_modules/@stdlib/streams/node/transform/benchmark/benchmark.throughput.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ bench( pkg+'::throughput:highWaterMark=<default>', function benchmark( b ) {
9797
}
9898

9999
function onWrite( chunk, enc, clbk ) {
100-
clbk(); // eslint-disable-line callback-return
100+
clbk(); // eslint-disable-line node/callback-return
101101
next();
102102
}
103103
});
@@ -144,7 +144,7 @@ bench( pkg+'::throughput:highWaterMark=0', function benchmark( b ) {
144144
}
145145

146146
function onWrite( chunk, enc, clbk ) {
147-
clbk(); // eslint-disable-line callback-return
147+
clbk(); // eslint-disable-line node/callback-return
148148
next();
149149
}
150150
});
@@ -195,7 +195,7 @@ bench( pkg+'::throughput,object_mode:highWaterMark=<default>', function benchmar
195195
}
196196

197197
function onWrite( chunk, enc, clbk ) {
198-
clbk(); // eslint-disable-line callback-return
198+
clbk(); // eslint-disable-line node/callback-return
199199
next();
200200
}
201201
});
@@ -247,7 +247,7 @@ bench( pkg+'::throughput,object_mode:highWaterMark=0', function benchmark( b ) {
247247
}
248248

249249
function onWrite( chunk, enc, clbk ) {
250-
clbk(); // eslint-disable-line callback-return
250+
clbk(); // eslint-disable-line node/callback-return
251251
next();
252252
}
253253
});

lib/node_modules/@stdlib/utils/async/any-by-right/lib/limit.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ function limit( collection, opts, predicate, done ) {
7070
for ( i = 0; i < lim; i++ ) {
7171
// This guard is necessary to protect against synchronous functions which exhaust all collection elements...
7272
if ( idx > 0 ) {
73-
next(); // eslint-disable-line callback-return
73+
next(); // eslint-disable-line node/callback-return
7474
}
7575
}
7676

lib/node_modules/@stdlib/utils/async/any-by/lib/limit.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ function limit( collection, opts, predicate, done ) {
7272
for ( i = 0; i < lim; i++ ) {
7373
// This guard is necessary to protect against synchronous functions which exhaust all collection elements...
7474
if ( idx < maxIndex ) {
75-
next(); // eslint-disable-line callback-return
75+
next(); // eslint-disable-line node/callback-return
7676
}
7777
}
7878

lib/node_modules/@stdlib/utils/async/bifurcate-by/lib/limit.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ function limit( collection, opts, predicate, done ) {
8181
for ( i = 0; i < lim; i++ ) {
8282
// This guard is necessary to protect against synchronous functions which exhaust all collection elements...
8383
if ( idx < maxIndex ) {
84-
next(); // eslint-disable-line callback-return
84+
next(); // eslint-disable-line node/callback-return
8585
}
8686
}
8787
/**

0 commit comments

Comments
 (0)