@typescript-eslint/eslint-plugin
Advanced tools
Comparing version 7.16.2-alpha.15 to 7.16.2-alpha.16
@@ -173,3 +173,6 @@ "use strict"; | ||
const customTypes = options.types ?? {}; | ||
const types = Object.assign({}, extendDefaults ? defaultTypes : {}, customTypes); | ||
const types = { | ||
...(extendDefaults && defaultTypes), | ||
...customTypes, | ||
}; | ||
const bannedTypes = new Map(Object.entries(types).map(([type, data]) => [removeSpaces(type), data])); | ||
@@ -176,0 +179,0 @@ function checkBannedTypes(typeNode, name = stringifyNode(typeNode, context.sourceCode)) { |
@@ -158,3 +158,4 @@ "use strict"; | ||
} | ||
return Object.assign({}, rules, { | ||
return { | ||
...rules, | ||
// overwrite the base rule here so we can use our KNOWN_NODES list instead | ||
@@ -412,5 +413,5 @@ '*:exit'(node) { | ||
}, | ||
}); | ||
}; | ||
}, | ||
}); | ||
//# sourceMappingURL=indent.js.map |
@@ -272,5 +272,5 @@ "use strict"; | ||
}; | ||
return Object.assign({}, rules, overrides); | ||
return { ...rules, ...overrides }; | ||
}, | ||
}); | ||
//# sourceMappingURL=no-extra-parens.js.map |
@@ -158,6 +158,6 @@ "use strict"; | ||
return { | ||
start: Object.assign({}, start), | ||
end: Object.assign({}, end), | ||
start: { ...start }, | ||
end: { ...end }, | ||
}; | ||
} | ||
//# sourceMappingURL=getFunctionHeadLoc.js.map |
{ | ||
"name": "@typescript-eslint/eslint-plugin", | ||
"version": "7.16.2-alpha.15", | ||
"version": "7.16.2-alpha.16", | ||
"description": "TypeScript plugin for ESLint", | ||
@@ -63,6 +63,6 @@ "files": [ | ||
"@eslint-community/regexpp": "^4.10.0", | ||
"@typescript-eslint/scope-manager": "7.16.2-alpha.15", | ||
"@typescript-eslint/type-utils": "7.16.2-alpha.15", | ||
"@typescript-eslint/utils": "7.16.2-alpha.15", | ||
"@typescript-eslint/visitor-keys": "7.16.2-alpha.15", | ||
"@typescript-eslint/scope-manager": "7.16.2-alpha.16", | ||
"@typescript-eslint/type-utils": "7.16.2-alpha.16", | ||
"@typescript-eslint/utils": "7.16.2-alpha.16", | ||
"@typescript-eslint/visitor-keys": "7.16.2-alpha.16", | ||
"graphemer": "^1.4.0", | ||
@@ -78,4 +78,4 @@ "ignore": "^5.3.1", | ||
"@types/natural-compare": "*", | ||
"@typescript-eslint/rule-schema-to-typescript-types": "7.16.2-alpha.15", | ||
"@typescript-eslint/rule-tester": "7.16.2-alpha.15", | ||
"@typescript-eslint/rule-schema-to-typescript-types": "7.16.2-alpha.16", | ||
"@typescript-eslint/rule-tester": "7.16.2-alpha.16", | ||
"ajv": "^6.12.6", | ||
@@ -82,0 +82,0 @@ "cross-env": "^7.0.3", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
33017
2824480
+ Added@typescript-eslint/scope-manager@7.16.2-alpha.16(transitive)
+ Added@typescript-eslint/type-utils@7.16.2-alpha.16(transitive)
+ Added@typescript-eslint/types@7.16.2-alpha.16(transitive)
+ Added@typescript-eslint/typescript-estree@7.16.2-alpha.16(transitive)
+ Added@typescript-eslint/utils@7.16.2-alpha.16(transitive)
+ Added@typescript-eslint/visitor-keys@7.16.2-alpha.16(transitive)
- Removed@typescript-eslint/scope-manager@7.16.2-alpha.15(transitive)
- Removed@typescript-eslint/type-utils@7.16.2-alpha.15(transitive)
- Removed@typescript-eslint/types@7.16.2-alpha.15(transitive)
- Removed@typescript-eslint/typescript-estree@7.16.2-alpha.15(transitive)
- Removed@typescript-eslint/utils@7.16.2-alpha.15(transitive)
- Removed@typescript-eslint/visitor-keys@7.16.2-alpha.15(transitive)