From af661627a2450109ba87e9747d2db9cf43b7bb30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20Ovejero?= Date: Fri, 3 Jun 2022 17:58:13 +0200 Subject: [PATCH] :shirt: Apply `node-param-description-line-break-html-tag` --- .eslintrc.js | 3 ++- packages/nodes-base/nodes/Markdown/Markdown.node.ts | 3 +-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index bee8dbe439af3..d85624b2479de 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -433,7 +433,8 @@ module.exports = { 'n8n-nodes-base/node-param-default-wrong-for-number': 'error', 'n8n-nodes-base/node-param-description-lowercase-first-char': 'error', 'n8n-nodes-base/node-param-display-name-miscased': 'error', - "n8n-nodes-base/node-param-default-wrong-for-fixed-collection": 'error', + 'n8n-nodes-base/node-param-default-wrong-for-fixed-collection': 'error', + 'n8n-nodes-base/node-param-description-line-break-html-tag': 'error', }, }, ], diff --git a/packages/nodes-base/nodes/Markdown/Markdown.node.ts b/packages/nodes-base/nodes/Markdown/Markdown.node.ts index 8c4e9875ed8ea..462f690aafda0 100644 --- a/packages/nodes-base/nodes/Markdown/Markdown.node.ts +++ b/packages/nodes-base/nodes/Markdown/Markdown.node.ts @@ -480,8 +480,7 @@ export class Markdown implements INodeType { // eslint-disable-next-line n8n-nodes-base/node-param-default-wrong-for-simplify default: false, // eslint-disable-next-line n8n-nodes-base/node-param-description-wrong-for-simplify - description: - 'Whether to parse line breaks as
, like GitHub does, without needing 2 spaces at the end of the line', + description: 'Whether to parse line breaks as <br>, like GitHub does, without needing 2 spaces at the end of the line', }, { displayName: 'Smart Indentation Fix',