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

@@ -1,10 +1,11 @@
import { IExecuteFunctions } from 'n8n-core';
import type { IExecuteFunctions } from 'n8n-core';
import { IDataObject, ILoadOptionsFunctions, NodeApiError, NodeOperationError } from 'n8n-workflow';
import type { IDataObject, ILoadOptionsFunctions } from 'n8n-workflow';
import { NodeApiError, NodeOperationError } from 'n8n-workflow';
import { OptionsWithUri } from 'request';
import type { OptionsWithUri } from 'request';
import { MispCredentials } from './types';
import type { MispCredentials } from './types';
import { URL } from 'url';

View File

@@ -1,6 +1,11 @@
import { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core';
import type { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-core';
import { IDataObject, INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow';
import type {
IDataObject,
INodeExecutionData,
INodeType,
INodeTypeDescription,
} from 'n8n-workflow';
import {
mispApiRequest,
@@ -33,7 +38,7 @@ import {
warninglistOperations,
} from './descriptions';
import { LoadedOrgs, LoadedSharingGroups, LoadedTags, LoadedUsers } from './types';
import type { LoadedOrgs, LoadedSharingGroups, LoadedTags, LoadedUsers } from './types';
export class Misp implements INodeType {
description: INodeTypeDescription = {

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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