Debian Codegraph @

.typos.toml

raw symbols SCIP
1 # Copyright 2025 The go-yaml Project Contributors
2 # SPDX-License-Identifier: Apache-2.0
3
4 # This is the configuration file of typos (spell checker)
5 # https://github.com/crate-ci/typos
6
7 [files]
8 # excluded file
9 extend-exclude = [
10 "yts/testdata", # third-party test data
11 ]
12
13 # setting for Go files configuration
14 [type.go]
15 extend-ignore-re = [
16 'ba-dum-tss\W+', # this one can be found in test files
17 '"yYnNtTfFoO', # this one can be found in test files
18 'ba\?r', # this one can be found in test files
19 ]
20
21 [type.go.extend-words]
22 # Here is a list of words we want to ignore in Go files
23 typ = "typ" # commonly used abbreviation for "type" in Go as "type" is a reserved identifier
24
25 # setting for YAML files configuration
26 [type.yaml]
27 extend-ignore-re = [
28 'ba\?r', # this one can be found in test files
29 ]
30
31 [default.extend-words]
32 caf = "caf" # part of "café" shown as "caf\u00e9" in Unicode escape examples
33 deprecat = "deprecat" # Used as part of a command in a docs/ file
34 Desolver = "Desolver" # Type name: inverse of Resolver (removes tags)
35 Desolve = "Desolve" # Function name: inverse of Resolve
36 desolve = "desolve" # Function name variants