| No @code blockChecks all .razor files in a given folder for the presents of the @codeblock. If the@codeblock is found in any file then this task will fail. - task: NoAtCodeBlock@0
  displayName: Blazor Quality Checks
  inputs:
    blazorprojectpath: "$(System.DefaultWorkingDirectory)/MyBlazorProject"
 Enabling Custom Pull Request Statuses
Enable continueOnErroras part of the build step.Run the pipeline once as part of a PR for the status to be posted to Azure DevOps.Navigate to Status Checks for your repository.Click + and add the bqc/no-code-block-policy.Save the changes. 
 |  |