LaurentDardenne / OptimizationRules

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build status

PSScriptAnalyzer rules suggesting optimizations for loop statements 'For'.

Documentation

Optimization rules

PowerShell 5 Installation, (development version)

From PowerShell run:

$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

About

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


Languages

Language:PowerShell 100.0%