Thank you for your interest in contributing!
When reporting bugs, please include:
- cssgen version (
cssgen -versionor commit hash) - Go version (
go version) - Operating system
- Minimal reproduction case
- Expected vs actual behavior
-
Clone the repository:
git clone https://github.com/yacobolo/cssgen.git cd cssgen -
Install dependencies:
go mod download
-
Run tests:
task test # or go test ./...
-
Run linter:
task lint # or golangci-lint run
- Fork the repository
- Create a feature branch (
git checkout -b feature/my-feature) - Make your changes
- Add tests for new functionality
- Ensure tests pass (
task check) - Commit with clear messages
- Push to your fork
- Open a Pull Request
- Follow standard Go formatting (
go fmt) - Add comments for exported functions/types
- Keep functions focused and testable
- Use table-driven tests where appropriate
Open an issue for discussion before starting major work.