Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion etc/eslint/plugin/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

// MODULES //

// eslint-disable-next-line node/no-unpublished-require
// eslint-disable-next-line n/no-unpublished-require
var plugin = require( './../../../lib/node_modules/@stdlib/_tools/eslint/rules/scripts/plugin.js' );


Expand Down
1 change: 1 addition & 0 deletions etc/eslint/plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
}
],
"main": "./index.js",
"directories": {},
"scripts": {},
"homepage": "https://github.com/stdlib-js/stdlib",
"repository": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ interface Routine {
* @returns output array
*
* @example
* var Float64Array = require( `@stdlib/array/float64` );
* var Float64Array = require( '@stdlib/array/float64' );
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Planeshifter We should add a lint rule for this. Basically all strings should use single quotes. We already have a lint rule enabled for single quotes:

rules[ 'quotes' ] = [ 'error', 'single', {
.

Maybe we are dependent on your recent PR adding linting for JSDoc example source code.

*
* var x = new Float64Array( [ 1.0, 2.0 ] );
* var out = new Float64Array( 8 );
Expand Down Expand Up @@ -66,7 +66,7 @@ interface Routine {
* @returns output array
*
* @example
* var Float64Array = require( `@stdlib/array/float64` );
* var Float64Array = require( '@stdlib/array/float64' );
*
* var x = new Float64Array( [ 1.0, 2.0 ] );
* var out = new Float64Array( 8 );
Expand All @@ -89,7 +89,7 @@ interface Routine {
* @returns output array
*
* @example
* var Float64Array = require( `@stdlib/array/float64` );
* var Float64Array = require( '@stdlib/array/float64' );
*
* var x = new Float64Array( [ 1.0, 2.0 ] );
* var out = new Float64Array( 8 );
Expand All @@ -98,7 +98,7 @@ interface Routine {
* // out => <Float64Array>[ 1.0, 1.0, 1.0, 2.0, 2.0, 1.0, 2.0, 2.0 ]
*
* @example
* var Float64Array = require( `@stdlib/array/float64` );
* var Float64Array = require( '@stdlib/array/float64' );
*
* var x = new Float64Array( [ 1.0, 2.0 ] );
* var out = new Float64Array( 8 );
Expand Down
Loading