refactor(editor): Stricter linting for promises and async functions (no-changelog) (#4642)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import type { IDataObject, DocMetadata } from 'n8n-workflow';
|
||||
import type { IDataObject, DocMetadata, NativeDoc } from 'n8n-workflow';
|
||||
import { ExpressionExtensions, NativeMethods } from 'n8n-workflow';
|
||||
import { DateTime } from 'luxon';
|
||||
import { i18n } from '@/plugins/i18n';
|
||||
@@ -17,7 +17,6 @@ import {
|
||||
import type { Completion, CompletionContext, CompletionResult } from '@codemirror/autocomplete';
|
||||
import type { AutocompleteOptionType, ExtensionTypeName, FnToDoc, Resolved } from './types';
|
||||
import { sanitizeHtml } from '@/utils';
|
||||
import type { NativeDoc } from 'n8n-workflow/src/Extensions/Extensions';
|
||||
import { isFunctionOption } from './typeGuards';
|
||||
import { luxonInstanceDocs } from './nativesAutocompleteDocs/luxon.instance.docs';
|
||||
import { luxonStaticDocs } from './nativesAutocompleteDocs/luxon.static.docs';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { NativeDoc } from 'n8n-workflow/src/Extensions/Extensions';
|
||||
import type { NativeDoc } from 'n8n-workflow';
|
||||
|
||||
// Autocomplete documentation definition for DateTime instance props and methods
|
||||
// Descriptions are added dynamically so they can be localized
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { NativeDoc } from 'n8n-workflow/src/Extensions/Extensions';
|
||||
import type { NativeDoc } from 'n8n-workflow';
|
||||
|
||||
// Autocomplete documentation definition for DateTime class static props and methods
|
||||
// Descriptions are added dynamically so they can be localized
|
||||
|
||||
Reference in New Issue
Block a user