Expand description
Configuration: CLI, .flynt.toml, and manifest discovery.
Precedence, highest first:
- command line arguments
.flynt.tomlat the root- discovery from
Cargo.tomland the filesystem - built-in defaults
Modules§
- manifest
- Discovery from
Cargo.tomland the filesystem.
Structs§
- Config
- A fully resolved configuration. Every path is absolute.
- Discovered
- Manifest and filesystem inspection.
- Partial
Config - A partially specified configuration.
Enums§
- Color
Choice - When to emit ANSI color.
- Output
Format - Rendered report.
- Severity
- How a check reports its findings.
Constants§
- CONFIG_
FILE - Default name of the configuration file.
- DEFAULT_
EXCLUDE - Built-in default for
Config::exclude. - DEFAULT_
FILTERS - Built-in default for
Config::filters. - DEFAULT_
FUNCTIONS - Built-in default for
Config::functions. - DEFAULT_
LOCALES_ DIR - Built-in default for
Config::locales_dir. - DEFAULT_
TEMPLATE_ EXT - Built-in default for
Config::template_ext. - PREFERRED_
REFERENCE_ LOCALE - Locale preferred as the reference when it exists.