Skip to content

Ensure avoiding anti-patterns, duplicates, and code smells while enjoying trunk-based development.

License

Notifications You must be signed in to change notification settings

Th3Un1q3/trunk-monkey

Repository files navigation

trunk-monkey 🐒

Trunk full of junk?

This AI sniffs out code smells, anti-patterns, and duplicates in your main branch, keeping your trunk clean and your commits confident. No more merge mayhem, just smooth sailing to faster deploys. ⛵

Development

# Build the image with CLI
docker buildx bake

# Attach project you want to analyze as subject and initialize the project
docker run -v $(pwd):/subject trunk-monkey:beta init

# Synchronize the source code
docker run -v $(pwd):/subject trunk-monkey:beta sync

# Run the checks
docker run -v $(pwd):/subject trunk-monkey:beta check-all

# Run individual checks
docker run -v $(pwd):/subject trunk-monkey:beta check struggle

# When you changing the source code, you can sync the source code again
docker run -v $(pwd)/src:/app -v $(pwd):/subject trunk-monkey:beta check-all

About

Ensure avoiding anti-patterns, duplicates, and code smells while enjoying trunk-based development.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published