Skip to content

Latest commit

 

History

History
39 lines (28 loc) · 784 Bytes

node-param-placeholder-missing-email.md

File metadata and controls

39 lines (28 loc) · 784 Bytes

node-param-placeholder-missing-email

placeholder for Email node parameter must exist.

📋 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 = {
	displayName: "Email",
	name: "email",
	type: "string",
	default: "",
};

✅ Example of correct code:

const test = {
	displayName: "Email",
	name: "email",
	type: "string",
	default: "",
	placeholder: "[email protected]",
};

Links