Skip to content

False positive on PSUseSingularNoun noun for "Data"? #479

@KirkMunro

Description

@KirkMunro

I have a few functions that end with "Data", such as Add-ScriptMethodData, Add-AliasPropertyData, and Add-ScriptPropertyData. These three commands trip the PSUseSingularNoun warning. Technically Data is plural and Datum is singular, however in practice I doubt hardly anyone would ever use, or look for, Datum. PowerShell ships with Update-FormatData and Update-TypeData. With this in mind, can "Data" be added as an automatic exception to this rule so that commands ending with Data don't trigger it?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions