Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/laurentdardenne/optimizationrules

This module contains script analyzer rules to search statements can be improved.
https://github.com/laurentdardenne/optimizationrules

powershell powershell-module psscriptanalyzer rule ruleset

Last synced: about 1 month ago
JSON representation

This module contains script analyzer rules to search statements can be improved.

Awesome Lists containing this project

README

        

[![Build status](https://ci.appveyor.com/api/projects/status/xiu5372vdbhwomko?svg=true)](https://ci.appveyor.com/project/LaurentDardenne/optimizationrules)

PSScriptAnalyzer rules suggesting optimizations for loop statements 'For'.

**Documentation**

[Optimization rules](https://github.com/LaurentDardenne/OptimizationRules/tree/master/RuleDocumentation)

**PowerShell 5 Installation, (development version)**

From PowerShell run:
```Powershell
$PSGalleryPublishUri = 'https://www.myget.org/F/ottomatt/api/v2/package'
$PSGallerySourceUri = 'https://www.myget.org/F/ottomatt/api/v2'

Register-PSRepository -Name OttoMatt -SourceLocation $PSGallerySourceUri -PublishLocation $PSGalleryPublishUri #-InstallationPolicy Trusted

Install-Module OptimizationRules -Repository OttoMatt -Verbose -Force
```