Skip to main content

Function: isRuntimeCleanupConfigReference()

function isRuntimeCleanupConfigReference(value: string): value is
| "runtime-cleanup.configs.all"
| "runtime-cleanup.configs.experimental"
| "runtime-cleanup.configs.minimal"
| "runtime-cleanup.configs.recommended"
| "runtime-cleanup.configs.recommended-type-checked"
| "runtime-cleanup.configs.strict"
| 'runtime-cleanup.configs["recommended-type-checked"]';

Defined in: _internal/runtime-cleanup-config-references.ts:116

Check whether a string is a supported rule docs preset reference.

Parametersโ€‹

valueโ€‹

string

Returnsโ€‹

value is "runtime-cleanup.configs.all" | "runtime-cleanup.configs.experimental" | "runtime-cleanup.configs.minimal" | "runtime-cleanup.configs.recommended" | "runtime-cleanup.configs.recommended-type-checked" | "runtime-cleanup.configs.strict" | "runtime-cleanup.configs["recommended-type-checked"]"