Description
This rule enforces a consistent naming convention for tags managed by the `/tag` command.
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": {
"nameOfTag": "^[a-z]+(_[a-z]+)*$"
}
}
👍 Good
tag add foo
tag add foo_bar
👎 Bad
tag add FooBar