TSYS-Merchant / posh-svn

A PowerShell environment for Subversion
http://psget.net/directory/posh-svn/
12 stars 7 forks source link

Code style #12

Closed lafrenierejm closed 7 years ago

lafrenierejm commented 8 years ago

Is there a canonical style guideline for this repo? I have not had luck in discovering what it may just by looking at the files themselves.

ghost commented 8 years ago

Definitely not. This was built some time ago and hasn't changed a lot for a number of years; we picked it up to get some mandatory changes in place. We are open to any sort of standardization.

lafrenierejm commented 8 years ago

Sounds good. I'll search around for any standards or at least examples and post what I find.

lafrenierejm commented 8 years ago

Microsoft has a canonical list of cmdlet development guidelines; I suggest that we strive to follow all of them.

PoshCode's PowerShellPracticeAndStyle is a compilation of best practices as arrived at by the community. It appears to be quite thorough, and adherence to it would certainly help in providing well-document consistency.

Microsoft's open source PSScriptAnalyzer may also be a valuable resource.