mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
refactor(core): Update rule typescript-eslint/no-unused-vars to not error when variable starts with _ (#4523)
* ⚡ rule and fixes * ⚡ clean up
This commit is contained in:
@@ -7,7 +7,6 @@ import {
|
||||
INodePropertyOptions,
|
||||
INodeType,
|
||||
INodeTypeDescription,
|
||||
NodeExecutionWithMetadata,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
import { deepLApiRequest } from './GenericFunctions';
|
||||
@@ -132,10 +131,9 @@ export class DeepL implements INodeType {
|
||||
const { translations } = await deepLApiRequest.call(this, 'GET', '/translate', body);
|
||||
const [translation] = translations;
|
||||
const translationJsonArray = this.helpers.returnJsonArray(translation);
|
||||
const executionData = this.helpers.constructExecutionMetaData(
|
||||
translationJsonArray,
|
||||
{ itemData: { item: i } },
|
||||
);
|
||||
const executionData = this.helpers.constructExecutionMetaData(translationJsonArray, {
|
||||
itemData: { item: i },
|
||||
});
|
||||
responseData.push(...executionData);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user