Identifier

An identifier literal always starts with a character from a-z and is followed one or more characters from a-z and 0-9. It’s also possible to use _ within the identifier - but only a single consecutive _ is allowed.

You will encounter such identifier when defining targets, environments or extensions.

There are some syntax extensions for specific usages:

Examples

✅ Valid identifiers

  • config
  • project42
  • this_is_a_var

❌ Invalid identifiers

  • Config: Uppercase letters are not allowed
  • project__42: 2 consecutive underscores is not vald
  • this_is_a_var_: underscore must be followed by a character
  • var%: invalid character %
Last updated on