DscResource.AnalyzerRules
0.3.0-preview0003
PS Script Analyzer Custom Rules for the DSC Community standards
Minimum PowerShell version
5.1
Installation Options
Owners
Copyright
(c) 2019 dsccommunity.org. All rights reserved.
Package Details
Author(s)
- DSC Community
Tags
PSScriptAnalyzer PSSA Analyzer AnalyzerRules DesiredStateConfiguration DSC DSCResourceKit DSCResource Windows MacOS Linux
Functions
Measure-CatchClause Measure-DoUntilStatement Measure-DoWhileStatement Measure-ForEachStatement Measure-ForStatement Measure-FunctionBlockBrace Measure-Hashtable Measure-IfStatement Measure-Keyword Measure-ParamBlock Measure-ParameterBlockMandatoryNamedArgument Measure-ParameterBlockParameterAttribute Measure-SwitchStatement Measure-TryStatement Measure-TypeDefinition Measure-WhileStatement
PSEditions
Dependencies
-
- PSScriptAnalyzer (>= 1.23.0)
Release Notes
## [0.3.0-preview0003] - 2024-10-10
### Added
- Repository Files
- Add Issue Template.
- Add PR Template.
- Add LICENSE.md.
- Add SECURITY.md
- Add codecov config.
- `Measure-ParamBlock` fixes [#13](https://github.com/dsccommunity/DscResource.AnalyzerRules/issues/13).
- New localization strings.
- `Test-StatementEmptyParenthesesHasWhitespace` helper method.
- `Test-StatementOpeningParenthsesOnSameLine` helper method.
- Fixed type on `Test-StatementOpeningBrace*`.
- `Measure-ParameterBlock*` format test data.
- Enable generated docs with `DscResource.DocGenerator`
- Add HQRM checks
- Add wiki documentation for usage
- Rename file so dashes are replaced by spaces in Wiki.
### Fixed
- Update build files to allow everything to work
- Update build files to include tasks for deploy
- Update pipeline to use the correct default branch
- Repository Files
- Update README including badges.
- Update references to dsccommunity fixes [#12](https://github.com/dsccommunity/DscResource.AnalyzerRules/issues/12)
and [#9](https://github.com/dsccommunity/DscResource.AnalyzerRules/issues/9).
- `DscResource.AnalyzerRules.psd1`
- `CONTRIBUTING.md`
- `Get-LocalizedData.Tests.ps1`
- `Measure-Keyword.ps1`
- Update regex in to match word boundaries. Fixes [#11](https://github.com/dsccommunity/DscResource.AnalyzerRules/issues/11).
- Fix formatting.
- Localization Strings
- Correct url for OneSpaceBetweenKeywordAndParenthesis.
- `Get-TokensFromDefinition.ps1`
- Remove unused variable.
- Renamed 'source' folder to all lower-case characters.
- Update module manifest to use required module PSScriptAnalyzer v1.23
### Changed
- Renamed default branch to `main`. Fixes [#12](https://github.com/dsccommunity/DscResource.AnalyzerRules/issues/22).
- Migrate to Pester 5
FileList
- DscResource.AnalyzerRules.nuspec
- en-US\DscResource.AnalyzerRules-help.xml
- DscResource.AnalyzerRules.psm1
- en-US\DscResource.AnalyzerRules.strings.psd1
- DscResource.AnalyzerRules.psd1
- en-US\about_DscResource.AnalyzerRules.help.txt
Version History
Version | Downloads | Last updated |
---|---|---|
0.3.0-previe... (current version) | 3,956 | 10/10/2024 |
0.3.0-previe... | 4 | 10/9/2024 |
0.3.0-previe... | 106 | 10/8/2024 |
0.2.1-previe... | 2 | 10/7/2024 |
0.2.1-previe... | 203 | 10/6/2024 |
0.2.1-previe... | 2 | 10/6/2024 |
0.2.1-previe... | 2 | 10/6/2024 |
0.2.1-previe... | 2 | 10/6/2024 |
0.2.1-previe... | 2 | 10/5/2024 |
0.2.1-previe... | 156 | 9/30/2024 |
0.2.0 | 236,316 | 11/21/2019 |
0.2.0-previe... | 38 | 11/21/2019 |
0.2.0-previe... | 36 | 11/13/2019 |
0.2.0-previe... | 37 | 11/8/2019 |
0.2.0-previe... | 44 | 11/7/2019 |