build: Only enable no-argument-spread lint rule in node packages (#18378)

This commit is contained in:
Elias Meire
2025-08-18 13:48:46 +02:00
committed by GitHub
parent f769d5588e
commit ba5ada24c2
7 changed files with 11 additions and 10 deletions

View File

@@ -44,6 +44,5 @@ const playwrightRoot = findProjectRoot('playwright.config.ts');
* @returns An absolute path to the file or directory.
*/
export function resolveFromRoot(...pathSegments: string[]): string {
// eslint-disable-next-line n8n-local-rules/no-argument-spread
return path.join(playwrightRoot, ...pathSegments);
}