Thank you for considering contributing to Smelly Test! Your contributions make this project better for everyone. This guide will help you set up the project and contribute effectively.
Ensure you have the following installed:
- Node.js (version 18 or higher)
-
Fork the Repository
Click the "Fork" button at the top-right of the repository page to create a copy in your GitHub account. -
Clone Your Forked Repository
git clone https://github.com/your-username/smelly-test.git cd smelly-test
-
Install Dependencies
Use npm to install the project dependencies:npm install
-
Run the Build
Compile the project to ensure everything works as expected:npm run build
-
Run the Tests
Verify the functionality by running the tests:npm test
-
Create a New Branch
Use a descriptive name for your branch:git checkout -b feature/your-feature-name
-
Make Your Changes
Implement your feature or fix the bug. -
Run Tests and Linting
Before committing, ensure all tests pass and the code adheres to the style guide:npm test npm run lint
-
Commit Your Changes
Write clear and concise commit messages:git commit -m "feat: add [description of feature or fix]"
-
Push Your Branch
Push your branch to your forked repository:git push origin feature/your-feature-name
-
Open a Pull Request
Submit a pull request to the main repository:- Title: Provide a concise summary of your changes.
- Description: Include a detailed explanation of what your pull request does and why it’s needed.
Smelly Test uses a consistent coding style enforced by ESLint. Ensure your changes adhere to the defined rules.
To check for code style issues, run:
npm run lint
If you encounter any issues or have questions about the project, feel free to:
- Open an issue in the repository.