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:
Michael Kret
2022-11-08 16:28:21 +02:00
committed by GitHub
parent ebf17e1827
commit 479644a499
260 changed files with 366 additions and 695 deletions

View File

@@ -114,7 +114,7 @@ export class HelpScout implements INodeType {
);
for (const tag of tags) {
const tagName = tag.name;
const tagId = tag.id;
const _tagId = tag.id;
returnData.push({
name: tagName,
value: tagName,
@@ -453,7 +453,7 @@ export class HelpScout implements INodeType {
//https://developer.helpscout.com/mailbox-api/endpoints/conversations/threads/chat
if (operation === 'create') {
const conversationId = this.getNodeParameter('conversationId', i) as string;
const type = this.getNodeParameter('type', i) as string;
const _type = this.getNodeParameter('type', i) as string;
const text = this.getNodeParameter('text', i) as string;
const additionalFields = this.getNodeParameter('additionalFields', i) as IDataObject;
const attachments = this.getNodeParameter('attachmentsUi', i) as IDataObject;