> ## Documentation Index
> Fetch the complete documentation index at: https://botmesh.afaya.com.co/llms.txt
> Use this file to discover all available pages before exploring further.

# LintDiagnostic

> Interface exported by @botmesh/core.

Defined in: [flows/lint.ts:74](https://github.com/andresayac/botmesh/blob/main/packages/core/src/flows/lint.ts#L74)

One finding. Plain data — safe to `JSON.stringify`, log or send to a dashboard.

## Properties

### code

```ts theme={null}
code: LintCode;
```

Defined in: [flows/lint.ts:75](https://github.com/andresayac/botmesh/blob/main/packages/core/src/flows/lint.ts#L75)

***

### severity

```ts theme={null}
severity: LintSeverity;
```

Defined in: [flows/lint.ts:76](https://github.com/andresayac/botmesh/blob/main/packages/core/src/flows/lint.ts#L76)

***

### message

```ts theme={null}
message: string;
```

Defined in: [flows/lint.ts:78](https://github.com/andresayac/botmesh/blob/main/packages/core/src/flows/lint.ts#L78)

Self-contained, human-readable explanation (names the flow and step).

***

### flow?

```ts theme={null}
flow?: string;
```

Defined in: [flows/lint.ts:80](https://github.com/andresayac/botmesh/blob/main/packages/core/src/flows/lint.ts#L80)

Conversation the finding belongs to; absent for a plain `bot.when()` handler route.

***

### nodeId?

```ts theme={null}
nodeId?: string;
```

Defined in: [flows/lint.ts:82](https://github.com/andresayac/botmesh/blob/main/packages/core/src/flows/lint.ts#L82)

Node id in `describeFlows()` output (Mermaid and JSON).

***

### path?

```ts theme={null}
path?: string;
```

Defined in: [flows/lint.ts:84](https://github.com/andresayac/botmesh/blob/main/packages/core/src/flows/lint.ts#L84)

Step path inside the flow, e.g. `steps[2]` or `steps[0].options["x"].then.steps[1]`.

***

### trigger?

```ts theme={null}
trigger?: string;
```

Defined in: [flows/lint.ts:86](https://github.com/andresayac/botmesh/blob/main/packages/core/src/flows/lint.ts#L86)

Label of the offending trigger (trigger diagnostics).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.