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:
@@ -8,12 +8,11 @@ export async function microsoftApiRequest(
|
||||
this: IExecuteFunctions | IExecuteSingleFunctions | ILoadOptionsFunctions,
|
||||
method: string,
|
||||
resource: string,
|
||||
// tslint:disable-next-line:no-any
|
||||
|
||||
body: any = {},
|
||||
qs: IDataObject = {},
|
||||
uri?: string,
|
||||
option: IDataObject = {},
|
||||
// tslint:disable-next-line:no-any
|
||||
): Promise<any> {
|
||||
const credentials = (await this.getCredentials('microsoftDynamicsOAuth2Api')) as {
|
||||
subdomain: string;
|
||||
@@ -51,10 +50,9 @@ export async function microsoftApiRequestAllItems(
|
||||
propertyName: string,
|
||||
method: string,
|
||||
endpoint: string,
|
||||
// tslint:disable-next-line:no-any
|
||||
|
||||
body: any = {},
|
||||
query: IDataObject = {},
|
||||
// tslint:disable-next-line:no-any
|
||||
): Promise<any> {
|
||||
const returnData: IDataObject[] = [];
|
||||
|
||||
@@ -100,7 +98,6 @@ export async function getEntityFields(
|
||||
}
|
||||
|
||||
export function adjustAddresses(addresses: [{ [key: string]: string }]) {
|
||||
// tslint:disable-next-line: no-any
|
||||
const results: { [key: string]: any } = {};
|
||||
for (const [index, address] of addresses.entries()) {
|
||||
for (const key of Object.keys(address)) {
|
||||
|
||||
Reference in New Issue
Block a user