Skip to content

chore: fix EditorConfig lint errors #5516

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

Closed
wants to merge 7 commits into from
Closed
Show file tree
Hide file tree
Changes from 5 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
7 changes: 5 additions & 2 deletions lib/node_modules/@stdlib/_tools/github/get/lib/cache.js
Copy link
Member

Choose a reason for hiding this comment

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

Changes to this file should be reverted.

Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,13 @@
* @returns {Array} cache
*/
function create( size ) {
return new Array( size );
const cache = [];
Copy link
Contributor

Choose a reason for hiding this comment

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

Hey @jalajk3004,
I believe the issue only meant to have changes in the manifest files. That too because they were supposed to be space intended.
Would primarily be the reason causing error.

for (let i = 0; i < size; i++) {
cache.push(undefined);
}
return cache;
}


// EXPORTS //

module.exports = create;
Copy link
Member

Choose a reason for hiding this comment

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

Changes to this file should be reverted.

Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ var debug = logger( 'browser-entry-points:sync' );
* var pkgs = [ '/foo/bar/baz' ];
*
* var entries = entryPoints( pkgs );
* // returns [{...}]
* // throws <Error>
Copy link
Contributor

Choose a reason for hiding this comment

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

same comment.

*/
function entryPoints( pkgs, options ) {
var results;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,44 +1,44 @@
{
"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/ndarray/base/assert/is-safe-data-type-cast",
"@stdlib/ndarray/base/assert/is-mostly-safe-data-type-cast",
"@stdlib/ndarray/base/assert/is-same-kind-data-type-cast",
"@stdlib/ndarray/casting-modes",
"@stdlib/ndarray/dtypes"
]
}
]
"options": {},
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't think these indentations are right should be 2 spaces take a look at this
for reference.

Copy link
Member

Choose a reason for hiding this comment

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

Indeed this should be two-space indentation here and in the other JSON files changed in this PR.

"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/ndarray/base/assert/is-safe-data-type-cast",
"@stdlib/ndarray/base/assert/is-mostly-safe-data-type-cast",
"@stdlib/ndarray/base/assert/is-same-kind-data-type-cast",
"@stdlib/ndarray/casting-modes",
"@stdlib/ndarray/dtypes"
]
}
]
}
72 changes: 36 additions & 36 deletions lib/node_modules/@stdlib/ndarray/safe-casts/manifest.json
Original file line number Diff line number Diff line change
@@ -1,38 +1,38 @@
{
"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": [],
"include": [
"./include"
],
"libraries": [],
"libpath": [],
"dependencies": [
"@stdlib/ndarray/dtypes"
]
}
]
"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": [],
"include": [
"./include"
],
"libraries": [],
"libpath": [],
"dependencies": [
"@stdlib/ndarray/dtypes"
]
}
]
}
76 changes: 38 additions & 38 deletions lib/node_modules/@stdlib/number/float64/base/signbit/manifest.json
Original file line number Diff line number Diff line change
@@ -1,40 +1,40 @@
{
"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/number/float64/base/get-high-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/number/float64/base/get-high-word"
]
}
]
}
Loading