UNPKG

es-map

Version:

An ES-spec-compliant Map shim/polyfill/replacement that works as far down as ES3

57 lines (53 loc) 938 B
{ "root": true, "extends": "@ljharb", "rules": { "array-bracket-newline": 0, "func-name-matching": 0, "id-length": 0, "max-statements": 0, "new-cap": [2, { "capIsNewExceptions": [ "AddEntriesFromIterable", "ArrayFrom", "Call", "CreateIterResultObject", "DefineMethodProperty", "DefinePropertyOrThrow", "Get", "GetIntrinsic", "GetIterator", "HasOwnProperty", "OrdinaryObjectCreate", "OrdinarySetPrototypeOf", "IsArray", "IsCallable", "IteratorClose", "IteratorStep", "SameValue", "SameValueZero", "ToString", "Type", ], }], "no-magic-numbers": [2, { "ignore": [0, 1, 2] }], "no-negated-condition": 0, }, "overrides": [ { "files": "**/*.mjs", "rules": { //"no-restricted-exports": 0, }, }, { "files": "test/**/*", "rules": { "max-lines-per-function": 0, "no-magic-numbers": 0, }, } ] }