Function: diff()
function diff(
detectors,
ctx,
today?
): Promise<DiffResult>;
Defined in: diff.ts:54
Reconcile detector matches against config + state.
- enabled: the detector's short name is present in config.lint.
- deferred: state has a deferral whose branch matches AND date hasn't expired.
- needsPrompt: detector matches files, is not enabled, and not currently deferred.
Parameters
| Parameter | Type |
|---|---|
detectors |
Detector[] |
ctx |
DetectorContext |
today |
string |
Returns
Promise<DiffResult>