refactor: Impose import/order linting rule across nodes packages (no-changelog) (#12314)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2024-12-19 18:46:14 +01:00
committed by GitHub
parent 8c635993bd
commit bafac73eb5
1120 changed files with 2677 additions and 2827 deletions

View File

@@ -1,3 +1,4 @@
import moment from 'moment-timezone';
import type {
IExecuteFunctions,
IDataObject,
@@ -9,9 +10,11 @@ import type {
JsonObject,
} from 'n8n-workflow';
import { NodeConnectionType, NodeApiError, NodeOperationError } from 'n8n-workflow';
import moment from 'moment-timezone';
import { v4 as uuid } from 'uuid';
import { calendarFields, calendarOperations } from './CalendarDescription';
import { eventFields, eventOperations } from './EventDescription';
import type { IEvent } from './EventInterface';
import {
addNextOccurrence,
addTimezoneToDate,
@@ -22,12 +25,6 @@ import {
googleApiRequestAllItems,
} from './GenericFunctions';
import { eventFields, eventOperations } from './EventDescription';
import { calendarFields, calendarOperations } from './CalendarDescription';
import type { IEvent } from './EventInterface';
export class GoogleCalendar implements INodeType {
description: INodeTypeDescription = {
displayName: 'Google Calendar',
@@ -536,7 +533,7 @@ export class GoogleCalendar implements INodeType {
body.attendees?.push(attendee);
});
}
(attendees as string[]).forEach((attendee) => {
attendees.forEach((attendee) => {
body.attendees!.push.apply(
body.attendees,
attendee