---
title: "lint/style/require-todo-reference"
pagination: false
---

{/* Generated by scripts/gen-rule-docs.py. Edit mapping.toml, not this file. */}

<RuleId id="lint/style/require-todo-reference" />

Not in any set. Report only.

## What it does

Require TODO and FIXME comments to reference a user or issue.

## Configuration

```toml title="pun.toml"
[lint.rules]
"style/require-todo-reference" = "error"
```

To skip it in some files or lines, add an [override](/docs/configuration/pun-toml#lint) or an [ignore comment](/docs/configuration/ignore-comments).

## Replaces

- [`tagged-fixme`](https://mago.carthage.software/1.61.0/en/tools/linter/rules/#tagged-fixme) (mago-linter)
- [`tagged-todo`](https://mago.carthage.software/1.61.0/en/tools/linter/rules/#tagged-todo) (mago-linter)

[More lint/style rules](/docs/rules/lint/style) · [Edit this page](https://github.com/shipfastlabs/pun/edit/main/crates/pun-config/rules/mapping.toml)
