describeFailureToLint
Says which of the four failures to lint happened, and quotes back what ESLint said about it.
Import:
import { describeFailureToLint } from '@mnaoumov/typescript-dev-toolkit/linters/eslint';Signature:
function describeFailureToLint(result: ExecResult): stringParameters:
| Parameter | Type | Description |
|---|---|---|
result |
ExecResult | What the ESLint child did. |
Returns: string — The message to throw, which says outright that it is not a finding about the source.
Links to this page: