JSON Format
-
(string) A regex specifying the pattern of the name. The name will be considered valid if any part of it matches the regex, so use
^
and$
if you want the full name to be tested.
Example 1. Snake case
Config
{
"lint": {
"nameOfTeam": "^[a-z]+(_[a-z]+)*$"
}
}
👍 Good
team add foo
team add foo_bar
👎 Bad
team add FooBar