Rule: pipe-naming
Enforce consistent case and prefix for pipes.
Rationale
Consistent conventions make it easy to quickly identify and reference assets of different types.
Notes:
TS Only
Config
- The first item in the array is
camelCaseorkebab-case, which allows you to pick a case. - The rest of the arguments are supported prefixes (given as strings). They are optional.
Examples
"pipe-naming": [true, "camelCase", "myPrefix"]
"pipe-naming": [true, "camelCase", "myPrefix", "myOtherPrefix"]
"pipe-naming": [true, "kebab-case", "my-prefix"]
Schema
{
"items": [
{
"enum": [
"kebab-case",
"attribute"
]
},
{
"type": "string"
}
],
"minLength": 1,
"type": "array"
}