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:
@@ -15,7 +15,6 @@ export async function matrixApiRequest(
|
||||
query: object = {},
|
||||
headers: {} | undefined = undefined,
|
||||
option: {} = {},
|
||||
// tslint:disable-next-line:no-any
|
||||
): Promise<any> {
|
||||
let options: OptionsWithUri = {
|
||||
method,
|
||||
@@ -35,7 +34,7 @@ export async function matrixApiRequest(
|
||||
delete options.qs;
|
||||
}
|
||||
try {
|
||||
let response: any; // tslint:disable-line:no-any
|
||||
let response: any;
|
||||
|
||||
const credentials = await this.getCredentials('matrixApi');
|
||||
|
||||
@@ -62,7 +61,6 @@ export async function handleMatrixCall(
|
||||
index: number,
|
||||
resource: string,
|
||||
operation: string,
|
||||
// tslint:disable-next-line:no-any
|
||||
): Promise<any> {
|
||||
if (resource === 'account') {
|
||||
if (operation === 'me') {
|
||||
|
||||
Reference in New Issue
Block a user