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

@@ -1,4 +1,4 @@
import { IN8nHttpFullResponse, INodeProperties } from 'n8n-workflow';
import { INodeProperties } from 'n8n-workflow';
export const databasesOperations: INodeProperties[] = [
{
@@ -329,28 +329,3 @@ export const databasesFields: INodeProperties[] = [
default: true,
},
];
type MetabaseDatabaseResult = IN8nHttpFullResponse & {
body: Array<{
data: Array<{
id: number;
name: string;
description: string;
details: MetabaseDatabaseDetail;
timezone: string;
creator_id: number;
created_at: string;
updated_at: string;
engine: string;
is_full_sync: string;
}>;
}>;
};
type MetabaseDatabaseDetail = {
host?: string;
port?: number;
user?: string;
ssl?: boolean;
db?: string;
};