Always adhere to the established formatting and syntax conventions of each programming language while maintaining consistency across related language configurations. This includes:
Always adhere to the established formatting and syntax conventions of each programming language while maintaining consistency across related language configurations. This includes:
Example:
# For Go
tab_size = 4
hard_tabs = true
# For JavaScript and related languages
line_comments = ["// "]
block_comment = ["/*", "*/"]
Following language-specific conventions improves code readability, leverages standard tooling, and helps maintain consistency across the codebase, especially when working with multiple languages in the same project.
Enter the URL of a public GitHub repository