mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +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:
@@ -356,17 +356,15 @@ export class Magento2 implements INodeType {
|
||||
'is_subscribed',
|
||||
'vertex_customer_code',
|
||||
'vertex_customer_country',
|
||||
]
|
||||
// tslint:disable-next-line: no-any
|
||||
.reduce((obj, value: string): any => {
|
||||
if ((rest as IDataObject).hasOwnProperty(value)) {
|
||||
const data = Object.assign(obj, { [value]: (rest as IDataObject)[value] });
|
||||
delete (rest as IDataObject)[value];
|
||||
return data;
|
||||
} else {
|
||||
return obj;
|
||||
}
|
||||
}, {});
|
||||
].reduce((obj, value: string): any => {
|
||||
if ((rest as IDataObject).hasOwnProperty(value)) {
|
||||
const data = Object.assign(obj, { [value]: (rest as IDataObject)[value] });
|
||||
delete (rest as IDataObject)[value];
|
||||
return data;
|
||||
} else {
|
||||
return obj;
|
||||
}
|
||||
}, {});
|
||||
|
||||
if (password) {
|
||||
body.password = password;
|
||||
@@ -502,17 +500,15 @@ export class Magento2 implements INodeType {
|
||||
'is_subscribed',
|
||||
'vertex_customer_code',
|
||||
'vertex_customer_country',
|
||||
]
|
||||
// tslint:disable-next-line: no-any
|
||||
.reduce((obj, value: string): any => {
|
||||
if ((rest as IDataObject).hasOwnProperty(value)) {
|
||||
const data = Object.assign(obj, { [value]: (rest as IDataObject)[value] });
|
||||
delete (rest as IDataObject)[value];
|
||||
return data;
|
||||
} else {
|
||||
return obj;
|
||||
}
|
||||
}, {});
|
||||
].reduce((obj, value: string): any => {
|
||||
if ((rest as IDataObject).hasOwnProperty(value)) {
|
||||
const data = Object.assign(obj, { [value]: (rest as IDataObject)[value] });
|
||||
delete (rest as IDataObject)[value];
|
||||
return data;
|
||||
} else {
|
||||
return obj;
|
||||
}
|
||||
}, {});
|
||||
|
||||
if (password) {
|
||||
body.password = password;
|
||||
|
||||
Reference in New Issue
Block a user