Skip to content

Latest commit

 

History

History
40 lines (29 loc) · 862 Bytes

node-param-description-wrong-for-limit.md

File metadata and controls

40 lines (29 loc) · 862 Bytes

node-param-description-wrong-for-limit

description for Limit node parameter must be Max number of results to return

📋 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: "Limit",
	name: "limit",
	type: "number",
	default: "",
	description: "Wrong",
};

✅ Example of correct code:

const test = {
	displayName: "Limit",
	name: "limit",
	type: "number",
	default: "",
	description: "Max number of results to return",
};

Links