Skip to content

Commit d6e5f07

Browse files
TravisEz13adityapatwardhan
authored andcommitted
Add .stylecop to filetypexml and format it (PowerShell#16025)
1 parent cdd87cd commit d6e5f07

File tree

9 files changed

+23
-387
lines changed

9 files changed

+23
-387
lines changed

CHANGELOG/6.0.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@
104104
work is required for Microsoft to continue to sign and release packages from the project as official Microsoft packages.
105105

106106
- Remove `PerformWSManPluginReportCompletion`, which was not used, from `pwrshplugin.dll` (#5498) (Thanks @bergmeister!)
107-
- Remove exclusion for hang and add context exception for remaining instances (#5595)
107+
- Remove exclusion for unresponsive condition and add context exception for remaining instances (#5595)
108108
- Replace `strlen` with `strnlen` in native code (#5510)
109109

110110
## [6.0.0-rc] - 2017-11-16

CHANGELOG/6.1.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@
428428
- Fix crash when terminal is reset (#6777)
429429
- Fix a module-loading regression that caused an infinite loop (#6843)
430430
- Further improve `PSMethod` to `Delegate` conversion (#6851)
431-
- Blacklist `System.Windows.Forms` from loading to prevent a crash (#6822)
431+
- Block list `System.Windows.Forms` from loading to prevent a crash (#6822)
432432
- Fix `Format-Table` where rows were being trimmed unnecessarily if there's only one row of headers (#6772)
433433
- Fix `SetDate` function in `libpsl-native` to avoid corrupting memory during `P/Invoke` (#6881)
434434
- Fix tab completions for hash table (#6839) (Thanks @iSazonov!)

CHANGELOG/6.2.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -763,7 +763,7 @@
763763

764764
### Documentation and Help Content
765765

766-
- Replace ambiguous `hang` term (#7902, #7931) (Thanks @iSazonov!)
766+
- Replace ambiguous term (#7902, #7931) (Thanks @iSazonov!)
767767
- Updating incorrect example of `PowerShell.Create()` (#7926) (Thanks @1RedOne!)
768768
- Update `governance.md` (#7927) (Thanks @tommymaynard!)
769769
- Add `cURL` to the Bash users list in `README.md` (#7948) (Thanks @vmsilvamolina!)

CHANGELOG/7.0.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ Move to .NET Core 3.1.202 SDK and update packages.
329329
- Skip null data in output data received handler to fix a `NullReferenceException` (#11448) (Thanks @iSazonov!)
330330
- Add `ssh` parameter sets for the parameter `-JobName` in `Invoke-Command` (#11444)
331331
- Adding `PowerShell Editor Services` and `PSScriptAnalyzer` to tracked modules (#11514)
332-
- Fix key exchange hang with `SecureString` for the `OutOfProc` transports (#11380, #11406)
332+
- Fix condition when key exchange stops responding with `SecureString` for the `OutOfProc` transports (#11380, #11406)
333333
- Add setting to disable the implicit `WinPS` module loading (#11332)
334334

335335
### General Cmdlet Updates and Fixes

src/System.Management.Automation/engine/CommandCompletion/CompletionCompleters.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7112,7 +7112,7 @@ public PropertyNameCompleter()
71127112
/// <summary>
71137113
/// Initializes a new instance of the <see cref="PropertyNameCompleter"/> class.
71147114
/// </summary>
7115-
/// <param name="parameterNameOfInput">The name of the property of the input object for witch to complete with property names.</param>
7115+
/// <param name="parameterNameOfInput">The name of the property of the input object for which to complete with property names.</param>
71167116
public PropertyNameCompleter(string parameterNameOfInput)
71177117
{
71187118
_parameterNameOfInput = parameterNameOfInput;

tools/releaseBuild/azureDevOps/releaseBuild.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ pr:
1010
- master
1111
- release*
1212

13+
parameters:
14+
- name: ForceAzureBlobDelete
15+
displayName: Delete Azure Blob
16+
default: false
17+
1318
resources:
1419
repositories:
1520
- repository: ComplianceRepo

tools/releaseBuild/azureDevOps/templates/compliance.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,12 +85,11 @@ jobs:
8585
inputs:
8686
targetType: F
8787
optionsFC: 0
88-
optionsXS: 0
88+
optionsXS: 1
8989
optionsPE: '1|2|3|4'
9090
optionsHMENABLE: 0
9191
optionsRulesDBPath: '$(Build.SourcesDirectory)\tools\terms\PowerShell-Terms-Rules.mdb'
92-
optionsFTPATH: '$(Build.SourcesDirectory)\tools\terms\FileTypeSet.xml'
93-
toolVersion: 5.8.2.1
92+
optionsUEPath: $(Build.SourcesDirectory)\tools\terms\TermsExclusion.xml
9493
continueOnError: true
9594

9695
# add RoslynAnalyzers

tools/terms/FileTypeSet.xml

Lines changed: 0 additions & 379 deletions
This file was deleted.

tools/terms/TermsExclusion.xml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<PoliCheckExclusions>
2+
<!-- All strings must be UPPER CASE -->
3+
<!--Each of these exclusions is a folder name -if \[name]\exists in the file path, it will be skipped -->
4+
<Exclusion Type="FolderPathFull">.GIT</Exclusion>
5+
<!--Each of these exclusions is a folder name -if any folder or file starts with "\[name]", it will be skipped -->
6+
<!--<Exclusion Type="FolderPathStart">ABC|XYZ</Exclusion>-->
7+
<!--Each of these file types will be completely skipped for the entire scan -->
8+
<!--<Exclusion Type="FileType">.ABC|.XYZ</Exclusion>-->
9+
<!--The specified file names will be skipped during the scan regardless which folder they are in -->
10+
<!--<Exclusion Type="FileName">ABC.TXT|XYZ.CS</Exclusion>-->
11+
</PoliCheckExclusions>

0 commit comments

Comments
 (0)