docs: clarify pipe naming (#31806)

PR Close #31806
This commit is contained in:
Judy Bogart
2019-07-23 11:27:56 -07:00
committed by Kara Erickson
parent f90c7a9df0
commit 695f322dc1
2 changed files with 8 additions and 1 deletions

View File

@ -1080,6 +1080,10 @@ For example, the prefix `toh` represents **T**our **o**f **H**eroes and the pref
**Do** use consistent names for all pipes, named after their feature.
The pipe class name should use [UpperCamelCase](guide/glossary#case-types)
(the general convention for class names),
and the corresponding `name` string should use *lowerCamelCase*.
The `name` string cannot use hyphens ("dash-case" or "kebab-case").
</div>