Ensure naming consistency across all contexts where an identifier appears - configuration files, code enums, documentation, and user interfaces. Names should be semantically clear and distinguish between related but different entities.
Ensure naming consistency across all contexts where an identifier appears - configuration files, code enums, documentation, and user interfaces. Names should be semantically clear and distinguish between related but different entities.
When the same concept appears in multiple places, use identical naming:
Prefer simple, unambiguous names that avoid unnecessary complexity:
// Good: Consistent across config and code
"selectedAuthType": "oauth" // matches AuthType.OAUTH in code
// Bad: Inconsistent naming
"selectedAuthType": "oauth-personal" // while code uses AuthType.LOGIN_WITH_GOOGLE
For related but distinct entities, use clear semantic distinctions:
When naming conflicts arise, implement graceful resolution strategies that preserve the original simple names for the most common cases while providing clear alternatives for conflicts.
Enter the URL of a public GitHub repository