refactor: Clear unused ESLint directives from nodes-base (no-changelog) (#6812)

* refactor: Clear unused ESLint directives from nodes-base (no-changelog)

* removed unused disable directives

---------

Co-authored-by: Marcus <marcus@n8n.io>
This commit is contained in:
Iván Ovejero
2023-08-01 15:32:33 +02:00
committed by GitHub
parent 52aafe0737
commit 24ce141815
85 changed files with 44 additions and 110 deletions

View File

@@ -554,7 +554,6 @@ export function getFields(object: string) {
],
} as { [key: string]: any };
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument
return [{ name: '*', value: '*' }].concat(data[object] || []).map((fieldObject: IDataObject) => ({
...fieldObject,
name: fieldObject.value !== '*' ? capitalCase(fieldObject.value as string) : fieldObject.value,