Skip to content

Latest commit

 

History

History
36 lines (25 loc) · 923 Bytes

cred-class-field-documentation-url-miscased.md

File metadata and controls

36 lines (25 loc) · 923 Bytes

cred-class-field-documentation-url-miscased

documentationUrl field in credential class must be camel cased. Only applicable to nodes in the main repository.

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

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

Examples

❌ Example of incorrect code:

class TestApi implements ICredentialType {
	name = "myTestApi";
	displayName = "My Test API";
	documentationUrl = "MyTest";
}

✅ Example of correct code:

class MyTestApi implements ICredentialType {
	name = "myTestApi";
	displayName = "My Test API";
	documentationUrl = "myTest";
}

Links