Closed Lazys closed 2 years ago
We're using Azure Dev Ops and Pull Requests. Do you have any idea how could we add your linter to the Pull Request as the "gate" or sth like this?
In another words - how can we check on the Pull Request if there are no warnings in the code that someone wants to merge to the main branch?
I'm looking for sth similar as SonarQube - https://www.sonarqube.org/microsoft-azure-devops-integration/
I am not using azure devops, but I know that the Run-ALPipeline command has a parameter -failOnWarning.
https://www.powershellgallery.com/packages/BcContainerHelper/3.0.0/Content/AppHandling%5CRun-AlPipeline.ps1
You can also pass in custom cops like this linter:
Thanks for the idea.
We're using Azure Dev Ops and Pull Requests. Do you have any idea how could we add your linter to the Pull Request as the "gate" or sth like this?
In another words - how can we check on the Pull Request if there are no warnings in the code that someone wants to merge to the main branch?
I'm looking for sth similar as SonarQube - https://www.sonarqube.org/microsoft-azure-devops-integration/