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

@@ -2,7 +2,7 @@ import { IExecuteFunctions } from 'n8n-core';
import { IDataObject, INodeExecutionData } from 'n8n-workflow';
import { apiRequest, apiRequestAllItems } from '../../../transport';
import { apiRequest } from '../../../transport';
export async function restore(
this: IExecuteFunctions,

View File

@@ -1,5 +1,5 @@
/* eslint-disable n8n-nodes-base/node-filename-against-convention */
import { INodeProperties, INodeTypeDescription } from 'n8n-workflow';
import { INodeTypeDescription } from 'n8n-workflow';
import * as channel from './channel';
import * as message from './message';
import * as reaction from './reaction';

View File

@@ -1,12 +1,6 @@
import { IExecuteFunctions, IHookFunctions, ILoadOptionsFunctions } from 'n8n-core';
import {
GenericValue,
IDataObject,
IHttpRequestMethods,
IHttpRequestOptions,
NodeOperationError,
} from 'n8n-workflow';
import { GenericValue, IDataObject, IHttpRequestMethods, IHttpRequestOptions } from 'n8n-workflow';
/**
* Make an API request to Mattermost