The lstn
CLI looks for a configuration file .lstn.yaml
in your $HOME
or into the current working directory from which lstn
is getting called.
When invoking lstn in <dir>
it also looks for .lstn.yaml
into <dir>
.
In this file you can set the values for the global lstn
configurations.
Anyways, notice that environment variables, and flags (if any) override the values in your configuration file.
Here's an example of a configuration file (with the default values):
endpoint:
npm: "https://npm.listen.dev"
pypi: "https://pypi.listen.dev"
filtering:
expression: "..."
ignore:
deptypes:
- "..."
- "..."
packages:
- "..."
- "..."
lockfiles:
- "..."
- "..."
loglevel: "info"
registry:
npm: "https://registry.npmjs.org"
reporting:
github:
owner: "..."
pull:
id: 0
repo: "..."
types:
- "..."
- "..."
timeout: 60
token:
github: "..."
jwt: "..."