You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- New [rule](RuleDocumentation/UseCompatibleCmdlets.md) to check cmdlet compatibility between different PowerShell flavors
4
4
- New [rule](RuleDocumentation/UseLiteralInitializerForHashtable.md) to warn when using Hashtable constructor
5
5
- Feature to [pass parameters to rules from settings file](RuleDocumentation/AvoidAlias.md)
6
-
- Feature to [discover settings file](README.md#settings-support-in-scriptanalyzer)
6
+
- Feature to [discover settings file](README.md#settings-support-in-scriptanalyzer)
7
7
- Enhancement to [PSShouldProcess](RuleDocumentation/UseShouldProcessCorrectly.md) rule to check for ShouldProcess implementation in downstream functions
8
8
- A helper [module](Utils/RuleMaker.psm1) to create `C#` based builtin rules
- SaveDscDependency switch is not functional for PowerShell on Linux
92
-
* Added support for external AST based rule suppression.
93
-
* Fixed `SaveDscDependency` switch implementation, which use fail if more than one parameter is given to `Import-DSCResource` dynamic keyword.
94
-
* Fixed rule suppression caused by inavlid offsets.
95
-
* Fixed false positives caused by PSD1 files which are not module manifests. This affects `PSUseToExportFieldsInManifest`, `PSMissingModuleManifestField` and `PSAvoidUsingDeprecatedManifestFields` rules
96
-
* Created a whitelist for `PSUseSingularNoun` rule to ignore `Data` noun.
90
+
### Added
91
+
- New rule to check cmdlet compatibility between different PowerShell flavors
92
+
- New rule to warn when using Hashtable constructor
93
+
- Feature to pass parameters to rules from settings file
94
+
- Feature to discover settings file
95
+
- Enhancement to PSShouldProcess rule to check for ShouldProcess implementation in downstream functions
96
+
- A helper module to create `C#` based builtin rules
97
+
98
+
### Fixed
99
+
- False negatives for identically named variables
100
+
- Passing `*Ast` arguments to external rules
101
+
102
+
### Changed
103
+
- PSShouldProcess rule to not check for presence of `ShouldContinue` when `SupportsShouldProcess` is declared
0 commit comments