- Use British English in your code, comments, and documentation.
- Use 2 spaces for indentation.
- Ensure consistent indentation style across the project.
- Use LF (Line Feed) line endings.
- Remove trailing whitespace from your code files.
- Exception: In Markdown files, you can leave trailing whitespace for better control of line breaks.
- The following Visual Studio Code extensions are recommended for this project:
- Prettier: For code formatting.
- ESLint: For code linting and static analysis.
- EditorConfig: To maintain consistent coding style across different editors.
- Clone the project repository from GitHub.
- Install Node.js and npm if not already installed.
- Install Visual Studio Code if not already installed.
- Install the recommended extensions:
- Prettier
- ESLint
- EditorConfig
- Open the project folder in Visual Studio Code.
- Ensure that the
.editorconfig
file and workspace-specific settings in.vscode/settings.json
are being respected by your editor.
- Use Git for version control.
- Follow Git best practices, including meaningful commit messages and branching strategies.
- Keep the
.editorconfig
,.vscode/settings.json
, and other configuration files under version control to maintain consistency across the team.
- Keep project documentation up to date in the
docs/
directory. - Use Markdown for documentation.
- Document code changes, project structure, and usage instructions for developers and users.
- Before merging code, ensure it adheres to the coding conventions and passes linting and formatting checks.
- Conduct code reviews to maintain code quality and consistency.
- Write unit tests and integration tests for your code.
- Ensure that tests are passing before merging code changes.
- Follow security best practices to protect the project and its users.
- Check the project's licensing terms and ensure compliance with open-source licenses.
- For questions or assistance, contact [Your Contact Person].
- This guide is for illustrative purposes and should be customized to match the specific requirements of your organization or project.