(options: RghOptions, id: string)
| 15 | }, Object.fromEntries(importedFeatures.map(id => [`feature:${id}`, id !== 'extensible-nav']))); |
| 16 | |
| 17 | export function isFeatureDisabled(options: RghOptions, id: string): boolean { |
| 18 | // Must check if it's specifically `false`: It could be undefined if not yet in the readme or if misread from the entry point #6606 |
| 19 | // eslint-disable-next-line @typescript-eslint/no-unnecessary-boolean-literal-compare, unicorn/no-unnecessary-boolean-comparison |
| 20 | return options[`feature:${id}`] === false; |
| 21 | } |
| 22 | |
| 23 | const migrations = [ |
| 24 | (options: RghOptions): void => { |
no outgoing calls
no test coverage detected