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:
@@ -65,7 +65,7 @@ export class DateTime implements INodeType {
|
||||
},
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'The value that should be converted.',
|
||||
description: 'The value that should be converted',
|
||||
required: true,
|
||||
},
|
||||
{
|
||||
@@ -81,7 +81,7 @@ export class DateTime implements INodeType {
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'Name of the property to which to write the converted date.',
|
||||
description: 'Name of the property to which to write the converted date',
|
||||
},
|
||||
{
|
||||
displayName: 'Custom Format',
|
||||
@@ -95,7 +95,7 @@ export class DateTime implements INodeType {
|
||||
},
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: 'If a predefined format should be selected or custom format entered.',
|
||||
description: 'If a predefined format should be selected or custom format entered',
|
||||
},
|
||||
{
|
||||
displayName: 'To Format',
|
||||
@@ -113,7 +113,7 @@ export class DateTime implements INodeType {
|
||||
type: 'string',
|
||||
default: '',
|
||||
placeholder: 'YYYY-MM-DD',
|
||||
description: 'The format to convert the date to.',
|
||||
description: 'The format to convert the date to',
|
||||
},
|
||||
{
|
||||
displayName: 'To Format',
|
||||
@@ -167,7 +167,7 @@ export class DateTime implements INodeType {
|
||||
},
|
||||
],
|
||||
default: 'MM/DD/YYYY',
|
||||
description: 'The format to convert the date to.',
|
||||
description: 'The format to convert the date to',
|
||||
},
|
||||
{
|
||||
displayName: 'Options',
|
||||
@@ -188,7 +188,7 @@ export class DateTime implements INodeType {
|
||||
name: 'fromFormat',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'In case the input format is not recognized you can provide the format ',
|
||||
description: 'In case the input format is not recognized you can provide the format',
|
||||
},
|
||||
{
|
||||
displayName: 'From Timezone',
|
||||
@@ -198,7 +198,7 @@ export class DateTime implements INodeType {
|
||||
loadOptionsMethod: 'getTimezones',
|
||||
},
|
||||
default: 'UTC',
|
||||
description: 'The timezone to convert from.',
|
||||
description: 'The timezone to convert from',
|
||||
},
|
||||
{
|
||||
displayName: 'To Timezone',
|
||||
@@ -208,7 +208,7 @@ export class DateTime implements INodeType {
|
||||
loadOptionsMethod: 'getTimezones',
|
||||
},
|
||||
default: 'UTC',
|
||||
description: 'The timezone to convert to.',
|
||||
description: 'The timezone to convert to',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -224,7 +224,7 @@ export class DateTime implements INodeType {
|
||||
},
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'The date string or timestamp from which you want to add/subtract time.',
|
||||
description: 'The date string or timestamp from which you want to add/subtract time',
|
||||
required: true,
|
||||
},
|
||||
{
|
||||
@@ -274,7 +274,7 @@ export class DateTime implements INodeType {
|
||||
{
|
||||
displayName: 'Time Unit',
|
||||
name: 'timeUnit',
|
||||
description: 'Time unit for Duration parameter above.',
|
||||
description: 'Time unit for Duration parameter above',
|
||||
displayOptions: {
|
||||
show: {
|
||||
action: [
|
||||
@@ -337,7 +337,7 @@ export class DateTime implements INodeType {
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'Name of the output property to which to write the converted date.',
|
||||
description: 'Name of the output property to which to write the converted date',
|
||||
},
|
||||
{
|
||||
displayName: 'Options',
|
||||
|
||||
Reference in New Issue
Block a user