Configuration
Log Level
Taplo uses the Rust tracing library for configurable logging features and respects the RUST_LOG environment variable. All logs regardless of log level are printed to the standard error output.
In most cases you might wish to disable logging below a certain log level. As an example if you wish to only see error messages, you can do the following:
sh
RUST_LOG=error taplo lint foo.tomlThe available log levels:
tracedebuginfowarnerror
Configuration File
Taplo CLI, by default, searches the current working directory for a Taplo configuration file. This behaviour can be disabled by either supplying --no-auto-config or --config <path> flags. The TAPLO_CONFIG environmental variable can also be used to set the configuration, but the --config flag will take precedence.