-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_typos.toml
More file actions
113 lines (99 loc) · 1.83 KB
/
_typos.toml
File metadata and controls
113 lines (99 loc) · 1.83 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
# Configuration for typos spell checker
# See https://github.com/crate-ci/typos for configuration options
[default]
# Check these file types for typos
extend-glob = ["*.{rs,toml,md,txt,yml,yaml}"]
# Files to ignore
extend-exclude = ["target/", "Cargo.lock", ".git/", "*.min.js", "node_modules/"]
[default.extend-words]
# Project name
bole = "bole"
# Package managers - JavaScript
npm = "npm"
pnpm = "pnpm"
yarn = "yarn"
bun = "bun"
deno = "deno"
# Package managers - Python
pip = "pip"
conda = "conda"
poetry = "poetry"
pdm = "pdm"
uv = "uv"
# Package managers - System
homebrew = "homebrew"
macports = "macports"
nix = "nix"
# Package managers - Haskell
cabal = "cabal"
stack = "stack"
# Package managers - Rust
cargo = "cargo"
rustup = "rustup"
# Programming languages
gleam = "gleam"
julia = "julia"
scala = "scala"
ocaml = "ocaml"
elixir = "elixir"
nim = "nim"
zig = "zig"
elm = "elm"
php = "php"
haskell = "haskell"
python = "python"
javascript = "javascript"
typescript = "typescript"
golang = "golang"
# Nix ecosystem
nixpkgs = "nixpkgs"
flake = "flake"
buildRustPackage = "buildRustPackage"
mkShell = "mkShell"
shellHook = "shellHook"
buildInputs = "buildInputs"
nativeBuildInputs = "nativeBuildInputs"
overlays = "overlays"
# Technical terms
toolchain = "toolchain"
codebase = "codebase"
config = "config"
toml = "toml"
yaml = "yaml"
workflows = "workflows"
# Me
lemorage = "lemorage"
[type.rust]
# Rust-specific settings
extend-glob = ["*.rs"]
# Allow Rust-specific terms
extend-words = [
"struct",
"impl",
"enum",
"fn",
"mut",
"pub",
"const",
"async",
"await",
"rustc",
"rustfmt",
"clippy",
"toolchain",
"stdlib",
"std",
"serde",
"tokio",
"clap",
"tabled",
]
[files]
# Be more lenient with certain files
extend-exclude = [
# Third-party code
"vendor/",
"third_party/",
# Generated files
"*.generated.*",
]