Fix usage of policheck exclusions

This commit is contained in:
James Parsons 2023-12-07 11:18:14 -08:00
Родитель 598c9989c2
Коммит 8854e60534
15 изменённых файлов: 14 добавлений и 14 удалений

Просмотреть файл

@ -13,7 +13,7 @@ stages:
tsaConfigFile: '$(System.DefaultWorkingDirectory)\.config\tsaoptions-v2.json'
policheckLocScanEnabled: true
policheckExclusionFilesFolder: '$(System.DefaultWorkingDirectory)\.config\policheck'
policheckSrcScanFolder: '$(System.DefaultWorkingDirectory)\Xamarin.PropertyEditing\Properties'
policheckSrcScanFolder: '$(System.DefaultWorkingDirectory)'
policheckChsScanFolder: '$(System.DefaultWorkingDirectory)\Xamarin.PropertyEditing\Properties'
policheckChtScanFolder: '$(System.DefaultWorkingDirectory)\Xamarin.PropertyEditing\Properties'
policheckCsyScanFolder: '$(System.DefaultWorkingDirectory)\Xamarin.PropertyEditing\Properties'

Просмотреть файл

@ -10,7 +10,7 @@
<!-- <Exclusion Type="FolderPathStart"></Exclusion> -->
<!-- Each of these file types will be completely skipped for the entire scan -->
<!-- <Exclusion Type="FileType"></Exclusion> -->
<Exclusion Type="FileType">.CS</Exclusion>
<!-- The specified file names will be skipped during the scan regardless which folder they are in -->
<Exclusion Type="FileName">RESOURCES.CS.RESX|RESOURCES.DE.RESX|RESOURCES.ES.RESX|RESOURCES.FR.RESX|RESOURCES.IT.RESX|RESOURCES.JA.RESX|RESOURCES.KO.RESX|RESOURCES.PL.RESX|RESOURCES.PT-BR.RESX|RESOURCES.RU.RESX|RESOURCES.TR.RESX|RESOURCES.RESX|RESOURCES.ZH-HANT.RESX</Exclusion>

Просмотреть файл

@ -10,7 +10,7 @@
<!-- <Exclusion Type="FolderPathStart"></Exclusion> -->
<!-- Each of these file types will be completely skipped for the entire scan -->
<!-- <Exclusion Type="FileType"></Exclusion> -->
<Exclusion Type="FileType">.CS</Exclusion>
<!-- The specified file names will be skipped during the scan regardless which folder they are in -->
<Exclusion Type="FileName">RESOURCES.CS.RESX|RESOURCES.DE.RESX|RESOURCES.ES.RESX|RESOURCES.FR.RESX|RESOURCES.IT.RESX|RESOURCES.JA.RESX|RESOURCES.KO.RESX|RESOURCES.PL.RESX|RESOURCES.PT-BR.RESX|RESOURCES.RU.RESX|RESOURCES.TR.RESX|RESOURCES.ZH-HANS.RESX|RESOURCES.RESX</Exclusion>

Просмотреть файл

@ -10,7 +10,7 @@
<!-- <Exclusion Type="FolderPathStart"></Exclusion> -->
<!-- Each of these file types will be completely skipped for the entire scan -->
<!-- <Exclusion Type="FileType"></Exclusion> -->
<Exclusion Type="FileType">.CS</Exclusion>
<!-- The specified file names will be skipped during the scan regardless which folder they are in -->
<Exclusion Type="FileName">RESOURCES.RESX|RESOURCES.DE.RESX|RESOURCES.ES.RESX|RESOURCES.FR.RESX|RESOURCES.IT.RESX|RESOURCES.JA.RESX|RESOURCES.KO.RESX|RESOURCES.PL.RESX|RESOURCES.PT-BR.RESX|RESOURCES.RU.RESX|RESOURCES.TR.RESX|RESOURCES.ZH-HANS.RESX|RESOURCES.ZH-HANT.RESX</Exclusion>

Просмотреть файл

@ -10,7 +10,7 @@
<!-- <Exclusion Type="FolderPathStart"></Exclusion> -->
<!-- Each of these file types will be completely skipped for the entire scan -->
<!-- <Exclusion Type="FileType"></Exclusion> -->
<Exclusion Type="FileType">.CS</Exclusion>
<!-- The specified file names will be skipped during the scan regardless which folder they are in -->
<Exclusion Type="FileName">RESOURCES.CS.RESX|RESOURCES.RESX|RESOURCES.ES.RESX|RESOURCES.FR.RESX|RESOURCES.IT.RESX|RESOURCES.JA.RESX|RESOURCES.KO.RESX|RESOURCES.PL.RESX|RESOURCES.PT-BR.RESX|RESOURCES.RU.RESX|RESOURCES.TR.RESX|RESOURCES.ZH-HANS.RESX|RESOURCES.ZH-HANT.RESX</Exclusion>

Просмотреть файл

@ -10,7 +10,7 @@
<!-- <Exclusion Type="FolderPathStart"></Exclusion> -->
<!-- Each of these file types will be completely skipped for the entire scan -->
<!-- <Exclusion Type="FileType"></Exclusion> -->
<Exclusion Type="FileType">.CS</Exclusion>
<!-- The specified file names will be skipped during the scan regardless which folder they are in -->
<Exclusion Type="FileName">RESOURCES.CS.RESX|RESOURCES.DE.RESX|RESOURCES.RESX|RESOURCES.FR.RESX|RESOURCES.IT.RESX|RESOURCES.JA.RESX|RESOURCES.KO.RESX|RESOURCES.PL.RESX|RESOURCES.PT-BR.RESX|RESOURCES.RU.RESX|RESOURCES.TR.RESX|RESOURCES.ZH-HANS.RESX|RESOURCES.ZH-HANT.RESX</Exclusion>

Просмотреть файл

@ -10,7 +10,7 @@
<!-- <Exclusion Type="FolderPathStart"></Exclusion> -->
<!-- Each of these file types will be completely skipped for the entire scan -->
<!-- <Exclusion Type="FileType"></Exclusion> -->
<Exclusion Type="FileType">.CS</Exclusion>
<!-- The specified file names will be skipped during the scan regardless which folder they are in -->
<Exclusion Type="FileName">RESOURCES.CS.RESX|RESOURCES.DE.RESX|RESOURCES.ES.RESX|RESOURCES.FR.RESX|RESOURCES.IT.RESX|RESOURCES.JA.RESX|RESOURCES.KO.RESX|RESOURCES.PL.RESX|RESOURCES.PT-BR.RESX|RESOURCES.RU.RESX|RESOURCES.TR.RESX|RESOURCES.ZH-HANS.RESX|RESOURCES.ZH-HANT.RESX</Exclusion>

Просмотреть файл

@ -10,7 +10,7 @@
<!-- <Exclusion Type="FolderPathStart"></Exclusion> -->
<!-- Each of these file types will be completely skipped for the entire scan -->
<!-- <Exclusion Type="FileType"></Exclusion> -->
<Exclusion Type="FileType">.CS</Exclusion>
<!-- The specified file names will be skipped during the scan regardless which folder they are in -->
<Exclusion Type="FileName">RESOURCES.CS.RESX|RESOURCES.DE.RESX|RESOURCES.ES.RESX|RESOURCES.FR.RESX|RESOURCES.RESX|RESOURCES.JA.RESX|RESOURCES.KO.RESX|RESOURCES.PL.RESX|RESOURCES.PT-BR.RESX|RESOURCES.RU.RESX|RESOURCES.TR.RESX|RESOURCES.ZH-HANS.RESX|RESOURCES.ZH-HANT.RESX</Exclusion>

Просмотреть файл

@ -10,7 +10,7 @@
<!-- <Exclusion Type="FolderPathStart"></Exclusion> -->
<!-- Each of these file types will be completely skipped for the entire scan -->
<!-- <Exclusion Type="FileType"></Exclusion> -->
<Exclusion Type="FileType">.CS</Exclusion>
<!-- The specified file names will be skipped during the scan regardless which folder they are in -->
<Exclusion Type="FileName">RESOURCES.CS.RESX|RESOURCES.DE.RESX|RESOURCES.ES.RESX|RESOURCES.FR.RESX|RESOURCES.IT.RESX|RESOURCES.RESX|RESOURCES.KO.RESX|RESOURCES.PL.RESX|RESOURCES.PT-BR.RESX|RESOURCES.RU.RESX|RESOURCES.TR.RESX|RESOURCES.ZH-HANS.RESX|RESOURCES.ZH-HANT.RESX</Exclusion>

Просмотреть файл

@ -10,7 +10,7 @@
<!-- <Exclusion Type="FolderPathStart"></Exclusion> -->
<!-- Each of these file types will be completely skipped for the entire scan -->
<!-- <Exclusion Type="FileType"></Exclusion> -->
<Exclusion Type="FileType">.CS</Exclusion>
<!-- The specified file names will be skipped during the scan regardless which folder they are in -->
<Exclusion Type="FileName">RESOURCES.CS.RESX|RESOURCES.DE.RESX|RESOURCES.ES.RESX|RESOURCES.FR.RESX|RESOURCES.IT.RESX|RESOURCES.JA.RESX|RESOURCES.RESX|RESOURCES.PL.RESX|RESOURCES.PT-BR.RESX|RESOURCES.RU.RESX|RESOURCES.TR.RESX|RESOURCES.ZH-HANS.RESX|RESOURCES.ZH-HANT.RESX</Exclusion>

Просмотреть файл

@ -10,7 +10,7 @@
<!-- <Exclusion Type="FolderPathStart"></Exclusion> -->
<!-- Each of these file types will be completely skipped for the entire scan -->
<!-- <Exclusion Type="FileType"></Exclusion> -->
<Exclusion Type="FileType">.CS</Exclusion>
<!-- The specified file names will be skipped during the scan regardless which folder they are in -->
<Exclusion Type="FileName">RESOURCES.CS.RESX|RESOURCES.DE.RESX|RESOURCES.ES.RESX|RESOURCES.FR.RESX|RESOURCES.IT.RESX|RESOURCES.JA.RESX|RESOURCES.KO.RESX|RESOURCES.RESX|RESOURCES.PT-BR.RESX|RESOURCES.RU.RESX|RESOURCES.TR.RESX|RESOURCES.ZH-HANS.RESX|RESOURCES.ZH-HANT.RESX</Exclusion>

Просмотреть файл

@ -10,7 +10,7 @@
<!-- <Exclusion Type="FolderPathStart"></Exclusion> -->
<!-- Each of these file types will be completely skipped for the entire scan -->
<!-- <Exclusion Type="FileType"></Exclusion> -->
<Exclusion Type="FileType">.CS</Exclusion>
<!-- The specified file names will be skipped during the scan regardless which folder they are in -->
<Exclusion Type="FileName">RESOURCES.CS.RESX|RESOURCES.DE.RESX|RESOURCES.ES.RESX|RESOURCES.FR.RESX|RESOURCES.IT.RESX|RESOURCES.JA.RESX|RESOURCES.KO.RESX|RESOURCES.PL.RESX|RESOURCES.RESX|RESOURCES.RU.RESX|RESOURCES.TR.RESX|RESOURCES.ZH-HANS.RESX|RESOURCES.ZH-HANT.RESX</Exclusion>

Просмотреть файл

@ -10,7 +10,7 @@
<!-- <Exclusion Type="FolderPathStart"></Exclusion> -->
<!-- Each of these file types will be completely skipped for the entire scan -->
<!-- <Exclusion Type="FileType"></Exclusion> -->
<Exclusion Type="FileType">.CS</Exclusion>
<!-- The specified file names will be skipped during the scan regardless which folder they are in -->
<Exclusion Type="FileName">RESOURCES.CS.RESX|RESOURCES.DE.RESX|RESOURCES.ES.RESX|RESOURCES.FR.RESX|RESOURCES.IT.RESX|RESOURCES.JA.RESX|RESOURCES.KO.RESX|RESOURCES.PL.RESX|RESOURCES.PT-BR.RESX|RESOURCES.RESX|RESOURCES.TR.RESX|RESOURCES.ZH-HANS.RESX|RESOURCES.ZH-HANT.RESX</Exclusion>

Просмотреть файл

@ -10,7 +10,7 @@
<!-- <Exclusion Type="FolderPathStart"></Exclusion> -->
<!-- Each of these file types will be completely skipped for the entire scan -->
<!-- <Exclusion Type="FileType"></Exclusion> -->
<Exclusion Type="FileType">.CS</Exclusion>
<!-- The specified file names will be skipped during the scan regardless which folder they are in -->
<Exclusion Type="FileName">RESOURCES.CS.RESX|RESOURCES.DE.RESX|RESOURCES.ES.RESX|RESOURCES.FR.RESX|RESOURCES.IT.RESX|RESOURCES.JA.RESX|RESOURCES.KO.RESX|RESOURCES.PL.RESX|RESOURCES.PT-BR.RESX|RESOURCES.RU.RESX|RESOURCES.RESX|RESOURCES.ZH-HANS.RESX|RESOURCES.ZH-HANT.RESX</Exclusion>