Module config

Module config 

Source
Expand description

Configuration management for fprettier.

This module provides the Config struct which controls all formatting behavior. Configuration can be loaded from:

  • TOML files (fprettier.toml)
  • CLI arguments (which override file settings)
  • In-file directives (! fprettier: --indent 4)

Config files are auto-discovered by searching parent directories from the file being formatted up to the filesystem root, plus the user’s home directory.

Structs§

Config
Main configuration struct for fprettier