Configuration > General

Configuration is set by JSON. JSONC is supported in either .jsonc or .json files.

See the Root Configuration and Workspace Configuration for more information on the different types of configuration.

Precedence (Resolution Order)

Configuration locations

Configuration is read from the following locations, in order of precedence:

  1. bw.<config name>.jsonc
  2. bw.<config name>.json
  3. package.json["<key>"]

The first configuration location found will be used.

Value Resolution

Values related to configuration are resolved in the following order of precedence:

  1. An explicit CLI or API argument/option passed to a method/function/command
  2. A value provided in a configuration file
  3. A value provided via an environment variable, if applicable
  4. The generic default value, if applicable