Expand description
Format hints configuration for command-to-format detection.
Supports multiple configuration styles:
[format-hints]
# Simple form - default priority (500)
"*lint*" = "eslint"
"cargo*" = "cargo"
# Structured form - explicit priority inline
"*pytest*" = { format = "pytest", priority = 100 }
# Priority sections - all entries inherit the section's priority
[format-hints.1000]
"mycompany-*" = "gcc"
[format-hints.100]
"legacy-*" = "text"Structs§
- Format
Hint - A single format hint rule.
- Format
Hints - Format hints configuration.
Constants§
- DEFAULT_
PRIORITY - Default priority for simple pattern = “format” entries.
Functions§
- glob_
to_ like - Convert a glob pattern to SQL LIKE pattern.
- pattern_
matches - Simple glob pattern matching.
*matches any characters (including none).