---
title: "var-naming"
description: "Enforce idiomatic identifier naming."
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.

# var-naming

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

**Default severity:** `warning`

Enforce idiomatic identifier naming. Default: common initialisms.

## Bad

```go
var userId string
```

## Good

```go
var userID string
```

Source: https://strider.gempir.com/lints/var-naming/index.mdx
