UNPKG

array-includes

Version:

An ES7/ES2016 spec-compliant `Array.prototype.includes` shim/polyfill/replacement that works as far down as ES3.

30 lines (26 loc) 425 B
{ "root": true, "extends": "@ljharb", "rules": { "id-length": [2, { "min": 1, "max": 26 }], "new-cap": [2, { "capIsNewExceptions": [ "GetIntrinsic", "ToObject", "ToIntegerOrInfinity", "ToLength", "SameValueZero", "RequireObjectCoercible", ], }], }, "overrides": [ { "files": "test/**", "rules": { "max-lines-per-function": 0, "no-invalid-this": 1, }, }, ], }