UNPKG

array.prototype.unshift

Version:

ES spec-compliant `Array.prototype.unshift` shim/polyfill/replacement that works as far down as ES3.

33 lines (29 loc) 450 B
{ "root": true, "extends": "@ljharb", "rules": { "id-length": 0, "multiline-comment-style": 0, "new-cap": [2, { "capIsNewExceptions": [ "DeletePropertyOrThrow", "Get", "GetIntrinsic", "HasProperty", "LengthOfArrayLike", "RequireObjectCoercible", "Set", "ToObject", "ToString", ] }], }, "overrides": [ { "files": "test/**", "rules": { "max-lines-per-function": 0, }, }, ], }