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

@@ -16,27 +16,27 @@ export const streamOperations: INodeProperties[] = [
{
name: 'Create',
value: 'create',
description: 'Create a stream.',
description: 'Create a stream',
},
{
name: 'Delete',
value: 'delete',
description: 'Delete a stream.',
description: 'Delete a stream',
},
{
name: 'Get All',
value: 'getAll',
description: 'Get all streams.',
description: 'Get all streams',
},
{
name: 'Get Subscribed',
value: 'getSubscribed',
description: 'Get subscribed streams.',
description: 'Get subscribed streams',
},
{
name: 'Update',
value: 'update',
description: 'Update a stream.',
description: 'Update a stream',
},
],
default: 'create',
@@ -85,7 +85,7 @@ export const streamFields: INodeProperties[] = [
],
},
},
description: `JSON format parameters for stream creation.`,
description: 'JSON format parameters for stream creation',
},
{
displayName: 'Subscriptions',
@@ -121,7 +121,7 @@ export const streamFields: INodeProperties[] = [
type: 'string',
required: true,
default: '',
description: 'Name of Subscription.',
description: 'Name of Subscription',
},
{
displayName: 'Description',
@@ -129,7 +129,7 @@ export const streamFields: INodeProperties[] = [
type: 'string',
required: true,
default: '',
description: 'Description of Subscription.',
description: 'Description of Subscription',
},
],
},
@@ -174,14 +174,14 @@ export const streamFields: INodeProperties[] = [
name: 'historyPublicToSubscribers',
type: 'boolean',
default: false,
description: 'Whether the streams message history should be available to newly subscribed members, or users can only access messages they actually received while subscribed to the stream.',
description: 'Whether the streams message history should be available to newly subscribed members, or users can only access messages they actually received while subscribed to the stream',
},
{
displayName: 'Invite Only',
name: 'inviteOnly',
type: 'boolean',
default: false,
description: 'A boolean specifying whether the streams specified in subscriptions are invite-only or not.',
description: 'A boolean specifying whether the streams specified in subscriptions are invite-only or not',
},
{
displayName: 'Principals',
@@ -203,7 +203,7 @@ export const streamFields: INodeProperties[] = [
type: 'string',
required: true,
default: '',
description: 'Principal email address.',
description: 'Principal email address',
},
],
},
@@ -214,22 +214,22 @@ export const streamFields: INodeProperties[] = [
name: 'streamPostPolicy',
type: 'options',
default: '',
description: 'Policy for which users can post messages to the stream.',
description: 'Policy for which users can post messages to the stream',
options: [
{
name: '1',
value: 1,
description: 'Any user can post.',
description: 'Any user can post',
},
{
name: '2',
value: 2,
description: 'Only administrators can post.',
description: 'Only administrators can post',
},
{
name: '3',
value: 3,
description: 'Only new members can post.',
description: 'Only new members can post',
},
],
},
@@ -268,28 +268,28 @@ export const streamFields: INodeProperties[] = [
name: 'includeDefault',
type: 'boolean',
default: true,
description: 'Include all default streams for the users realm.',
description: 'Include all default streams for the users realm',
},
{
displayName: 'Include Owner Subscribed',
name: 'includeOwnersubscribed',
type: 'boolean',
default: true,
description: 'If the user is a bot, include all streams that the bots owner is subscribed to.',
description: 'If the user is a bot, include all streams that the bots owner is subscribed to',
},
{
displayName: 'Include Public',
name: 'includePublic',
type: 'boolean',
default: true,
description: 'Include all public streams.',
description: 'Include all public streams',
},
{
displayName: 'Include Subscribed',
name: 'includeSubscribed',
type: 'boolean',
default: true,
description: 'Include all streams that the user is subscribed to.',
description: 'Include all streams that the user is subscribed to',
},
],
},
@@ -319,7 +319,7 @@ export const streamFields: INodeProperties[] = [
name: 'includeSubscribers',
type: 'boolean',
default: true,
description: 'Whether each returned stream object should include a subscribers field containing a list of the user IDs of its subscribers.',
description: 'Whether each returned stream object should include a subscribers field containing a list of the user IDs of its subscribers',
},
],
},
@@ -343,7 +343,7 @@ export const streamFields: INodeProperties[] = [
],
},
},
description: 'ID of stream to update.',
description: 'ID of stream to update',
},
{
displayName: 'JSON Parameters',
@@ -383,7 +383,7 @@ export const streamFields: INodeProperties[] = [
},
},
description: `JSON format parameters for stream creation.`,
description: 'JSON format parameters for stream creation',
},
{
@@ -411,14 +411,14 @@ export const streamFields: INodeProperties[] = [
name: 'isAnnouncementOnly',
type: 'boolean',
default: false,
description: 'Whether the stream is limited to announcements.',
description: 'Whether the stream is limited to announcements',
},
{
displayName: 'Description',
name: 'description',
type: 'string',
default: '',
description: 'The new description for the stream.',
description: 'The new description for the stream',
placeholder: 'Place of discussion',
},
{
@@ -426,21 +426,21 @@ export const streamFields: INodeProperties[] = [
name: 'isPrivate',
type: 'boolean',
default: false,
description: 'Change whether the stream is a private stream.',
description: 'Change whether the stream is a private stream',
},
{
displayName: 'History Public to Subscribers',
name: 'historyPublicToSubscribers',
type: 'boolean',
default: false,
description: 'Whether the streams message history should be available to newly subscribed members, or users can only access messages they actually received while subscribed to the stream.',
description: 'Whether the streams message history should be available to newly subscribed members, or users can only access messages they actually received while subscribed to the stream',
},
{
displayName: 'New Name',
name: 'newName',
type: 'string',
default: '',
description: 'The new name for the stream.',
description: 'The new name for the stream',
placeholder: 'Italy',
},
{
@@ -448,22 +448,22 @@ export const streamFields: INodeProperties[] = [
name: 'streamPostPolicy',
type: 'options',
default: '',
description: 'Policy for which users can post messages to the stream.',
description: 'Policy for which users can post messages to the stream',
options: [
{
name: '1',
value: 1,
description: 'Any user can post.',
description: 'Any user can post',
},
{
name: '2',
value: 2,
description: 'Only administrators can post.',
description: 'Only administrators can post',
},
{
name: '3',
value: 3,
description: 'Only new members can post.',
description: 'Only new members can post',
},
],
},
@@ -488,7 +488,7 @@ export const streamFields: INodeProperties[] = [
],
},
},
description: 'ID of stream to delete.',
description: 'ID of stream to delete',
},
];