We love your input! We want to make contributing to clashofclans.js as easy and transparent as possible.
- Fork the repository
- Clone your fork:
git clone https://github.com/your-username/clashofclans.js.git
- Create your feature branch:
git checkout -b feature/my-feature
- Make your changes
- Test your changes:
npm test
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin feature/my-feature
- Submit a pull request
- Update the README.md with details of changes to the interface, if applicable
- Update the documentation if you're adding or changing functionality
- Ensure the test suite passes
- Make sure your code follows the existing code style
- Include adequate tests
- Install dependencies:
npm install
- Run tests:
npm test
- Run linting:
npm run lint
- Follow the existing code style
- Use 4 spaces for indentation
- Use semicolons
- Write clear commit messages
By contributing, you agree that your contributions will be licensed under the project's LICENSE file.