mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
refactor: Phase out TSLint in nodes-base (no-changelog) (#4798)
* 🔥 Remove TSLint scripts * 🔥 Remove TSLint config * 🔥 Remove TSLint exceptions * 👕 Adjust lint config * ✏️ Add story numbers
This commit is contained in:
@@ -80,12 +80,7 @@ export function parseDefinedFields(fieldsToSendProperties: GristDefinedFields) {
|
||||
}, {});
|
||||
}
|
||||
|
||||
export function parseAutoMappedInputs(
|
||||
incomingKeys: string[],
|
||||
inputsToIgnore: string[],
|
||||
item: any, // tslint:disable-line:no-any
|
||||
) {
|
||||
// tslint:disable-next-line:no-any
|
||||
export function parseAutoMappedInputs(incomingKeys: string[], inputsToIgnore: string[], item: any) {
|
||||
return incomingKeys.reduce<{ [key: string]: any }>((acc, curKey) => {
|
||||
if (inputsToIgnore.includes(curKey)) return acc;
|
||||
acc = { ...acc, [curKey]: item[curKey] };
|
||||
|
||||
Reference in New Issue
Block a user