Configuration
The configuration file for the CLI can be placed in the following locations:
An
omlet
property in thepackage.json
file.An
.omletrc
file in JSON or YAML format in the root directory of your repositoryAn
.omletrc.json
,.omletrc.yaml
,.omletrc.yml
, or.omletrc.js
file in the root directory of your repository
Alternatively, you can also specify a custom configuration file name and location using the --config
option in the CLI command:
Properties
The configuration file can include the following properties:
include
, ignore
, and tsconfigPath
properties can be set using either command-line arguments or the configuration file. If a property is provided as a command-line argument, the corresponding value in the configuration file will be ignored. A default value will be used if a property is not set via the configuration file or command-line argument.
Last updated