(configPath?: string)
| 317 | } |
| 318 | |
| 319 | export function loadRcFileConfig(configPath?: string): Partial<IRcFileConfig> { |
| 320 | const rcPath = findRcFile(configPath); |
| 321 | if (!rcPath) return {}; |
| 322 | return loadRcFile(rcPath); |
| 323 | } |
| 324 | |
| 325 | function validateSizeOption(configObject: Record<string, unknown>, key: string): void { |
| 326 | const value = configObject[key]; |
no test coverage detected