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

@@ -18,27 +18,27 @@ export const documentOperations: INodeProperties[] = [
{
name: 'Create',
value: 'create',
description: 'Create a document.',
description: 'Create a document',
},
{
name: 'Delete',
value: 'delete',
description: 'Delete a document.',
description: 'Delete a document',
},
{
name: 'Get',
value: 'get',
description: 'Retrieve a document.',
description: 'Retrieve a document',
},
{
name: 'Get All',
value: 'getAll',
description: 'Retrieve all documents.',
description: 'Retrieve all documents',
},
{
name: 'Update',
value: 'update',
description: 'Update a document.',
description: 'Update a document',
},
],
default: 'create',
@@ -58,7 +58,7 @@ export const documentFields: INodeProperties[] = [
loadOptionsMethod: 'getDocTypes',
},
default: '',
description: 'DocType whose documents to retrieve.',
description: 'DocType whose documents to retrieve',
placeholder: 'Customer',
displayOptions: {
show: {
@@ -76,7 +76,7 @@ export const documentFields: INodeProperties[] = [
name: 'returnAll',
type: 'boolean',
default: false,
description: 'Return all items.',
description: 'Whether to return all results or only up to a given limit',
displayOptions: {
show: {
resource: [
@@ -93,7 +93,7 @@ export const documentFields: INodeProperties[] = [
name: 'limit',
type: 'number',
default: 10,
description: 'The number of results to return.',
description: 'Max number of results to return',
displayOptions: {
show: {
resource: [
@@ -136,7 +136,7 @@ export const documentFields: INodeProperties[] = [
],
},
default: [],
description: 'Comma-separated list of fields to return.',
description: 'Comma-separated list of fields to return',
placeholder: 'name,country',
},
{
@@ -203,7 +203,7 @@ export const documentFields: INodeProperties[] = [
name: 'value',
type: 'string',
default: '',
description: 'Value of the operator condition.',
description: 'Value of the operator condition',
},
],
},
@@ -224,7 +224,7 @@ export const documentFields: INodeProperties[] = [
loadOptionsMethod: 'getDocTypes',
},
required: true,
description: 'DocType you would like to create.',
description: 'DocType you would like to create',
placeholder: 'Customer',
displayOptions: {
show: {
@@ -297,7 +297,7 @@ export const documentFields: INodeProperties[] = [
loadOptionsMethod: 'getDocTypes',
},
default: '',
description: 'The type of document you would like to get.',
description: 'The type of document you would like to get',
displayOptions: {
show: {
resource: [
@@ -315,7 +315,7 @@ export const documentFields: INodeProperties[] = [
name: 'documentName',
type: 'string',
default: '',
description: 'The name (ID) of document you would like to get.',
description: 'The name (ID) of document you would like to get',
displayOptions: {
show: {
resource: [
@@ -340,7 +340,7 @@ export const documentFields: INodeProperties[] = [
loadOptionsMethod: 'getDocTypes',
},
default: '',
description: 'The type of document you would like to delete.',
description: 'The type of document you would like to delete',
displayOptions: {
show: {
resource: [
@@ -358,7 +358,7 @@ export const documentFields: INodeProperties[] = [
name: 'documentName',
type: 'string',
default: '',
description: 'The name (ID) of document you would like to get.',
description: 'The name (ID) of document you would like to get',
displayOptions: {
show: {
resource: [
@@ -401,7 +401,7 @@ export const documentFields: INodeProperties[] = [
name: 'documentName',
type: 'string',
default: '',
description: 'The name (ID) of document you would like to get.',
description: 'The name (ID) of document you would like to get',
displayOptions: {
show: {
resource: [
@@ -419,7 +419,7 @@ export const documentFields: INodeProperties[] = [
name: 'properties',
type: 'fixedCollection',
placeholder: 'Add Property',
description: 'Properties of request body.',
description: 'Properties of request body',
default: {},
typeOptions: {
multipleValues: true,