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

@@ -117,7 +117,7 @@ export const documentFields: INodeProperties[] = [
},
},
default: '',
description: 'The ID in the document URL (or just paste the whole URL).',
description: 'The ID in the document URL (or just paste the whole URL)',
},
{
displayName: 'Simple',
@@ -134,7 +134,7 @@ export const documentFields: INodeProperties[] = [
},
},
default: true,
description: 'When set to true the document text content will be used else the raw data.',
description: 'When set to true the document text content will be used else the raw data',
},
/* -------------------------------------------------------------------------- */
@@ -156,7 +156,7 @@ export const documentFields: INodeProperties[] = [
},
},
default: '',
description: 'The ID in the document URL (or just paste the whole URL).',
description: 'The ID in the document URL (or just paste the whole URL)',
},
{
displayName: 'Simple',
@@ -173,12 +173,12 @@ export const documentFields: INodeProperties[] = [
},
},
default: true,
description: 'When set to true a simplified version of the response will be used else the raw data.',
description: 'When set to true a simplified version of the response will be used else the raw data',
},
{
displayName: 'Actions',
name: 'actionsUi',
description: 'Actions applied to update the document.',
description: 'Actions applied to update the document',
type: 'fixedCollection',
placeholder: 'Add Action',
typeOptions: {
@@ -257,7 +257,7 @@ export const documentFields: INodeProperties[] = [
value: 'text',
},
],
description: 'The update object.',
description: 'The update object',
default: 'text',
},
// Action fields (depend on the Object field)
@@ -282,7 +282,7 @@ export const documentFields: INodeProperties[] = [
],
},
},
description: 'The update action.',
description: 'The update action',
default: '',
},
{
@@ -309,7 +309,7 @@ export const documentFields: INodeProperties[] = [
],
},
},
description: 'The update action.',
description: 'The update action',
default: '',
},
{
@@ -334,7 +334,7 @@ export const documentFields: INodeProperties[] = [
],
},
},
description: 'The update action.',
description: 'The update action',
default: '',
},
{
@@ -355,7 +355,7 @@ export const documentFields: INodeProperties[] = [
],
},
},
description: 'The update action.',
description: 'The update action',
default: '',
},
{
@@ -375,7 +375,7 @@ export const documentFields: INodeProperties[] = [
],
},
},
description: 'The update action.',
description: 'The update action',
default: '',
},
// Shared Segment inputs for Create action (moved up for display purposes)
@@ -397,7 +397,7 @@ export const documentFields: INodeProperties[] = [
value: 'footer',
},
],
description: 'The location where to create the object.',
description: 'The location where to create the object',
default: 'body',
displayOptions: {
show: {
@@ -445,7 +445,7 @@ export const documentFields: INodeProperties[] = [
displayName: 'Index',
name: 'index',
type: 'number',
description: 'The zero-based index, relative to the beginning of the specified segment.',
description: 'The zero-based index, relative to the beginning of the specified segment',
default: 0,
displayOptions: {
show: {
@@ -481,7 +481,7 @@ export const documentFields: INodeProperties[] = [
displayName: 'Start Index',
name: 'startIndex',
type: 'number',
description: 'The zero-based start index of this range.',
description: 'The zero-based start index of this range',
default: 0,
displayOptions: {
show: {
@@ -498,7 +498,7 @@ export const documentFields: INodeProperties[] = [
displayName: 'End Index',
name: 'endIndex',
type: 'number',
description: 'The zero-based end index of this range.',
description: 'The zero-based end index of this range',
default: 0,
displayOptions: {
show: {
@@ -520,12 +520,12 @@ export const documentFields: INodeProperties[] = [
{
name: 'Bullet List',
value: 'BULLET_DISC_CIRCLE_SQUARE',
description: 'A bulleted list with a <code>DISC</code>, <code>CIRCLE</code> and <code>SQUARE</code> bullet glyph for the first 3 list nesting levels.',
description: 'A bulleted list with a <code>DISC</code>, <code>CIRCLE</code> and <code>SQUARE</code> bullet glyph for the first 3 list nesting levels',
},
{
name: 'Checkbox List',
value: 'BULLET_CHECKBOX',
description: 'A bulleted list with CHECKBOX bullet glyphs for all list nesting levels.',
description: 'A bulleted list with CHECKBOX bullet glyphs for all list nesting levels',
},
{
name: 'Numbered List',
@@ -533,7 +533,7 @@ export const documentFields: INodeProperties[] = [
description: 'A numbered list with <code>DECIMAL</code> numeric glyphs separated by periods, where each nesting level uses the previous nesting level\'s glyph as a prefix. For example: 1., 1.1., 2., 2.2 .',
},
],
description: 'The Preset pattern of bullet glyphs for list.',
description: 'The Preset pattern of bullet glyphs for list',
default: 'BULLET_DISC_CIRCLE_SQUARE',
displayOptions: {
show: {
@@ -597,7 +597,7 @@ export const documentFields: INodeProperties[] = [
value: 'name',
},
],
description: 'The value determines which range or ranges to delete.',
description: 'The value determines which range or ranges to delete',
default: 'namedRangeId',
displayOptions: {
show: {
@@ -614,7 +614,7 @@ export const documentFields: INodeProperties[] = [
displayName: 'ID',
name: 'value',
type: 'string',
description: 'The ID of the range.',
description: 'The ID of the range',
default: '',
displayOptions: {
show: {
@@ -634,7 +634,7 @@ export const documentFields: INodeProperties[] = [
displayName: 'Name',
name: 'value',
type: 'string',
description: 'The name of the range.',
description: 'The name of the range',
default: '',
displayOptions: {
show: {
@@ -656,7 +656,7 @@ export const documentFields: INodeProperties[] = [
displayName: 'Object ID',
name: 'objectId',
type: 'string',
description: 'The ID of the positioned object to delete (An object that is tied to a paragraph and positioned relative to its beginning), See the Google <a href="https://developers.google.com/docs/api/reference/rest/v1/PositionedObject">documentation</a>.',
description: 'The ID of the positioned object to delete (An object that is tied to a paragraph and positioned relative to its beginning), See the Google <a href="https://developers.google.com/docs/api/reference/rest/v1/PositionedObject">documentation</a>',
default: '',
displayOptions: {
show: {
@@ -690,7 +690,7 @@ export const documentFields: INodeProperties[] = [
value: 'footer',
},
],
description: 'The location where to create the object.',
description: 'The location where to create the object',
default: 'body',
displayOptions: {
show: {
@@ -742,14 +742,14 @@ export const documentFields: INodeProperties[] = [
{
name: 'At end of specific position',
value: 'endOfSegmentLocation',
description: 'Inserts the text at the end of a header, footer, footnote, or document body.',
description: 'Inserts the text at the end of a header, footer, footnote, or document body',
},
{
name: 'At index',
value: 'location',
},
],
description: 'The location where the text will be inserted.',
description: 'The location where the text will be inserted',
default: 'endOfSegmentLocation',
displayOptions: {
show: {
@@ -766,7 +766,7 @@ export const documentFields: INodeProperties[] = [
displayName: 'Index',
name: 'index',
type: 'number',
description: 'The zero-based index, relative to the beginning of the specified segment.',
description: 'The zero-based index, relative to the beginning of the specified segment',
displayOptions: {
show: {
locationChoice: [
@@ -794,14 +794,14 @@ export const documentFields: INodeProperties[] = [
{
name: 'At end of specific position',
value: 'endOfSegmentLocation',
description: 'Inserts the text at the end of a header, footer, footnote, or document body.',
description: 'Inserts the text at the end of a header, footer, footnote, or document body',
},
{
name: 'At index',
value: 'location',
},
],
description: 'The location where the text will be inserted.',
description: 'The location where the text will be inserted',
default: 'endOfSegmentLocation',
displayOptions: {
show: {
@@ -818,7 +818,7 @@ export const documentFields: INodeProperties[] = [
displayName: 'Index',
name: 'index',
type: 'number',
description: 'The zero-based index, relative to the beginning of the specified segment (use index + 1 to refer to a table).',
description: 'The zero-based index, relative to the beginning of the specified segment (use index + 1 to refer to a table)',
displayOptions: {
show: {
locationChoice: [
@@ -841,7 +841,7 @@ export const documentFields: INodeProperties[] = [
displayName: 'Rows',
name: 'rows',
type: 'number',
description: 'The number of rows in the table.',
description: 'The number of rows in the table',
default: 0,
displayOptions: {
show: {
@@ -858,7 +858,7 @@ export const documentFields: INodeProperties[] = [
displayName: 'Columns',
name: 'columns',
type: 'number',
description: 'The number of columns in the table.',
description: 'The number of columns in the table',
default: 0,
displayOptions: {
show: {
@@ -880,14 +880,14 @@ export const documentFields: INodeProperties[] = [
{
name: 'At end of specific position',
value: 'endOfSegmentLocation',
description: 'Inserts the text at the end of a header, footer, footnote, or document body.',
description: 'Inserts the text at the end of a header, footer, footnote, or document body',
},
{
name: 'At index',
value: 'location',
},
],
description: 'The location where the text will be inserted.',
description: 'The location where the text will be inserted',
default: 'endOfSegmentLocation',
displayOptions: {
show: {
@@ -907,7 +907,7 @@ export const documentFields: INodeProperties[] = [
typeOptions: {
minValue: 1,
},
description: 'The zero-based index, relative to the beginning of the specified segment.',
description: 'The zero-based index, relative to the beginning of the specified segment',
displayOptions: {
show: {
locationChoice: [
@@ -927,7 +927,7 @@ export const documentFields: INodeProperties[] = [
displayName: 'Text',
name: 'text',
type: 'string',
description: 'The text to insert in the document.',
description: 'The text to insert in the document',
default: '',
displayOptions: {
show: {
@@ -945,7 +945,7 @@ export const documentFields: INodeProperties[] = [
displayName: 'Old Text',
name: 'text',
type: 'string',
description: 'The text to search for in the document.',
description: 'The text to search for in the document',
default: '',
displayOptions: {
show: {
@@ -962,7 +962,7 @@ export const documentFields: INodeProperties[] = [
displayName: 'New Text',
name: 'replaceText',
type: 'string',
description: 'The text that will replace the matched text.',
description: 'The text that will replace the matched text',
default: '',
displayOptions: {
show: {
@@ -979,7 +979,7 @@ export const documentFields: INodeProperties[] = [
displayName: 'Match Case',
name: 'matchCase',
type: 'boolean',
description: 'Indicates whether the search should respect case sensitivity.',
description: 'Indicates whether the search should respect case sensitivity',
default: false,
displayOptions: {
show: {
@@ -1011,7 +1011,7 @@ export const documentFields: INodeProperties[] = [
value: 'footer',
},
],
description: 'The location where to create the object.',
description: 'The location where to create the object',
default: 'body',
displayOptions: {
show: {
@@ -1055,7 +1055,7 @@ export const documentFields: INodeProperties[] = [
displayName: 'Start Index',
name: 'startIndex',
type: 'number',
description: 'The zero-based start index of this range.',
description: 'The zero-based start index of this range',
default: 0,
displayOptions: {
show: {
@@ -1069,7 +1069,7 @@ export const documentFields: INodeProperties[] = [
displayName: 'End Index',
name: 'endIndex',
type: 'number',
description: 'The zero-based end index of this range.',
description: 'The zero-based end index of this range',
default: 0,
displayOptions: {
show: {
@@ -1111,7 +1111,7 @@ export const documentFields: INodeProperties[] = [
displayName: 'Index',
name: 'index',
type: 'number',
description: 'The zero-based index, relative to the beginning of the specified segment (use index + 1 to refer to a table).',
description: 'The zero-based index, relative to the beginning of the specified segment (use index + 1 to refer to a table)',
default: 1,
typeOptions: {
minValue: 1,
@@ -1129,7 +1129,7 @@ export const documentFields: INodeProperties[] = [
displayName: 'Row Index',
name: 'rowIndex',
type: 'number',
description: 'The zero-based row index.',
description: 'The zero-based row index',
default: 0,
displayOptions: {
show: {
@@ -1144,7 +1144,7 @@ export const documentFields: INodeProperties[] = [
displayName: 'Column Index',
name: 'columnIndex',
type: 'number',
description: 'The zero-based column index.',
description: 'The zero-based column index',
default: 0,
displayOptions: {
show: {
@@ -1197,7 +1197,7 @@ export const documentFields: INodeProperties[] = [
},
],
default: 'requiredRevisionId',
description: 'Determines how the changes are applied to the revision.',
description: 'Determines how the changes are applied to the revision',
},
{
displayName: 'Revision ID',