Skip to content

banned-characters

Default severity: error

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

var user_id string // when underscore is configured as banned
var userID string

Set characters to the Unicode characters that identifiers must not contain. Each entry must contain exactly one character. The configured list replaces the defaults.

[checks.rules.banned-characters]
characters = ["", "", "_"]

By default, Strider bans (U+1438 CANADIAN SYLLABICS PA) and (U+1433 CANADIAN SYLLABICS PO). Set characters = [] to allow every character.