---
title: "banned-characters"
description: "Reject configured characters in identifiers."
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.

# banned-characters

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

**Default severity:** `error`

Reject configured characters in identifiers. Default: ᐸ and ᐳ.

## Bad

```go
var user_id string // when underscore is configured as banned
```

## Good

```go
var userID string
```

## Configuration

| Option | Type | Default | Description |
| --- | --- | --- | --- |
| `characters` | `strings` | `["ᐸ","ᐳ"]` | Unicode characters forbidden in identifiers. |

```toml
[checks.banned-characters]
characters = ["ᐸ","ᐳ"]
```

Source: https://strider.gempir.com/lints/banned-characters/index.mdx
