---
jsApi: true
title: "[F] defineLinter"

---
```ts
defineLinter(def): LinterDefinition
```

## Parameters

| Parameter | Type |
| :------ | :------ |
| `def` | [`LinterDefinition`](../interfaces/LinterDefinition.md) |

## Returns

[`LinterDefinition`](../interfaces/LinterDefinition.md)
