Skip to content

Commit

Permalink
Get more linter clean (dotnet#379)
Browse files Browse the repository at this point in the history
  • Loading branch information
danmoseley authored Jul 23, 2024
1 parent 0ad5779 commit 1533460
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .config/PoliCheckExclusions.xml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<PoliCheckExclusions>

<!-- https://eng.ms/docs/experiences-devices/customer-success-engineering/global/language-as-a-service/validationservices/policheck-for-microsoft/policheckclient/features/features#false-positive-management -->
<Exclusion Type="FileName">angular.min.js</Exclusion>
</PoliCheckExclusions>
6 changes: 6 additions & 0 deletions build/azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@ extends:
policheck:
enabled: true
exclusionsFile: $(Build.SourcesDirectory)\.config\PoliCheckExclusions.xml
eslint:
enabled: true
enableExclusions: true
exclusionPatterns: |
**/jquery*.js
**/angular*.js
sbom:
# opting-out of SBOM generation as we don't produce artifacts
enabled: false
Expand Down

0 comments on commit 1533460

Please sign in to comment.