refactor: Apply more eslint-plugin-n8n-nodes-base rules (#3534)
* ⚡ Update `lintfix` script * ⚡ Run baseline `lintfix` * 🔥 Remove unneeded exceptions (#3538) * 🔥 Remove exceptions for `node-param-default-wrong-for-simplify` * 🔥 Remove exceptions for `node-param-placeholder-miscased-id` * ⚡ Update version * 👕 Apply `node-param-placeholder-missing` (#3542) * 👕 Apply `filesystem-wrong-cred-filename` (#3543) * 👕 Apply `node-param-description-missing-from-dynamic-options` (#3545) Co-authored-by: Iván Ovejero <ivov.src@gmail.com> * 👕 Apply `node-class-description-empty-string` (#3546) * 👕 Apply `node-class-description-icon-not-svg` (#3548) * 👕 Apply `filesystem-wrong-node-filename` (#3549) Co-authored-by: Iván Ovejero <ivov.src@gmail.com> * 👕 Expand lintings to credentials (#3550) * 👕 Apply `node-param-multi-options-type-unsorted-items` (#3552) * ⚡ fix * ⚡ Minor fixes Co-authored-by: Michael Kret <michael.k@radency.com> * 👕 Apply `node-param-description-wrong-for-dynamic-multi-options` (#3541) * ⚡ Add new lint rule, node-param-description-wrong-for-dynamic-multi-options * ⚡ Fix with updated linting rules * ⚡ Minor fixes Co-authored-by: Iván Ovejero <ivov.src@gmail.com> * 👕 Apply `node-param-description-boolean-without-whether` (#3553) * ⚡ fix * Update packages/nodes-base/nodes/Clockify/ProjectDescription.ts Co-authored-by: Iván Ovejero <ivov.src@gmail.com> * 👕 Apply node-param-display-name-wrong-for-dynamic-multi-options (#3537) * 👕 Add exceptions * 👕 Add exception * ✏️ Alphabetize rules * ⚡ Restore `lintfix` command Co-authored-by: agobrech <45268029+agobrech@users.noreply.github.com> Co-authored-by: Omar Ajoue <krynble@gmail.com> Co-authored-by: Michael Kret <michael.k@radency.com> Co-authored-by: brianinoa <54530642+brianinoa@users.noreply.github.com> Co-authored-by: Michael Kret <88898367+michael-radency@users.noreply.github.com>
This commit is contained in:
@@ -12,6 +12,7 @@ export class AgileCrmApi implements ICredentialType {
|
||||
displayName: 'Email',
|
||||
name: 'email',
|
||||
type: 'string',
|
||||
placeholder: 'name@email.com',
|
||||
default: '',
|
||||
},
|
||||
{
|
||||
|
||||
@@ -152,6 +152,7 @@ export class Aws implements ICredentialType {
|
||||
{
|
||||
displayName: 'Temporary Security Credentials',
|
||||
name: 'temporaryCredentials',
|
||||
// eslint-disable-next-line n8n-nodes-base/node-param-description-boolean-without-whether
|
||||
description: 'Support for temporary credentials from AWS STS',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
|
||||
@@ -20,6 +20,7 @@ export class CopperApi implements ICredentialType {
|
||||
name: 'email',
|
||||
required: true,
|
||||
type: 'string',
|
||||
placeholder: 'name@email.com',
|
||||
default: '',
|
||||
},
|
||||
];
|
||||
|
||||
@@ -42,6 +42,7 @@ export class FormIoApi implements ICredentialType {
|
||||
displayName: 'Email',
|
||||
name: 'email',
|
||||
type: 'string',
|
||||
placeholder: 'name@email.com',
|
||||
default: '',
|
||||
},
|
||||
{
|
||||
|
||||
@@ -14,6 +14,7 @@ export class GoogleApi implements ICredentialType {
|
||||
displayName: 'Service Account Email',
|
||||
name: 'email',
|
||||
type: 'string',
|
||||
placeholder: 'name@email.com',
|
||||
default: '',
|
||||
description: 'The Google Service account similar to user-808@project.iam.gserviceaccount.com',
|
||||
required: true,
|
||||
|
||||
@@ -37,7 +37,7 @@ export class HaloPSAApi implements ICredentialType {
|
||||
type: 'string',
|
||||
default: '',
|
||||
required: true,
|
||||
description: 'The Resource server is available at your "Halo Web Application url/api"',
|
||||
description: 'The Resource server is available at your "Halo Web Application URL/api"',
|
||||
},
|
||||
{
|
||||
displayName: 'Client ID',
|
||||
|
||||
@@ -64,7 +64,6 @@ export class HubspotDeveloperApi implements ICredentialType {
|
||||
type: 'string',
|
||||
required: true,
|
||||
default: '',
|
||||
description: 'The APP ID',
|
||||
},
|
||||
{
|
||||
displayName: 'Scope',
|
||||
|
||||
@@ -12,6 +12,7 @@ export class JiraSoftwareCloudApi implements ICredentialType {
|
||||
displayName: 'Email',
|
||||
name: 'email',
|
||||
type: 'string',
|
||||
placeholder: 'name@email.com',
|
||||
default: '',
|
||||
},
|
||||
{
|
||||
|
||||
@@ -12,6 +12,7 @@ export class JiraSoftwareServerApi implements ICredentialType {
|
||||
displayName: 'Email',
|
||||
name: 'email',
|
||||
type: 'string',
|
||||
placeholder: 'name@email.com',
|
||||
default: '',
|
||||
},
|
||||
{
|
||||
|
||||
@@ -91,7 +91,6 @@ export class Kafka implements ICredentialType {
|
||||
},
|
||||
],
|
||||
default: 'plain',
|
||||
description: 'The SASL mechanism',
|
||||
},
|
||||
];
|
||||
}
|
||||
|
||||
@@ -93,7 +93,7 @@ export class MicrosoftDynamicsOAuth2Api implements ICredentialType {
|
||||
value: 'crm15.dynamics.com',
|
||||
},
|
||||
{
|
||||
name: 'United Kingdom (UK/ GBR)',
|
||||
name: 'United Kingdom (UK/ GBR)',
|
||||
value: 'crm11.dynamics.com',
|
||||
},
|
||||
{
|
||||
|
||||
@@ -24,6 +24,7 @@ export class MispApi implements ICredentialType {
|
||||
displayName: 'Allow Unauthorized Certificates',
|
||||
name: 'allowUnauthorizedCerts',
|
||||
type: 'boolean',
|
||||
description: 'Whether to connect even if SSL certificate validation is not possible',
|
||||
default: false,
|
||||
},
|
||||
];
|
||||
|
||||
@@ -36,8 +36,7 @@ export class MongoDb implements ICredentialType {
|
||||
},
|
||||
default: '',
|
||||
placeholder: 'mongodb://<USERNAME>:<PASSWORD>@localhost:27017/?authSource=admin&readPreference=primary&appname=n8n&ssl=false',
|
||||
description: `If provided, the value here will be used as a MongoDB connection string,
|
||||
and the MongoDB credentials will be ignored`,
|
||||
description: 'If provided, the value here will be used as a MongoDB connection string, and the MongoDB credentials will be ignored',
|
||||
},
|
||||
{
|
||||
displayName: 'Host',
|
||||
|
||||
@@ -26,6 +26,7 @@ export class SplunkApi implements ICredentialType {
|
||||
displayName: 'Allow Self-Signed Certificates',
|
||||
name: 'allowUnauthorizedCerts',
|
||||
type: 'boolean',
|
||||
description: 'Whether to connect even if SSL certificate validation is not possible',
|
||||
default: false,
|
||||
},
|
||||
];
|
||||
|
||||
@@ -12,6 +12,7 @@ export class StrapiApi implements ICredentialType {
|
||||
displayName: 'Email',
|
||||
name: 'email',
|
||||
type: 'string',
|
||||
placeholder: 'name@email.com',
|
||||
default: '',
|
||||
},
|
||||
{
|
||||
|
||||
@@ -45,6 +45,7 @@ export class TheHiveApi implements ICredentialType {
|
||||
displayName: 'Ignore SSL Issues',
|
||||
name: 'allowUnauthorizedCerts',
|
||||
type: 'boolean',
|
||||
description: 'Whether to connect even if SSL certificate validation is not possible',
|
||||
default: false,
|
||||
},
|
||||
];
|
||||
|
||||
@@ -12,6 +12,7 @@ export class UProcApi implements ICredentialType {
|
||||
displayName: 'Email',
|
||||
name: 'email',
|
||||
type: 'string',
|
||||
placeholder: 'name@email.com',
|
||||
default: '',
|
||||
},
|
||||
{
|
||||
|
||||
@@ -38,6 +38,7 @@ export class ZammadBasicAuthApi implements ICredentialType {
|
||||
displayName: 'Ignore SSL Issues',
|
||||
name: 'allowUnauthorizedCerts',
|
||||
type: 'boolean',
|
||||
description: 'Whether to connect even if SSL certificate validation is not possible',
|
||||
default: false,
|
||||
},
|
||||
];
|
||||
|
||||
@@ -30,6 +30,7 @@ export class ZammadTokenAuthApi implements ICredentialType {
|
||||
displayName: 'Ignore SSL Issues',
|
||||
name: 'allowUnauthorizedCerts',
|
||||
type: 'boolean',
|
||||
description: 'Whether to connect even if SSL certificate validation is not possible',
|
||||
default: false,
|
||||
},
|
||||
];
|
||||
|
||||
@@ -23,6 +23,7 @@ export class ZendeskApi implements ICredentialType {
|
||||
displayName: 'Email',
|
||||
name: 'email',
|
||||
type: 'string',
|
||||
placeholder: 'name@email.com',
|
||||
default: '',
|
||||
},
|
||||
{
|
||||
|
||||
@@ -19,6 +19,7 @@ export class ZulipApi implements ICredentialType {
|
||||
displayName: 'Email',
|
||||
name: 'email',
|
||||
type: 'string',
|
||||
placeholder: 'name@email.com',
|
||||
default: '',
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user