mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 10:31:15 +00:00
build: Only enable no-argument-spread lint rule in node packages (#18378)
This commit is contained in:
@@ -586,7 +586,7 @@ function getParentTypes(name: string): string[] {
|
||||
const types: string[] = [];
|
||||
for (const typeName of type.extends) {
|
||||
types.push(typeName);
|
||||
types.push.apply(types, getParentTypes(typeName)); // eslint-disable-line prefer-spread
|
||||
types.push.apply(types, getParentTypes(typeName));
|
||||
}
|
||||
|
||||
return types;
|
||||
|
||||
Reference in New Issue
Block a user