Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6324fff

Browse files
committed
adding ArrayBuffer to global permitted by eslint
1 parent 365f53a commit 6324fff

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/.eslintrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
"globals": {
77
"Promise": true,
88
"Float32Array": true,
9-
"Uint8Array": true
9+
"Uint8Array": true,
10+
"ArrayBuffer": true
1011
},
1112
"rules": {
1213
"strict": [2, "global"],

src/lib/is_array.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@
1414
*/
1515
module.exports = function isArray(a) {
1616
return Array.isArray(a) || ArrayBuffer.isView(a);
17-
}
17+
};

0 commit comments

Comments
 (0)