Loads compensation rates from config file or defaults.
Attempts to load configuration from .caloohpay.json in the following locations:
process.cwd())If no config file is found or parsing fails, returns default rates.
Validated compensation rates configuration
Loads and validates CalOohPay configuration from file system.
This module handles loading the optional
.caloohpay.jsonconfiguration file from the project root. If no config file exists, it gracefully falls back to default rates, ensuring the application works out-of-the-box.Remarks
Configuration loading follows this priority:
.caloohpay.jsonin current working directory.caloohpay.jsonin user's home directoryExample