ID
in displayName
in node parameter must be fully uppercased. Applicable by extension to name
in options-type or multi-options-type node parameter.
📋 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.
❌ Example of incorrect code:
const test = {
displayName: "User Id",
name: "userId",
type: "string",
default: "",
};
const test = {
displayName: "User Ids",
name: "userId",
type: "string",
default: "",
};
const test = {
displayName: "User id",
name: "userId",
type: "string",
default: "",
};
const test = {
name: "User id",
value: "userId",
};
✅ Example of correct code:
const test = {
displayName: "User ID",
name: "userId",
type: "string",
default: "",
};
const test = {
name: "User ID",
value: "userId",
};
const test = {
name: "={{$responseItem.id}}",
value: "={{$responseItem.id}}",
};
const test = {
name: "User Identifier",
value: "userId",
};