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:
Iván Ovejero
2022-12-02 15:25:21 +01:00
committed by GitHub
parent 632f573021
commit cfd32d2642
272 changed files with 367 additions and 926 deletions

View File

@@ -59,7 +59,7 @@ export function createTableStruct(
* @param {ITables} tables The ITables to be processed.
* @param {function} buildQueryQueue function that builds the queue of promises
*/
// tslint:disable-next-line: no-any
export function executeQueryQueue(tables: ITables, buildQueryQueue: Function): Promise<any[]> {
return Promise.all(
Object.keys(tables).map((table) => {
@@ -83,7 +83,7 @@ export function executeQueryQueue(tables: ITables, buildQueryQueue: Function): P
* @param {IDataObject} item The item to extract
*/
export function extractValues(item: IDataObject): string {
return `(${Object.values(item as any) // tslint:disable-line:no-any
return `(${Object.values(item as any)
.map((val) => {
//the column cannot be found in the input
//so, set it to null in the sql query