Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/LaurentDardenne/OptimizationRules
- Owner: LaurentDardenne
- Created: 2017-05-08T14:15:21.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-01-12T15:11:55.000Z (almost 6 years ago)
- Last Synced: 2024-05-18T06:34:48.280Z (6 months ago)
- Topics: powershell, powershell-module, psscriptanalyzer, rule, ruleset
- Language: PowerShell
- Size: 36.1 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
- jimsghstars - LaurentDardenne/OptimizationRules - This module contains script analyzer rules to search statements can be improved. (PowerShell)
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
```