DscResource.AnalyzerRules

0.2.0-preview0004

PS Script Analyzer Custom Rules for the DSC Community standards

Minimum PowerShell version

5.1

This is a prerelease version of DscResource.AnalyzerRules.

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name DscResource.AnalyzerRules -RequiredVersion 0.2.0-preview0004 -AllowPrerelease

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name DscResource.AnalyzerRules -Version 0.2.0-preview0004 -Prerelease

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

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-ParameterBlockMandatoryNamedArgument Measure-ParameterBlockParameterAttribute Measure-SwitchStatement Measure-TryStatement Measure-TypeDefinition Measure-WhileStatement

PSEditions

Desktop Core

Dependencies

Release Notes

# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

- Fix issue with DSC composite resources.
- Fix issues with LF by hashtable check.

### Added

- Create new module out of the nested one from DscResource.tests
- Used the DSC custom rules from this built module to apply to its own source

### Changed

- Performance improvement on QA tests
- Excluded Help Quality for now

FileList

Version History

Version Downloads Last updated
0.2.0 206,692 11/21/2019
0.2.0-previe... (current version) 35 11/21/2019
0.2.0-previe... 33 11/13/2019
0.2.0-previe... 34 11/8/2019
0.2.0-previe... 41 11/7/2019