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:
@@ -91,7 +91,7 @@ export class Ftp implements INodeType {
|
||||
},
|
||||
],
|
||||
default: 'ftp',
|
||||
description: 'File transfer protocol.',
|
||||
description: 'File transfer protocol',
|
||||
},
|
||||
{
|
||||
displayName: 'Operation',
|
||||
@@ -101,27 +101,27 @@ export class Ftp implements INodeType {
|
||||
{
|
||||
name: 'Delete',
|
||||
value: 'delete',
|
||||
description: 'Delete a file/folder.',
|
||||
description: 'Delete a file/folder',
|
||||
},
|
||||
{
|
||||
name: 'Download',
|
||||
value: 'download',
|
||||
description: 'Download a file.',
|
||||
description: 'Download a file',
|
||||
},
|
||||
{
|
||||
name: 'List',
|
||||
value: 'list',
|
||||
description: 'List folder content.',
|
||||
description: 'List folder content',
|
||||
},
|
||||
{
|
||||
name: 'Rename',
|
||||
value: 'rename',
|
||||
description: 'Rename/move oldPath to newPath.',
|
||||
description: 'Rename/move oldPath to newPath',
|
||||
},
|
||||
{
|
||||
name: 'Upload',
|
||||
value: 'upload',
|
||||
description: 'Upload a file.',
|
||||
description: 'Upload a file',
|
||||
},
|
||||
],
|
||||
default: 'download',
|
||||
@@ -167,7 +167,7 @@ export class Ftp implements INodeType {
|
||||
name: 'folder',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: 'When set to true, folders can be deleted.',
|
||||
description: 'When set to true, folders can be deleted',
|
||||
required: true,
|
||||
},
|
||||
{
|
||||
@@ -182,7 +182,7 @@ export class Ftp implements INodeType {
|
||||
name: 'recursive',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: 'If true, remove all files and directories in target directory.',
|
||||
description: 'If true, remove all files and directories in target directory',
|
||||
required: true,
|
||||
},
|
||||
],
|
||||
@@ -219,7 +219,7 @@ export class Ftp implements INodeType {
|
||||
name: 'binaryPropertyName',
|
||||
type: 'string',
|
||||
default: 'data',
|
||||
description: 'Object property name which holds binary data.',
|
||||
description: 'Object property name which holds binary data',
|
||||
required: true,
|
||||
},
|
||||
|
||||
@@ -273,7 +273,7 @@ export class Ftp implements INodeType {
|
||||
name: 'createDirectories',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: `Recursively create destination directory when renaming an existing file or folder`,
|
||||
description: 'Recursively create destination directory when renaming an existing file or folder',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -308,7 +308,7 @@ export class Ftp implements INodeType {
|
||||
name: 'binaryData',
|
||||
type: 'boolean',
|
||||
default: true,
|
||||
description: 'The text content of the file to upload.',
|
||||
description: 'The text content of the file to upload',
|
||||
},
|
||||
{
|
||||
displayName: 'Binary Property',
|
||||
@@ -325,7 +325,7 @@ export class Ftp implements INodeType {
|
||||
name: 'binaryPropertyName',
|
||||
type: 'string',
|
||||
default: 'data',
|
||||
description: 'Object property name which holds binary data.',
|
||||
description: 'Object property name which holds binary data',
|
||||
required: true,
|
||||
},
|
||||
{
|
||||
@@ -343,7 +343,7 @@ export class Ftp implements INodeType {
|
||||
name: 'fileContent',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'The text content of the file to upload.',
|
||||
description: 'The text content of the file to upload',
|
||||
},
|
||||
|
||||
// ----------------------------------
|
||||
@@ -361,7 +361,7 @@ export class Ftp implements INodeType {
|
||||
name: 'path',
|
||||
type: 'string',
|
||||
default: '/',
|
||||
description: 'Path of directory to list contents of.',
|
||||
description: 'Path of directory to list contents of',
|
||||
required: true,
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user