Skip to content

Support for function "wrappers" #410

Open
@chrischu

Description

@chrischu

It would be cool if PSScriptAnalyzer had a way to support different "function keywords". For example when using PSake to create build files the build tasks are captured in a special kind of function like this:

Task Compile -Depends Clean {
   "Compile"
 }

The problem lies in the fact that the Compile "Task"/function is not checked by PSScriptAnalyzer. Maybe a possible solution would be to offer users a way to register other "function keywords" (like "Task" in the example).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions