Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 91b52d8

Browse files
prajjwalbajpaikgryte
andauthored
chore: fix JavaScript lint errors
PR-URL: #8119 Closes: #8114 Co-authored-by: Athan Reines <kgryte@gmail.com> Reviewed-by: Athan Reines <kgryte@gmail.com>
1 parent e7bd1d0 commit 91b52d8

File tree

3 files changed

+10
-6
lines changed
  • lib/node_modules/@stdlib
    • _tools/remark/plugins/remark-run-javascript-examples/lib
    • assert/is-complex-like/examples
    • plot/ctor/lib/view/electron/js

3 files changed

+10
-6
lines changed

‎lib/node_modules/@stdlib/_tools/remark/plugins/remark-run-javascript-examples/lib/main.js‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
* limitations under the License.
1717
*/
1818

19+
/* eslint-disable stdlib/jsdoc-example-require-spacing */
20+
1921
'use strict';
2022

2123
// MODULES //
@@ -77,8 +79,8 @@ var runner = require( './runner.js' );
7779
* ''
7880
* ];
7981
*
80-
* remark().use( run ).process( str.join( '\n' ), done );
81-
* // => 'HELLO WORLD'
82+
* remark().use( attacher ).process( str.join( '\n' ), done );
83+
* // e.g., => 'HELLO WORLD!'
8284
*
8385
* function done( error ) {
8486
* if ( error ) {

‎lib/node_modules/@stdlib/assert/is-complex-like/examples/index.js‎

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@
1616
* limitations under the License.
1717
*/
1818

19-
/* eslint-disable object-curly-newline, object-property-newline */
20-
2119
'use strict';
2220

2321
var Complex64 = require( '@stdlib/complex/float32/ctor' );
@@ -30,7 +28,11 @@ console.log( isComplexLike( new Complex64( 2.0, 2.0 ) ) );
3028
console.log( isComplexLike( new Complex128( 3.0, 1.0 ) ) );
3129
// => true
3230

33-
console.log( isComplexLike( { 're': 1.0, 'im': -1.0 } ) );
31+
var obj = {
32+
're': 1.0,
33+
'im': -1.0
34+
};
35+
console.log( isComplexLike( obj ) );
3436
// => true
3537

3638
console.log( isComplexLike( {} ) );

‎lib/node_modules/@stdlib/plot/ctor/lib/view/electron/js/debug.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ var debug;
3131
localStorage.debug = ENV.DEBUG;
3232

3333
// Load `debug`:
34-
debug = require( 'debug/browser' ); // eslint-disable-line stdlib/require-order
34+
debug = require( 'debug/browser' ); // eslint-disable-line stdlib/require-order, stdlib/require-file-extensions
3535

3636

3737
// EXPORTS //

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /