refactor: Validate formatting in nodes-base (no-changelog) (#4685)

* 🔥 Remove Prettier exceptions

* 👕 Start linting on formatting

*  Update `format` command

* 🎨 Apply formatting
This commit is contained in:
Iván Ovejero
2022-11-22 12:44:35 +01:00
committed by GitHub
parent 4f64e26a83
commit 60d66426ff
21 changed files with 62 additions and 136 deletions

View File

@@ -22,7 +22,7 @@ export class CloudflareApi implements ICredentialType {
type: 'generic',
properties: {
headers: {
'Authorization': '=Bearer {{$credentials.apiToken}}',
Authorization: '=Bearer {{$credentials.apiToken}}',
},
},
};

View File

@@ -1,4 +1,9 @@
import { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, INodeProperties } from 'n8n-workflow';
import {
IAuthenticateGeneric,
ICredentialTestRequest,
ICredentialType,
INodeProperties,
} from 'n8n-workflow';
export class HubspotAppToken implements ICredentialType {
name = 'hubspotAppToken';

View File

@@ -91,7 +91,8 @@ export class MicrosoftSql implements ICredentialType {
},
],
default: '7_4',
description: 'The version of TDS to use. If server doesn\'t support specified version, negotiated version is used instead.',
description:
"The version of TDS to use. If server doesn't support specified version, negotiated version is used instead.",
},
];
}

View File

@@ -24,7 +24,7 @@ export class RundeckApi implements ICredentialType {
default: '',
},
];
authenticate: IAuthenticateGeneric = {
type: 'generic',
properties: {
@@ -41,5 +41,5 @@ export class RundeckApi implements ICredentialType {
url: '/api/14/system/info',
method: 'GET',
},
};
};
}

View File

@@ -78,7 +78,9 @@ export class VenafiTlsProtectDatacenterApi implements ICredentialType {
},
};
const { access_token } = await this.helpers.httpRequest(requestOptions) as { access_token: string };
const { access_token } = (await this.helpers.httpRequest(requestOptions)) as {
access_token: string;
};
return { token: access_token };
}