123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- {
- "root": true,
- "extends": "@ljharb",
- "plugins": [
- "import",
- ],
- "globals": {
- "Iterator": false,
- },
- "rules": {
- "array-bracket-newline": 0,
- "func-name-matching": 0,
- "id-length": 0,
- "max-lines-per-function": 0,
- "max-statements": 0,
- "multiline-comment-style": 0,
- "new-cap": [2, {
- "capIsNewExceptions": [
- "Call",
- "CreateIteratorFromClosure",
- "CreateIterResultObject",
- "GeneratorResume",
- "GeneratorResumeAbrupt",
- "GeneratorStart",
- "GeneratorValidate",
- "Get",
- "GetIntrinsic",
- "GetIterator",
- "GetIteratorDirect",
- "GetIteratorFlattenable",
- "GetMethod",
- "IsArray",
- "IsCallable",
- "IteratorClose",
- "IteratorComplete",
- "IteratorNext",
- "IteratorStepValue",
- "IteratorStep",
- "NormalCompletion",
- "OrdinaryHasInstance",
- "OrdinaryObjectCreate",
- "PromiseResolve",
- "StringToCodePoints",
- "ThrowCompletion",
- "ToBoolean",
- "ToIntegerOrInfinity",
- "ToNumber",
- "ToObject",
- "Type",
- ],
- }],
- "no-negated-condition": 1,
- "object-curly-newline": 0,
- "sort-keys": 0,
- "import/no-extraneous-dependencies": 2,
- },
- "overrides": [
- {
- "files": "test/**",
- "rules": {
- "eqeqeq": ["error", "allow-null"],
- "max-params": 0,
- "import/no-extraneous-dependencies": [2, { "devDependencies": true }],
- },
- },
- ],
- }
|