Skip to content

Commit be4d36f

Browse files
committed
Fix lint errors
1 parent 04633cf commit be4d36f

File tree

14 files changed

+36
-35
lines changed

14 files changed

+36
-35
lines changed

lib/node_modules/@stdlib/fs/exists/test/test.async.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ var isBrowser = require( '@stdlib/assert/is-browser' );
99
var exists = require( './../lib/async.js' );
1010

1111

12-
// FIXME //
12+
// VARIABLES //
1313

1414
// Don't run tests in the browser...for now...
1515
var opts = {
16-
'skip': isBrowser
16+
'skip': isBrowser // FIXME
1717
};
1818

1919

lib/node_modules/@stdlib/fs/exists/test/test.sync.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ var isBrowser = require( '@stdlib/assert/is-browser' );
99
var exists = require( './../lib/sync.js' );
1010

1111

12-
// FIXME //
12+
// VARIABLES //
1313

1414
// Don't run tests in the browser...for now...
1515
var opts = {
16-
'skip': isBrowser
16+
'skip': isBrowser // FIXME
1717
};
1818

1919

lib/node_modules/@stdlib/fs/read-dir/test/test.async.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ var isBrowser = require( '@stdlib/assert/is-browser' );
88
var readDir = require( './../lib/async.js' );
99

1010

11-
// FIXME //
11+
// VARIABLES //
1212

1313
// Don't run tests in the browser...for now...
1414
var opts = {
15-
'skip': isBrowser
15+
'skip': isBrowser // FIXME
1616
};
1717

1818

lib/node_modules/@stdlib/fs/read-dir/test/test.sync.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ var isBrowser = require( '@stdlib/assert/is-browser' );
88
var readDir = require( './../lib/sync.js' );
99

1010

11-
// FIXME //
11+
// VARIABLES //
1212

1313
// Don't run tests in the browser...for now...
1414
var opts = {
15-
'skip': isBrowser
15+
'skip': isBrowser // FIXME
1616
};
1717

1818

lib/node_modules/@stdlib/fs/read-file-list/test/test.async.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ var noop = require( '@stdlib/utils/noop' );
1010
var readFileList = require( './../lib/async.js' );
1111

1212

13-
// FIXME //
13+
// VARIABLES //
1414

1515
// Don't run tests in the browser...for now...
1616
var opts = {
17-
'skip': isBrowser
17+
'skip': isBrowser // FIXME
1818
};
1919

2020

lib/node_modules/@stdlib/fs/read-file-list/test/test.sync.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ var readFile = require( '@stdlib/fs/read-file' ).sync;
88
var readFileList = require( './../lib/sync.js' );
99

1010

11-
// FIXME //
11+
// VARIABLES //
1212

1313
// Don't run tests in the browser...for now...
1414
var opts = {
15-
'skip': isBrowser
15+
'skip': isBrowser // FIXME
1616
};
1717

1818

lib/node_modules/@stdlib/fs/read-file/test/test.async.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ var isBrowser = require( '@stdlib/assert/is-browser' );
88
var readFile = require( './../lib/async.js' );
99

1010

11-
// FIXME //
11+
// VARIABLES //
1212

1313
// Don't run tests in the browser...for now...
1414
var opts = {
15-
'skip': isBrowser
15+
'skip': isBrowser // FIXME
1616
};
1717

1818

lib/node_modules/@stdlib/fs/read-file/test/test.sync.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ var isBrowser = require( '@stdlib/assert/is-browser' );
88
var readFile = require( './../lib/sync.js' );
99

1010

11-
// FIXME //
11+
// VARIABLES //
1212

1313
// Don't run tests in the browser...for now...
1414
var opts = {
15-
'skip': isBrowser
15+
'skip': isBrowser // FIXME
1616
};
1717

1818

lib/node_modules/@stdlib/fs/read-json/test/test.async.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ var noop = require( '@stdlib/utils/noop' );
99
var readJSON = require( './../lib/async.js' );
1010

1111

12-
// FIXME //
12+
// VARIABLES //
1313

1414
// Don't run tests in the browser...for now...
1515
var opts = {
16-
'skip': IS_BROWSER
16+
'skip': IS_BROWSER // FIXME
1717
};
1818

1919

@@ -226,7 +226,7 @@ tape( 'if the function encounters an error when attempting to parse file content
226226
});
227227

228228
tape( 'the function reads a file as JSON', opts, function test( t ) {
229-
var expected = require( goodJSON );
229+
var expected = require( goodJSON ); // eslint-disable-line stdlib/no-dynamic-require
230230

231231
readJSON( goodJSON, onRead );
232232

@@ -240,7 +240,7 @@ tape( 'the function reads a file as JSON', opts, function test( t ) {
240240
});
241241

242242
tape( 'the function reads a file as JSON using provided options (encoding)', opts, function test( t ) {
243-
var expected = require( goodJSON );
243+
var expected = require( goodJSON ); // eslint-disable-line stdlib/no-dynamic-require
244244

245245
readJSON( goodJSON, 'utf8', onRead );
246246

@@ -254,7 +254,7 @@ tape( 'the function reads a file as JSON using provided options (encoding)', opt
254254
});
255255

256256
tape( 'the function reads a file as JSON using provided options (options object)', opts, function test( t ) {
257-
var expected = require( goodJSON );
257+
var expected = require( goodJSON ); // eslint-disable-line stdlib/no-dynamic-require
258258

259259
readJSON( goodJSON, {
260260
'encoding': 'utf8'
@@ -270,7 +270,7 @@ tape( 'the function reads a file as JSON using provided options (options object)
270270
});
271271

272272
tape( 'the function supports reading a UTF-8 encoded file having a byte order mark (BOM) as JSON', opts, function test( t ) {
273-
var expected = require( goodJSON );
273+
var expected = require( goodJSON ); // eslint-disable-line stdlib/no-dynamic-require
274274

275275
readJSON( bomJSON, {
276276
'encoding': 'utf8'

lib/node_modules/@stdlib/fs/read-json/test/test.sync.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ var instanceOf = require( '@stdlib/assert/instance-of' );
99
var readJSON = require( './../lib/sync.js' );
1010

1111

12-
// FIXME //
12+
// VARIABLES //
1313

1414
// Don't run tests in the browser...for now...
1515
var opts = {
16-
'skip': IS_BROWSER
16+
'skip': IS_BROWSER // FIXME
1717
};
1818

1919

@@ -103,7 +103,7 @@ tape( 'the function reads a file as JSON', opts, function test( t ) {
103103
var expected;
104104
var actual;
105105

106-
expected = require( goodJSON );
106+
expected = require( goodJSON ); // eslint-disable-line stdlib/no-dynamic-require
107107
actual = readJSON( goodJSON );
108108

109109
t.deepEqual( actual, expected, 'returns a file as JSON' );
@@ -116,7 +116,7 @@ tape( 'the function reads a file as JSON using provided options', opts, function
116116
var actual;
117117

118118
// String options:
119-
expected = require( goodJSON );
119+
expected = require( goodJSON ); // eslint-disable-line stdlib/no-dynamic-require
120120
actual = readJSON( goodJSON, 'utf8' );
121121

122122
t.deepEqual( expected, actual, 'returns a file as JSON' );
@@ -135,7 +135,7 @@ tape( 'the function supports reading a UTF-8 encoded file having a byte order ma
135135
var expected;
136136
var actual;
137137

138-
expected = require( goodJSON );
138+
expected = require( goodJSON ); // eslint-disable-line stdlib/no-dynamic-require
139139
actual = readJSON( bomJSON, {
140140
'encoding': 'utf8'
141141
});

0 commit comments

Comments
 (0)