This document outlines the coding conventions to be followed when contributing to Tutorial.
- Write clear and readable code. Use meaningful variable and function names.
- Follow the language-specific best practices and idioms.
- Use consistent indentation (e.g., 2 or 4 spaces).
- Prefer double quotes for attribute values in HTML.
- Use meaningful class and ID names.
- Follow the JavaScript Standard Style for code formatting.
- Use
const
andlet
appropriately for variable declarations. - Avoid global variables when possible.
- Use hyphens to separate words in branch names.
- Create branches that are specific and indicative of the changes being made.
- Write clear and concise commit messages.
- Follow the conventional commit format: [GIT_CONVENTIONS.md]
- Provide a descriptive title and summary for your pull request.
- Reference any related issues in the pull request description.
These conventions are in place to maintain consistency and readability across the Tutorial codebase. Please adhere to these guidelines when contributing.
Thank you for your cooperation!
Happy coding!