diff --git a/lib/constants.ts b/lib/constants.ts index 7ba1905..f4a3ff8 100644 --- a/lib/constants.ts +++ b/lib/constants.ts @@ -215,5 +215,5 @@ export const CREDS_EXEMPTED_FROM_API_SUFFIX = [ endOfLine: 'lf', printWidth: 100, - parser: 'babel' // to silence warning, not part of n8n's config + parser: 'babel-ts' // to silence warning, not part of n8n's config } as const; \ No newline at end of file diff --git a/lib/rules/node-param-options-type-unsorted-items.ts b/lib/rules/node-param-options-type-unsorted-items.ts index b3832f9..d6be097 100644 --- a/lib/rules/node-param-options-type-unsorted-items.ts +++ b/lib/rules/node-param-options-type-unsorted-items.ts @@ -81,7 +81,6 @@ export function toOptions(optionsSource: string): Array<{ name: string }> | null try { return eval(`(${optionsSource})`); } catch (error) { - console.error("Failed to eval options source", optionsSource, error); return null; } }