bitbucket - Can I pre-check bit-bucket pull-requests for code style? -


lately i've been getting number of pull requests projects don't meet code style guidelines (bad formatting, missing documentation, etc).

is there way in bitbucket enforce new pull-request must pass validation script or code-style enforcer or that?

i not find related in atlassian docs.

you trigger build on pull request (which done automatically when pull request raised). build configured checks referred to. if there wrong code under pull request, build fails!

you configure bitbucket pull requests 'merge-able' when build succeeds.


Comments

Popular posts from this blog

javascript - Chart.js (Radar Chart) different scaleLineColor for each scaleLine -

apache - Error with PHP mail(): Multiple or malformed newlines found in additional_header -

java - Android – MapFragment overlay button shadow, just like MyLocation button -