(node: { kind: string; language?: string })
| 62 | * needs it can read the file directly. (#383) |
| 63 | */ |
| 64 | export function isConfigLeafNode(node: { kind: string; language?: string }): boolean { |
| 65 | return node.kind === 'constant' && !!node.language && CONFIG_LEAF_LANGUAGES.has(node.language); |
| 66 | } |
| 67 | |
| 68 | /** |
| 69 | * Whether `child` is `parent` itself or sits underneath it. Case-insensitive on |
no test coverage detected