Skip to content

Latest commit

 

History

History
36 lines (25 loc) · 844 Bytes

node-param-option-description-identical-to-name.md

File metadata and controls

36 lines (25 loc) · 844 Bytes

node-param-option-description-identical-to-name

description in option in options-type node parameter must not be identical to name.

📋 This rule is part of the plugin:n8n-nodes-base/nodes config.

🔧 Run ESLint with --fix option to autofix the issue flagged by this rule.

Examples

❌ Example of incorrect code:

const test = {
	name: "Full Name",
	value: "fullName",
	description: "The full name",
};

✅ Example of correct code:

const test = {
	name: "Full Name",
	value: "fullName",
	description: "First and last name of the user",
};

Links