Skip to content

Latest commit

 

History

History
38 lines (27 loc) · 776 Bytes

node-param-default-wrong-for-simplify.md

File metadata and controls

38 lines (27 loc) · 776 Bytes

node-param-default-wrong-for-simplify

default for a Simplify node parameter must be true.

📋 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: "Simplify",
	name: "simple",
	type: "boolean",
	default: false,
};

✅ Example of correct code:

const test = {
	displayName: "Simplify",
	name: "simpl",
	type: "boolean",
	default: true,
};

Links