mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
refactor: Apply more eslint-plugin-n8n-nodes-base autofixable rules (#3243)
* ✏️ Alphabetize rules * 🔖 Update version * ⚡ Update lintfix command * ⚡ Run baseline lintfix * 📦 Update package-lock.json * 👕 Apply `node-param-description-untrimmed` (#3200) * Removing unneeded backticks (#3249) * 👕 Apply node-param-description-wrong-for-return-all (#3253) * 👕 Apply node-param-description-missing-limit (#3252) Co-authored-by: Iván Ovejero <ivov.src@gmail.com> * 👕 Apply node-param-description-excess-final-period (#3250) Co-authored-by: Iván Ovejero <ivov.src@gmail.com> * 👕 Apply node-param-description-unencoded-angle-brackets (#3256) Co-authored-by: Iván Ovejero <ivov.src@gmail.com> * 👕 Apply node-param-description-url-missing-protocol (#3258) * 👕 Apply `node-param-description-miscased-id` (#3254) Co-authored-by: Iván Ovejero <ivov.src@gmail.com> * 👕 Apply node-param-description-wrong-for-limit (#3257) Co-authored-by: Iván Ovejero <ivov.src@gmail.com> * 👕 Apply node-param-description-wrong-for-ignore-ssl-issues (#3261) * 👕 Apply rule * ⚡ Restore lintfix script * ⚡ Restore lintfix script Co-authored-by: agobrech <45268029+agobrech@users.noreply.github.com> Co-authored-by: Omar Ajoue <krynble@gmail.com> Co-authored-by: Michael Kret <88898367+michael-radency@users.noreply.github.com>
This commit is contained in:
@@ -129,7 +129,7 @@ export class GraphQL implements INodeType {
|
||||
},
|
||||
],
|
||||
default: 'none',
|
||||
description: 'The way to authenticate.',
|
||||
description: 'The way to authenticate',
|
||||
},
|
||||
{
|
||||
displayName: 'HTTP Request Method',
|
||||
@@ -146,7 +146,7 @@ export class GraphQL implements INodeType {
|
||||
},
|
||||
],
|
||||
default: 'POST',
|
||||
description: 'The underlying HTTP request method to use.',
|
||||
description: 'The underlying HTTP request method to use',
|
||||
},
|
||||
{
|
||||
displayName: 'Endpoint',
|
||||
@@ -154,7 +154,7 @@ export class GraphQL implements INodeType {
|
||||
type: 'string',
|
||||
default: '',
|
||||
placeholder: 'http://example.com/graphql',
|
||||
description: 'The GraphQL endpoint.',
|
||||
description: 'The GraphQL endpoint',
|
||||
required: true,
|
||||
},
|
||||
{
|
||||
@@ -162,7 +162,8 @@ export class GraphQL implements INodeType {
|
||||
name: 'allowUnauthorizedCerts',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: 'Still fetch the response even if SSL certificate validation is not possible.',
|
||||
// eslint-disable-next-line n8n-nodes-base/node-param-description-wrong-for-ignore-ssl-issues
|
||||
description: 'Whether to download the response even if SSL certificate validation is not possible',
|
||||
},
|
||||
{
|
||||
displayName: 'Request Format',
|
||||
@@ -246,7 +247,7 @@ export class GraphQL implements INodeType {
|
||||
},
|
||||
],
|
||||
default: 'json',
|
||||
description: 'The format in which the data gets returned from the URL.',
|
||||
description: 'The format in which the data gets returned from the URL',
|
||||
},
|
||||
{
|
||||
displayName: 'Response Data Property Name',
|
||||
@@ -261,7 +262,7 @@ export class GraphQL implements INodeType {
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'Name of the property to which to write the response data.',
|
||||
description: 'Name of the property to which to write the response data',
|
||||
},
|
||||
|
||||
// Header Parameters
|
||||
@@ -273,7 +274,7 @@ export class GraphQL implements INodeType {
|
||||
typeOptions: {
|
||||
multipleValues: true,
|
||||
},
|
||||
description: 'The headers to send.',
|
||||
description: 'The headers to send',
|
||||
default: {},
|
||||
options: [
|
||||
{
|
||||
@@ -285,14 +286,14 @@ export class GraphQL implements INodeType {
|
||||
name: 'name',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Name of the header.',
|
||||
description: 'Name of the header',
|
||||
},
|
||||
{
|
||||
displayName: 'Value',
|
||||
name: 'value',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Value to set for the header.',
|
||||
description: 'Value to set for the header',
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user