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:
Iván Ovejero
2022-05-06 23:01:25 +02:00
committed by GitHub
parent 1ef10dd23f
commit 63b6c9f128
689 changed files with 6828 additions and 6935 deletions

View File

@@ -142,7 +142,7 @@ export class HttpRequest implements INodeType {
},
],
default: 'none',
description: 'The way to authenticate.',
description: 'The way to authenticate',
},
{
displayName: 'Request Method',
@@ -179,7 +179,7 @@ export class HttpRequest implements INodeType {
},
],
default: 'GET',
description: 'The request method to use.',
description: 'The request method to use',
},
{
displayName: 'URL',
@@ -187,7 +187,7 @@ export class HttpRequest implements INodeType {
type: 'string',
default: '',
placeholder: 'http://example.com/index.html',
description: 'The URL to make the request to.',
description: 'The URL to make the request to',
required: true,
},
{
@@ -195,7 +195,8 @@ export class HttpRequest implements INodeType {
name: 'allowUnauthorizedCerts',
type: 'boolean',
default: false,
description: 'Still download 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: 'Response Format',
@@ -216,7 +217,7 @@ export class HttpRequest 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: 'Property Name',
@@ -231,7 +232,7 @@ export class HttpRequest 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',
},
{
displayName: 'Binary Property',
@@ -246,7 +247,7 @@ export class HttpRequest implements INodeType {
],
},
},
description: 'Name of the binary property to which to write the data of the read file.',
description: 'Name of the binary property to which to write the data of the read file',
},
{
@@ -254,7 +255,7 @@ export class HttpRequest implements INodeType {
name: 'jsonParameters',
type: 'boolean',
default: false,
description: 'If the query and/or body parameter should be set via the value-key pair UI or JSON/RAW.',
description: 'If the query and/or body parameter should be set via the value-key pair UI or JSON/RAW',
},
{
@@ -316,35 +317,35 @@ export class HttpRequest implements INodeType {
},
],
default: 'json',
description: 'Content-Type to use to send body parameters.',
description: 'Content-Type to use to send body parameters',
},
{
displayName: 'Full Response',
name: 'fullResponse',
type: 'boolean',
default: false,
description: 'Returns the full reponse data instead of only the body.',
description: 'Returns the full reponse data instead of only the body',
},
{
displayName: 'Follow All Redirects',
name: 'followAllRedirects',
type: 'boolean',
default: false,
description: 'Follow non-GET HTTP 3xx redirects.',
description: 'Follow non-GET HTTP 3xx redirects',
},
{
displayName: 'Follow GET Redirect',
name: 'followRedirect',
type: 'boolean',
default: true,
description: 'Follow GET HTTP 3xx redirects.',
description: 'Follow GET HTTP 3xx redirects',
},
{
displayName: 'Ignore Response Code',
name: 'ignoreResponseCode',
type: 'boolean',
default: false,
description: 'Succeeds also when status code is not 2xx.',
description: 'Succeeds also when status code is not 2xx',
},
{
displayName: 'MIME Type',
@@ -352,8 +353,7 @@ export class HttpRequest implements INodeType {
type: 'string',
default: '',
placeholder: 'text/xml',
description: 'Specify the mime type for raw/custom body type.',
required: false,
description: 'Specify the mime type for raw/custom body type',
displayOptions: {
show: {
'/requestMethod': [
@@ -370,14 +370,14 @@ export class HttpRequest implements INodeType {
type: 'string',
default: '',
placeholder: 'http://myproxy:3128',
description: 'HTTP proxy to use.',
description: 'HTTP proxy to use',
},
{
displayName: 'Split Into Items',
name: 'splitIntoItems',
type: 'boolean',
default: false,
description: 'Outputs each element of an array as own item.',
description: 'Outputs each element of an array as own item',
displayOptions: {
show: {
'/responseFormat': [
@@ -394,14 +394,14 @@ export class HttpRequest implements INodeType {
minValue: 1,
},
default: 10000,
description: 'Time in ms to wait for the server to send response headers (and start the response body) before aborting the request.',
description: 'Time in ms to wait for the server to send response headers (and start the response body) before aborting the request',
},
{
displayName: 'Use Querystring',
name: 'useQueryString',
type: 'boolean',
default: false,
description: 'Set this option to true if you need arrays to be serialized as foo=bar&foo=baz instead of the default foo[0]=bar&foo[1]=baz.',
description: 'Set this option to true if you need arrays to be serialized as foo=bar&foo=baz instead of the default foo[0]=bar&foo[1]=baz',
},
],
},
@@ -429,7 +429,7 @@ export class HttpRequest implements INodeType {
},
},
default: false,
description: 'If binary data should be send as body.',
description: 'If binary data should be send as body',
},
{
displayName: 'Binary Property',
@@ -454,7 +454,7 @@ export class HttpRequest implements INodeType {
],
},
},
description: `Name of the binary property which contains the data for the file to be uploaded. For Form-Data Multipart, they can be provided in the format: <code>"sendKey1:binaryProperty1,sendKey2:binaryProperty2</code>`,
description: 'Name of the binary property which contains the data for the file to be uploaded. For Form-Data Multipart, they can be provided in the format: <code>"sendKey1:binaryProperty1,sendKey2:binaryProperty2</code>',
},
{
displayName: 'Body Parameters',
@@ -479,7 +479,7 @@ export class HttpRequest implements INodeType {
},
},
default: '',
description: 'Body parameters as JSON or RAW.',
description: 'Body parameters as JSON or RAW',
},
{
displayName: 'Body Parameters',
@@ -502,7 +502,7 @@ export class HttpRequest implements INodeType {
],
},
},
description: 'The body parameter to send.',
description: 'The body parameter to send',
default: {},
options: [
{
@@ -514,14 +514,14 @@ export class HttpRequest implements INodeType {
name: 'name',
type: 'string',
default: '',
description: 'Name of the parameter.',
description: 'Name of the parameter',
},
{
displayName: 'Value',
name: 'value',
type: 'string',
default: '',
description: 'Value of the parameter.',
description: 'Value of the parameter',
},
],
},
@@ -541,7 +541,7 @@ export class HttpRequest implements INodeType {
},
},
default: '',
description: 'Header parameters as JSON or RAW.',
description: 'Header parameters as JSON or RAW',
},
{
displayName: 'Headers',
@@ -558,7 +558,7 @@ export class HttpRequest implements INodeType {
],
},
},
description: 'The headers to send.',
description: 'The headers to send',
default: {},
options: [
{
@@ -570,14 +570,14 @@ export class HttpRequest 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',
},
],
},
@@ -597,7 +597,7 @@ export class HttpRequest implements INodeType {
},
},
default: '',
description: 'Query parameters as JSON (flat object).',
description: 'Query parameters as JSON (flat object)',
},
{
displayName: 'Query Parameters',
@@ -614,7 +614,7 @@ export class HttpRequest implements INodeType {
],
},
},
description: 'The query parameter to send.',
description: 'The query parameter to send',
default: {},
options: [
{
@@ -626,14 +626,14 @@ export class HttpRequest implements INodeType {
name: 'name',
type: 'string',
default: '',
description: 'Name of the parameter.',
description: 'Name of the parameter',
},
{
displayName: 'Value',
name: 'value',
type: 'string',
default: '',
description: 'Value of the parameter.',
description: 'Value of the parameter',
},
],
},