Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix JavaScript lint errors #6214 #6220

Closed
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
80 changes: 40 additions & 40 deletions lib/node_modules/@stdlib/number/float32/base/exponent/manifest.json
Original file line number Diff line number Diff line change
@@ -1,42 +1,42 @@
{
"options": {},
"fields": [
{
"field": "src",
"resolve": true,
"relative": true
},
{
"field": "include",
"resolve": true,
"relative": true
},
{
"field": "libraries",
"resolve": false,
"relative": false
},
{
"field": "libpath",
"resolve": true,
"relative": false
}
],
"confs": [
{
"src": [
"./src/main.c"
],
"include": [
"./include"
],
"libraries": [],
"libpath": [],
"dependencies": [
"@stdlib/constants/float32/exponent-bias",
"@stdlib/constants/float32/exponent-mask",
"@stdlib/number/float32/base/to-word"
]
}
]
"options": {},
"fields": [
{
"field": "src",
"resolve": true,
"relative": true
},
{
"field": "include",
"resolve": true,
"relative": true
},
{
"field": "libraries",
"resolve": false,
"relative": false
},
{
"field": "libpath",
"resolve": true,
"relative": false
}
],
"confs": [
{
"src": [
"./src/main.c"
],
"include": [
"./include"
],
"libraries": [],
"libpath": [],
"dependencies": [
"@stdlib/constants/float32/exponent-bias",
"@stdlib/constants/float32/exponent-mask",
"@stdlib/number/float32/base/to-word"
]
}
]
}
9 changes: 5 additions & 4 deletions lib/node_modules/@stdlib/proxy/ctor/lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
*
* @example
* function get( obj, prop ) {
* return obj[ prop ] * 2.0;
* return obj[ prop ] * 1.0;
* }
*
* var handlers = {
Expand All @@ -44,10 +44,11 @@
* p.a = 3.14;
*
* var x = p.a;
* // returns 6.28
* // returns 3.14
*/
var proxy = ( typeof Proxy === 'undefined' ) ? null : Proxy; // eslint-disable-line stdlib/require-globals, node/no-unsupported-features/es-builtins

// eslint-disable stdlib/require-globals, node/no-unsupported-features/es-builtins

Check failure on line 49 in lib/node_modules/@stdlib/proxy/ctor/lib/main.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Missing empty line before comment
var proxy = (typeof Proxy === 'undefined') ? null : Proxy;

Check failure on line 50 in lib/node_modules/@stdlib/proxy/ctor/lib/main.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

The 'Proxy' is not supported until Node.js 6.0.0. The configured version range is '>=0.12.18'

Check failure on line 50 in lib/node_modules/@stdlib/proxy/ctor/lib/main.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Proxy is used without loading it beforehand via require()

Check failure on line 50 in lib/node_modules/@stdlib/proxy/ctor/lib/main.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

The 'Proxy' is not supported until Node.js 6.0.0. The configured version range is '>=0.12.18'

Check failure on line 50 in lib/node_modules/@stdlib/proxy/ctor/lib/main.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Proxy is used without loading it beforehand via require()
// eslint-enable stdlib/require-globals, node/no-unsupported-features/es-builtins

Check failure on line 51 in lib/node_modules/@stdlib/proxy/ctor/lib/main.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Missing empty line before comment

// EXPORTS //

Expand Down
5 changes: 3 additions & 2 deletions lib/node_modules/@stdlib/proxy/ctor/lib/polyfill.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
*
* @example
* function get( obj, prop ) {
* return obj[ prop ] * 2.0;
* return obj[ prop ] * 1.0;
* }
*
* var handlers = {
Expand All @@ -42,9 +42,10 @@
* p.a = 3.14;
*
* var x = p.a;
* // returns 6.28
* // returns 3.14
*/
function Proxy( target ) {
// eslint-disable-next-line no-warning-comments
// TODO: polyfill implementation
return target;
}
Expand Down
Loading