ottomatt - OptimizationRules 0.3.0
This module contains script analyzer rules to search statements can be improved.
PM> Install-Package OptimizationRules -Version 0.3.0 -Source https://www.myget.org/F/ottomatt/api/v3/index.json
> nuget.exe install OptimizationRules -Version 0.3.0 -Source https://www.myget.org/F/ottomatt/api/v3/index.json
> dotnet add package OptimizationRules --version 0.3.0 --source https://www.myget.org/F/ottomatt/api/v3/index.json
source https://www.myget.org/F/ottomatt/api/v3/index.json
nuget OptimizationRules ~> 0.3.0
Copy to clipboard
> choco install OptimizationRules --version 0.3.0 --source https://www.myget.org/F/ottomatt/api/v2
Import-Module PowerShellGet
Register-PSRepository -Name "ottomatt" -SourceLocation "https://www.myget.org/F/ottomatt/api/v2"
Install-Module -Name "OptimizationRules" -RequiredVersion "0.3.0" -Repository "ottomatt"
Copy to clipboard
PSScriptAnalyzer rules suggesting optimizations for loop statements 'For'.
Documentation
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
2016-10-11 Version 0.3.0 Original version
OwnersLaurent Dardenne |
AuthorsLaurent Dardenne |
Project URLhttps://github.com/LaurentDardenne/OptimizationRules |
LicenseUnknown |
TagsPSScriptAnalyzer Rule Optimization For Loop PSModule PSIncludes_Function PSFunction_Measure-OptimizeForStatement PSCommand_Measure-OptimizeForStatement |
Info244 total downloads |
| 120 downloads for version 0.3.0 |
| Download (5.29 KB) |
| Found on the current feed only |
Package history
| Version | Size | Last updated | Downloads | Mirrored? | |||
|---|---|---|---|---|---|---|---|
|
|
0.4.0 | 5.73 KB | Sat, 12 Jan 2019 15:37:33 GMT | 124 |
|
||
|
|
0.3.0 | 5.29 KB | Sat, 13 May 2017 10:07:36 GMT | 120 |
|