refactor: Apply more eslint-plugin-n8n-nodes-base autofixable rules (#3432)
* ⚡ Update `lintfix` script * 👕 Remove unneeded lint exceptions * 👕 Run baseline `lintfix` * 👕 Apply `node-param-description-miscased-url` (#3441) * 👕 Apply `rule node-param-placeholder-miscased-id` (#3443) Co-authored-by: Iván Ovejero <ivov.src@gmail.com> * 👕 Apply `node-param-option-name-wrong-for-upsert` (#3446) * 👕 Apply `node-param-min-value-wrong-for-limit` (#3442) Co-authored-by: Iván Ovejero <ivov.src@gmail.com> * Apply `node-param-display-name-wrong-for-dynamic-options` (#3454) * 🔨 fix * ⚡ Fix `Assigned To` fields Co-authored-by: Michael Kret <michael.k@radency.com> * 👕 Apply `rule node-param-default-wrong-for-number` (#3453) * 👕 Apply `node-param-default-wrong-for-string` (#3452) Co-authored-by: Iván Ovejero <ivov.src@gmail.com> * Apply `node-param-display-name-miscased` (#3449) * 🔨 fix * 🔨 exceptions * ⚡ review fixes * 👕 Apply `node-param-description-lowercase-first-char` (#3451) * ⚡ fix * ⚡ review fixes * ⚡ fix Co-authored-by: Iván Ovejero <ivov.src@gmail.com> * 👕 Apply `node-param-description-wrong-for-dynamic-options` (#3456) * Rule working as intended * Add rule * 🔥 Remove repetitions * 👕 Add exceptions Co-authored-by: Iván Ovejero <ivov.src@gmail.com> * 👕 Small fix for `node-param-description-wrong-for-dynamic-options` * 👕 Apply `node-param-default-wrong-for-fixed-collection` (#3460) * 👕 Apply `node-param-description-line-break-html-tag` (#3462) * 👕 Run baseline `lintfix` * 👕 Apply `node-param-options-type-unsorted-items` (#3459) * ⚡ fix * 🔨 exceptions * Add exception for Salesmate and Zoom Co-authored-by: Michael Kret <michael.k@radency.com> Co-authored-by: Iván Ovejero <ivov.src@gmail.com> * ⚡ Restore `lintfix` command Co-authored-by: Omar Ajoue <krynble@gmail.com> Co-authored-by: Michael Kret <88898367+michael-radency@users.noreply.github.com> Co-authored-by: agobrech <45268029+agobrech@users.noreply.github.com> Co-authored-by: Michael Kret <michael.k@radency.com> Co-authored-by: brianinoa <54530642+brianinoa@users.noreply.github.com>
This commit is contained in:
@@ -46,7 +46,7 @@ export const cardCommentFields: INodeProperties[] = [
|
||||
// cardComment:create
|
||||
// ----------------------------------
|
||||
{
|
||||
displayName: 'Board ID',
|
||||
displayName: 'Board Name or ID',
|
||||
name: 'boardId',
|
||||
type: 'options',
|
||||
typeOptions: {
|
||||
@@ -64,10 +64,10 @@ export const cardCommentFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The ID of the board that card belongs to',
|
||||
description: 'The ID of the board that card belongs to. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
|
||||
},
|
||||
{
|
||||
displayName: 'List ID',
|
||||
displayName: 'List Name or ID',
|
||||
name: 'listId',
|
||||
type: 'options',
|
||||
typeOptions: {
|
||||
@@ -88,10 +88,10 @@ export const cardCommentFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The ID of the list that card belongs to',
|
||||
description: 'The ID of the list that card belongs to. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
|
||||
},
|
||||
{
|
||||
displayName: 'Card ID',
|
||||
displayName: 'Card Name or ID',
|
||||
name: 'cardId',
|
||||
type: 'options',
|
||||
typeOptions: {
|
||||
@@ -113,10 +113,10 @@ export const cardCommentFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The ID of the card',
|
||||
description: 'The ID of the card. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
|
||||
},
|
||||
{
|
||||
displayName: 'Author ID',
|
||||
displayName: 'Author Name or ID',
|
||||
name: 'authorId',
|
||||
type: 'options',
|
||||
typeOptions: {
|
||||
@@ -134,7 +134,7 @@ export const cardCommentFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The user who posted the comment',
|
||||
description: 'The user who posted the comment. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
|
||||
},
|
||||
{
|
||||
displayName: 'Comment',
|
||||
@@ -159,7 +159,7 @@ export const cardCommentFields: INodeProperties[] = [
|
||||
// cardComment:delete
|
||||
// ----------------------------------
|
||||
{
|
||||
displayName: 'Board ID',
|
||||
displayName: 'Board Name or ID',
|
||||
name: 'boardId',
|
||||
type: 'options',
|
||||
typeOptions: {
|
||||
@@ -177,10 +177,10 @@ export const cardCommentFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The ID of the board that card belongs to',
|
||||
description: 'The ID of the board that card belongs to. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
|
||||
},
|
||||
{
|
||||
displayName: 'List ID',
|
||||
displayName: 'List Name or ID',
|
||||
name: 'listId',
|
||||
type: 'options',
|
||||
typeOptions: {
|
||||
@@ -201,10 +201,10 @@ export const cardCommentFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The ID of the list that card belongs to',
|
||||
description: 'The ID of the list that card belongs to. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
|
||||
},
|
||||
{
|
||||
displayName: 'Card ID',
|
||||
displayName: 'Card Name or ID',
|
||||
name: 'cardId',
|
||||
type: 'options',
|
||||
typeOptions: {
|
||||
@@ -226,10 +226,10 @@ export const cardCommentFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The ID of the card',
|
||||
description: 'The ID of the card. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
|
||||
},
|
||||
{
|
||||
displayName: 'Comment ID',
|
||||
displayName: 'Comment Name or ID',
|
||||
name: 'commentId',
|
||||
type: 'options',
|
||||
typeOptions: {
|
||||
@@ -251,7 +251,7 @@ export const cardCommentFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The ID of the comment to delete',
|
||||
description: 'The ID of the comment to delete. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
|
||||
},
|
||||
|
||||
// ----------------------------------
|
||||
@@ -276,7 +276,7 @@ export const cardCommentFields: INodeProperties[] = [
|
||||
description: 'The ID of the board that card belongs to',
|
||||
},
|
||||
{
|
||||
displayName: 'List ID',
|
||||
displayName: 'List Name or ID',
|
||||
name: 'listId',
|
||||
type: 'options',
|
||||
typeOptions: {
|
||||
@@ -297,10 +297,10 @@ export const cardCommentFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The ID of the list that card belongs to',
|
||||
description: 'The ID of the list that card belongs to. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
|
||||
},
|
||||
{
|
||||
displayName: 'Card ID',
|
||||
displayName: 'Card Name or ID',
|
||||
name: 'cardId',
|
||||
type: 'options',
|
||||
typeOptions: {
|
||||
@@ -322,7 +322,7 @@ export const cardCommentFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The ID of the card',
|
||||
description: 'The ID of the card. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
|
||||
},
|
||||
{
|
||||
displayName: 'Comment ID',
|
||||
@@ -347,7 +347,7 @@ export const cardCommentFields: INodeProperties[] = [
|
||||
// cardComment:getAll
|
||||
// ----------------------------------
|
||||
{
|
||||
displayName: 'Board ID',
|
||||
displayName: 'Board Name or ID',
|
||||
name: 'boardId',
|
||||
type: 'options',
|
||||
typeOptions: {
|
||||
@@ -365,10 +365,10 @@ export const cardCommentFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The ID of the board that card belongs to',
|
||||
description: 'The ID of the board that card belongs to. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
|
||||
},
|
||||
{
|
||||
displayName: 'List ID',
|
||||
displayName: 'List Name or ID',
|
||||
name: 'listId',
|
||||
type: 'options',
|
||||
typeOptions: {
|
||||
@@ -389,10 +389,10 @@ export const cardCommentFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The ID of the list that card belongs to',
|
||||
description: 'The ID of the list that card belongs to. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
|
||||
},
|
||||
{
|
||||
displayName: 'Card ID',
|
||||
displayName: 'Card Name or ID',
|
||||
name: 'cardId',
|
||||
type: 'options',
|
||||
typeOptions: {
|
||||
@@ -414,7 +414,7 @@ export const cardCommentFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The ID of the card',
|
||||
description: 'The ID of the card. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
|
||||
},
|
||||
{
|
||||
displayName: 'Return All',
|
||||
|
||||
Reference in New Issue
Block a user