Skip to content
This repository was archived by the owner on Feb 24, 2021. It is now read-only.
This repository was archived by the owner on Feb 24, 2021. It is now read-only.

Add PSSA test for camelCase/PascalCase for variables and parameters #303

@fredleejr

Description

@fredleejr

Details of the problem, bug, or enhancement

Many projects follow camelCase and PascalCase style guidelines and are often missed when reviewing. A custom rule for this would be very helpful. I understand a perfect solution would not be possible, but something to catch the obvious.

Verbose logs showing the problem (if applicable)

Suggested solution to the issue

I am currently working on 2 custom rules for this for our project. It is continuing what was started here:

https://github.com/MathieuBuisson/PowerShell-DevOps/tree/master/CustomPSScriptAnalyzerRules

These would be useful as "opt-in" rules that are potentially not enabled by default.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementThe issue is an enhancement request.help wantedThe issue is up for grabs for anyone in the community.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions