Maintain consistent naming patterns across similar functionality while ensuring names accurately describe their current purpose and scope. When multiple options exist for the same feature, standardize on one clear option to avoid confusion in documentation and usage. Update variable names when their type or purpose changes, and use descriptive names that clearly indicate scope and function.
Examples:
--component
instead of supporting both --component
and --ct
flagswritten
to writtenChunkCount
when changing from boolean to counter/__cypress/bundled
to match existing conventionsdebugVerbose
even when no non-verbose version existsThis prevents inconsistent documentation, reduces cognitive load for developers, and ensures the codebase remains predictable and maintainable.
Enter the URL of a public GitHub repository