Skip to content

Commit 5be1bc8

Browse files
committed
MINOR: move allowed words from config to dictionaries
Migrate the hardcoded list of allowed words from the .aspell.yml configuration file to their respective categorized dictionary files (computing, devops, linux, and programming). This change reduces the size of the main config file and improves the maintainability and organization of the project's spell-checking dictionaries.
1 parent 0cab112 commit 5be1bc8

File tree

5 files changed

+36
-63
lines changed

5 files changed

+36
-63
lines changed

.aspell.yml

Lines changed: 1 addition & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -3,67 +3,5 @@ min_length: 3
33
ignore_files:
44
- '*test.go'
55
allowed:
6-
- aspell
7-
- repo
8-
- failsafe
9-
- golang
10-
- mkdir
11-
- apk
12-
- ubuntu
13-
- golangci
14-
- splitted
156
- mri
16-
- IID
17-
- repo
18-
- OPTIM
19-
- Submatch
20-
- Lshortfile
21-
- MAXSUBJECTLEN
22-
- MAXSUBJECTPARTS
23-
- MINSUBJECTLEN
24-
- MINSUBJECTPARTS
25-
- malformatted
26-
- cmdline
27-
- sed
28-
- runnumber
29-
- LLC
30-
- devel
31-
- ioutil
32-
- defaultconf
33-
- json
34-
- req
35-
- nallowed
36-
- url
37-
- english
38-
- lang
39-
- junit
40-
- deps
41-
- alternative
42-
- awk
43-
- betteralign
44-
- cmd
45-
- cmds
46-
- cyclomatic
47-
- desc
48-
- dotenv
49-
- eval
50-
- fmt
51-
- formatter
52-
- gobin
53-
- gofumpt
54-
- gotestsum
55-
- govulncheck
56-
- hivis
57-
- linters
58-
- Printf
59-
- Println
60-
- staticcheck
61-
- struct
62-
- structs
63-
- taskfile
64-
- testdox
65-
- tmp
66-
- toml
67-
- unexported
68-
- unhandled
69-
- yml
7+
- iid

aspell/dictionaries/computing.txt

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ addon
77
addons
88
algo
99
alloc
10+
aspell
1011
async
1112
autoconf
1213
automake
@@ -36,6 +37,9 @@ charsets
3637
checksum
3738
checksums
3839
cli
40+
cmd
41+
cmdline
42+
cmds
3943
codebase
4044
codec
4145
codecs
@@ -57,6 +61,9 @@ datastore
5761
datastores
5862
deadlock
5963
deadlocks
64+
deps
65+
desc
66+
devel
6067
dealloc
6168
deallocate
6269
dedup
@@ -84,8 +91,11 @@ eval
8491
exec
8592
exfiltration
8693
exitcode
94+
failsafe
8795
falsy
8896
fifo
97+
fmt
98+
fprintf
8999
filepath
90100
filesystem
91101
filesystems
@@ -141,6 +151,7 @@ iterables
141151
jit
142152
keepalive
143153
keepalives
154+
lang
144155
kernal
145156
keyspace
146157
keystore
@@ -175,6 +186,7 @@ minify
175186
mmap
176187
mmapped
177188
monotonic
189+
msg
178190
msgpack
179191
multicast
180192
multicore
@@ -206,6 +218,7 @@ preload
206218
preloaded
207219
prepend
208220
preprocessor
221+
println
209222
printf
210223
proc
211224
profiler
@@ -218,12 +231,14 @@ qword
218231
racecondition
219232
readonly
220233
realloc
234+
req
221235
refactor
222236
refactored
223237
refactoring
224238
refcount
225239
regex
226240
regexes
241+
repo
227242
regexp
228243
regexps
229244
reindex
@@ -289,6 +304,7 @@ threadpool
289304
threadpools
290305
timestamp
291306
timestamps
307+
tmp
292308
tmpdir
293309
tmpfs
294310
toolchain

aspell/dictionaries/devops.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ ansible
33
argocd
44
artifactory
55
bazel
6+
betteralign
67
buildkit
78
canary
89
changelog
@@ -34,6 +35,7 @@ grafana
3435
greenfield
3536
grype
3637
hadolint
38+
hivis
3739
hashicorp
3840
hotfix
3941
hotfixes
@@ -88,6 +90,8 @@ scriptable
8890
semgrep
8991
semver
9092
shellcheck
93+
taskfile
94+
testdox
9195
shipit
9296
sla
9397
sonarqube

aspell/dictionaries/linux.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
# Operating systems and Linux terms
22
alpine
3+
apk
34
apparmor
45
apt
6+
awk
57
archlinux
68
aufs
79
bash
@@ -63,6 +65,7 @@ lspci
6365
lvm
6466
makedev
6567
mdadm
68+
mkdir
6669
meminfo
6770
mkfs
6871
mknod

aspell/dictionaries/programming.txt

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,10 @@ deserialized
4040
destructor
4141
destructors
4242
django
43+
cyclomatic
4344
docstring
4445
docstrings
46+
dotenv
4547
dotnet
4648
dunder
4749
elasticsearch
@@ -56,9 +58,14 @@ gdb
5658
getter
5759
getters
5860
golang
61+
gobin
62+
gofumpt
63+
golangci
5964
gomod
6065
gopath
6166
goroot
67+
gotestsum
68+
govulncheck
6269
govet
6370
graphql
6471
grpc
@@ -67,11 +74,13 @@ idiomatic
6774
incref
6875
instantiate
6976
instantiated
77+
ioutil
7078
interop
7179
iterable
7280
itertools
7381
jinja
7482
jni
83+
junit
7584
jquery
7685
json
7786
jsonl
@@ -158,6 +167,7 @@ sprintf
158167
sqlalchemy
159168
sqlite
160169
stackframe
170+
submatch
161171
stringified
162172
stringify
163173
subprocess
@@ -184,6 +194,8 @@ typedefs
184194
typename
185195
typescript
186196
unary
197+
unexported
198+
unhandled
187199
uncomment
188200
uncommitted
189201
undeclared

0 commit comments

Comments
 (0)