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 EditorConfig lint error #6039

Closed
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
4 changes: 2 additions & 2 deletions lib/node_modules/@stdlib/_tools/pkgs/deps/lib/sync.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@ var debug = logger( 'pkg-deps:sync' );
* @returns {ObjectArray} resolved dependencies
*
* @example
* var pkgs = [ '/foo/bar/baz' ];
* var pkgs = [ '/path/to/package' ];
*
* var deps = pkgDeps( pkgs );
* // returns [{...}]
* // throws <Error>
*/
function pkgDeps( pkgs, options ) {
var results;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@
#include "stdlib/math/base/special/roundn.h"
#include "stdlib/math/base/napi/binary.h"

STDLIB_MATH_BASE_NAPI_MODULE_DI_D( stdlib_base_roundn )
STDLIB_MATH_BASE_NAPI_MODULE_D_D( stdlib_base_roundn );
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"
]
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
// MODULES //

var nativeClass = require( '@stdlib/utils/native-class' );
var Object = require( '@stdlib/object/ctor' );
var getProto = require( './proto.js' );


Expand All @@ -42,7 +43,7 @@
// May break if the constructor has been tampered with...
return obj.constructor.prototype;
}
if ( obj instanceof Object ) {
if ( Object.prototype.isPrototypeOf(obj) ) {

Check failure on line 46 in lib/node_modules/@stdlib/utils/get-prototype-of/lib/polyfill.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Do not access Object.prototype method 'isPrototypeOf' from target object
return Object.prototype;
}
// Return `null` for objects created via `Object.create( null )`. Also return `null` for cross-realm objects on browsers that lack `__proto__` support, such as IE < 11.
Expand Down
6 changes: 4 additions & 2 deletions tools/make/lib/test-cov/c8.mk
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,17 @@ C8_EXCLUDES_FLAGS = \
-x "**/$(EXAMPLES_FOLDER)/**" \
-x "**/$(BENCHMARKS_FOLDER)/**" \
-x "**/$(CONFIG_FOLDER)/**" \
-x "**/$(DOCUMENTATION_FOLDER)/**"
-x "**/$(DOCUMENTATION_FOLDER)/**" \
-x 'custom_folder/**'

# Define command-line options when generating coverage data:
C8_FLAGS = \
$(C8_EXCLUDES_FLAGS) \
--clean=false \
--temp-directory $(COVERAGE_DIR)/tmp \
--report-dir $(COVERAGE_DIR) \
--reporter lcov
--reporter lcov \
--100


# RULES #
Expand Down
Loading