refactor: Integrate consistent-type-imports in nodes-base (no-changelog) (#5267)

* 👕 Enable `consistent-type-imports` for nodes-base

* 👕 Apply to nodes-base

*  Undo unrelated changes

* 🚚 Move to `.eslintrc.js` in nodes-base

*  Revert "Enable `consistent-type-imports` for nodes-base"

This reverts commit 529ad72b051478fa1633aaf84b2864f2fdc7613c.

* 👕 Fix severity
This commit is contained in:
Iván Ovejero
2023-01-27 12:22:44 +01:00
committed by GitHub
parent 845f0f9d20
commit b03e358a12
1840 changed files with 3829 additions and 3516 deletions

View File

@@ -4,17 +4,17 @@ import { createHash } from 'crypto';
import { Builder } from 'xml2js';
import { IExecuteFunctions } from 'n8n-core';
import type { IExecuteFunctions } from 'n8n-core';
import {
import type {
IBinaryKeyData,
IDataObject,
INodeExecutionData,
INodeType,
INodeTypeDescription,
JsonObject,
NodeOperationError,
} from 'n8n-workflow';
import { NodeOperationError } from 'n8n-workflow';
import { bucketFields, bucketOperations } from './BucketDescription';

View File

@@ -1,4 +1,4 @@
import { INodeProperties } from 'n8n-workflow';
import type { INodeProperties } from 'n8n-workflow';
export const bucketOperations: INodeProperties[] = [
{

View File

@@ -1,4 +1,4 @@
import { INodeProperties } from 'n8n-workflow';
import type { INodeProperties } from 'n8n-workflow';
export const fileOperations: INodeProperties[] = [
{

View File

@@ -1,4 +1,4 @@
import { INodeProperties } from 'n8n-workflow';
import type { INodeProperties } from 'n8n-workflow';
export const folderOperations: INodeProperties[] = [
{

View File

@@ -2,14 +2,14 @@ import { get } from 'lodash';
import { parseString } from 'xml2js';
import {
import type {
IExecuteFunctions,
IHookFunctions,
ILoadOptionsFunctions,
IWebhookFunctions,
} from 'n8n-core';
import { IDataObject, IHttpRequestOptions } from 'n8n-workflow';
import type { IDataObject, IHttpRequestOptions } from 'n8n-workflow';
export async function awsApiRequest(
this: IHookFunctions | IExecuteFunctions | ILoadOptionsFunctions | IWebhookFunctions,