---
title: "unnecessary-format"
description: "Avoid formatting calls without directives."
image: "https://strider.gempir.com/og.png"
---

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

# unnecessary-format

<!-- Code generated by docs/scripts/generate-check-docs.go; DO NOT EDIT. -->

**Default severity:** `note`

Avoid formatting calls without directives.

## Bad

```go
fmt.Sprintf("static message")
```

## Good

```go
fmt.Sprint(value)
```

Source: https://strider.gempir.com/lints/unnecessary-format/index.mdx
