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:
@@ -922,7 +922,6 @@ return 0;`,
|
||||
}),
|
||||
};
|
||||
|
||||
// tslint:disable-next-line: no-any
|
||||
const values: { [key: string]: any } = {};
|
||||
const outputFields: string[] = [];
|
||||
|
||||
@@ -1131,7 +1130,6 @@ return 0;`,
|
||||
});
|
||||
|
||||
for (const key of keys) {
|
||||
// tslint:disable-next-line: no-any
|
||||
let type: any = undefined;
|
||||
for (const item of newItems) {
|
||||
if (key === '') {
|
||||
@@ -1390,7 +1388,6 @@ const flattenKeys = (obj: {}, path: string[] = []): {} => {
|
||||
: reduce(obj, (cum, next, key) => merge(cum, flattenKeys(next, [...path, key])), {});
|
||||
};
|
||||
|
||||
// tslint:disable-next-line: no-any
|
||||
const shuffleArray = (array: any[]) => {
|
||||
for (let i = array.length - 1; i > 0; i--) {
|
||||
const j = Math.floor(Math.random() * (i + 1));
|
||||
|
||||
Reference in New Issue
Block a user