Skip to content

Commit 3388a68

Browse files
committed
Add cspell checking
1 parent e34d0d9 commit 3388a68

File tree

4 files changed

+30
-9
lines changed

4 files changed

+30
-9
lines changed

.cspell.yaml

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
version: "0.2"
2-
ignorePaths: [
3-
"go.mod",
4-
"go.sum",
5-
".trunk/**"
6-
]
2+
ignorePaths:
3+
- go.mod
4+
- go.sum,
5+
- .trunk/**
76
dictionaryDefinitions: []
87
dictionaries: []
98
words: []
@@ -15,4 +14,18 @@ ignoreWords:
1514
- unconvert
1615
- golangci
1716
- karancode
17+
- justfile
18+
- gomod
19+
- errcheck
20+
- gosimple
21+
- govet
22+
- ineffassign
23+
- staticcheck
24+
- gofumpt
25+
- aaronjheng
26+
- dotenv
27+
- compinit
28+
- tablewriter
29+
- mapstructure
30+
- adrg
1831
import: []

.trunk/configs/cspell.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
version: "0.2"
2+
# Suggestions can sometimes take longer on CI machines,
3+
# leading to inconsistent results.
4+
suggestionsTimeout: 5000 # ms

.trunk/trunk.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ lint:
2222
- osv-scanner
2323
- prettier
2424
enabled:
25+
- cspell@8.17.1
2526
- actionlint@1.7.4
2627
- git-diff-check
2728
- gofmt@1.20.4

contrib/config.example.yaml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,17 @@ default_cluster: dev
22

33
clusters:
44
dev:
5-
brokers: [127.0.0.1:9092]
5+
brokers:
6+
- 127.0.0.1:9092
67
test:
78
brokers:
8-
[139.196.173.42:9093, 106.14.32.143:9093, 139.196.175.165:9093]
9+
- 139.196.173.42:9093
10+
- 106.14.32.143:9093
11+
- 139.196.175.165:9093
912
tls:
1013
insecure: true
1114
cafile: /home/aaron/workspace/tools/kafka-test.cert
1215
sasl:
1316
mechanism: PLAIN
14-
username: 7mz26s0du00c
15-
password: 2JtyjwWOb2Gnhdin
17+
username: xyz
18+
password: xyz

0 commit comments

Comments
 (0)