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: 3 months 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
```