Skip to content

Added an about help topic file and fixed a typo in rule description #275

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jul 15, 2015

Conversation

rkeithhill
Copy link
Contributor

The typo was in the PSAvoidUsing WmiCmdlet rule description. Sorry if this isn't targeting the correct branch. I'm a long time TFS user but a Git noob.

@msftclas
Copy link

Hi @rkeithhill, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes. I promise there's no faxing. https://cla.microsoft.com.

TTYL, MSBOT;

@msftclas
Copy link

@rkeithhill, Thanks for signing the contribution license agreement so quickly! Actual humans will now validate the agreement and then evaluate the PR.

Thanks, MSBOT;

passing the rule and eliminating a "potential" issue with changing script
and possibly introducing a new problem. In the end, for existing scripts,
it is usually best to have evaluated the rule violations that you deem the
most valuable to address.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can add a paragraph about "Suppression" functionalities here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, I did cover rule suppression a bit in lines 67 thru 86 but it is probably worth at least adding a mention to that section here. Or we can re-iterate that information as well. I'm open. :-) Did you want me to do that? I'm also fine if you want to edit/change anything in this help topic.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be great if you can just add a line or two here to re-iterate :-) Thanks!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done. See the commit 8c244ce

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After looking at the comments on @splatteredbits PR and the sample that is referenced. I wonder if rule suppression should have its own help topic about_PSScriptAnalyzer_RuleSuppression.help.txt? One that can show the code samples at https://github.com/PowerShell/PSScriptAnalyzer/blob/master/Tests/Engine/RuleSuppression.ps1 Thoughts?

@raghushantha
Copy link
Member

@rkeithhill . Thank you for working on this.

@yutingc. Thanks for reviewing the changes.

Changes look good. We can merge the PR.

@raghushantha
Copy link
Member

We have another PR for rule suppression documentation.
https://github.com/PowerShell/PSScriptAnalyzer/pull/274/files

We should consider merging these into about_ help topic

@yutingc
Copy link
Contributor

yutingc commented Jul 15, 2015

Yeah looks good to me. We can merge the rule suppression into this later when it is done.

raghushantha added a commit that referenced this pull request Jul 15, 2015
Added an about help topic file and fixed a typo in rule description
@raghushantha raghushantha merged commit a98d768 into PowerShell:development Jul 15, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants