In current implementation, parsing errors in a given script are treated as non-terminating PowerShell ErrorRecords.
Proposal is to convert these to diagnostic records and create a new rule for parsing issues.
Helps to solve following:
- In a service model, all results will be in the form of diagnostic records. Single stream for user to go over the results.
- For users refactoring their code from v2/v3 to higher versions, they can use the parsing rule to validate the changes.
Let us know if the community has any opinions about this proposal
Thanks.
Raghu
In current implementation, parsing errors in a given script are treated as non-terminating PowerShell ErrorRecords.
Proposal is to convert these to diagnostic records and create a new rule for parsing issues.
Helps to solve following:
Let us know if the community has any opinions about this proposal
Thanks.
Raghu